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_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent 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_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxFileSystem swig_types[77]
287 #define SWIGTYPE_p_wxBitmap swig_types[78]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxToolBar swig_types[83]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows_
305 #define SWIG_name "_windows_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
355 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject
* obj
)
431 if (PyErr_Occurred()) {
440 SWIGSTATICINLINE(bool)
441 SWIG_AsBool(PyObject
*obj
)
443 return PyObject_IsTrue(obj
) ? true : false;
447 SWIGSTATICINLINE(int)
448 SWIG_CheckBool(PyObject
* obj
)
451 if (PyErr_Occurred()) {
460 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
466 } else if (target
== Py_None
) {
470 if (!PyTuple_Check(target
)) {
472 target
= PyTuple_New(1);
473 PyTuple_SetItem(target
, 0, o2
);
476 PyTuple_SetItem(o3
, 0, o
);
479 target
= PySequence_Concat(o2
, o3
);
487 SWIGSTATICINLINE(double)
488 SWIG_AsDouble(PyObject
*obj
)
490 if (PyNumber_Check(obj
))
491 return PyFloat_AsDouble(obj
);
493 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
494 obj
->ob_type
->tp_name
);
495 PyErr_SetObject(PyExc_TypeError
, errmsg
);
502 SWIGSTATICINLINE(int)
503 SWIG_CheckDouble(PyObject
* obj
)
506 if (PyErr_Occurred()) {
514 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
515 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
516 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
517 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
520 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
522 self
->GetFieldRect(i
, r
);
525 static const wxString
wxPySplitterNameStr(wxT("splitter"));
526 static const wxString
wxPySashNameStr(wxT("sashWindow"));
527 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
529 #include <wx/popupwin.h>
532 class wxPopupWindow
: public wxWindow
{
534 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
535 wxPopupWindow() { wxPyRaiseNotImplemented(); }
538 class wxPyPopupTransientWindow
: public wxPopupWindow
541 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
542 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
546 #include <wx/tipwin.h>
548 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
549 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
552 #include <wx/tipwin.h>
555 #include <wx/vscroll.h>
558 class wxPyVScrolledWindow
: public wxVScrolledWindow
560 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
562 wxPyVScrolledWindow() : wxVScrolledWindow() {}
564 wxPyVScrolledWindow(wxWindow
*parent
,
565 wxWindowID id
= wxID_ANY
,
566 const wxPoint
& pos
= wxDefaultPosition
,
567 const wxSize
& size
= wxDefaultSize
,
569 const wxString
& name
= wxPyPanelNameStr
)
570 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
573 // Overridable virtuals
575 // this function must be overridden in the derived class and it should
576 // return the height of the given line in pixels
577 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
580 // this function doesn't have to be overridden but it may be useful to do
581 // it if calculating the lines heights is a relatively expensive operation
582 // as it gives the user code a possibility to calculate several of them at
585 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
586 // shouldn't rely on the latter being called for all lines in the interval
587 // specified here. It is also possible that OnGetLineHeight() will be
588 // called for the lines outside of this interval, so this is really just a
589 // hint, not a promise.
591 // finally note that lineMin is inclusive, while lineMax is exclusive, as
593 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
596 // when the number of lines changes, we try to estimate the total height
597 // of all lines which is a rather expensive operation in terms of lines
598 // access, so if the user code may estimate the average height
599 // better/faster than we do, it should override this function to implement
602 // this function should return the best guess for the total height it may
604 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
607 // Also expose some other interesting protected methods
610 // find the index of the line we need to show at the top of the window such
611 // that the last (fully or partially) visible line is the given one
612 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
613 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
615 // get the total height of the lines between lineMin (inclusive) and
616 // lineMax (exclusive)
617 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
618 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
624 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
626 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
627 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
628 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
631 SWIGSTATICINLINE(unsigned long)
632 SWIG_AsUnsignedLong(PyObject
* obj
)
634 if (PyLong_Check(obj
)) {
635 return PyLong_AsUnsignedLong(obj
);
637 long i
= SWIG_AsLong(obj
);
638 if ( !PyErr_Occurred() && (i
< 0)) {
639 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
646 SWIGSTATICINLINE(int)
647 SWIG_CheckUnsignedLong(PyObject
* obj
)
649 SWIG_AsUnsignedLong(obj
);
650 if (PyErr_Occurred()) {
659 SWIGSTATICINLINE(PyObject
* )
660 SWIG_FromUnsignedLong(unsigned long value
)
662 return (value
> LONG_MAX
) ?
663 PyLong_FromUnsignedLong(value
)
664 : PyInt_FromLong(swig_numeric_cast(long,value
));
668 #include <wx/vlbox.h>
670 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
672 class wxPyVListBox
: public wxVListBox
674 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
676 wxPyVListBox() : wxVListBox() {}
678 wxPyVListBox(wxWindow
*parent
,
679 wxWindowID id
= wxID_ANY
,
680 const wxPoint
& pos
= wxDefaultPosition
,
681 const wxSize
& size
= wxDefaultSize
,
683 const wxString
& name
= wxPyVListBoxNameStr
)
684 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
687 // Overridable virtuals
689 // the derived class must implement this function to actually draw the item
690 // with the given index on the provided DC
691 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
692 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
695 // the derived class must implement this method to return the height of the
697 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
698 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
701 // this method may be used to draw separators between the lines; note that
702 // the rectangle may be modified, typically to deflate it a bit before
703 // passing to OnDrawItem()
705 // the base class version doesn't do anything
706 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
707 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
710 // this method is used to draw the items background and, maybe, a border
713 // the base class version implements a reasonable default behaviour which
714 // consists in drawing the selected item with the standard background
715 // colour and drawing a border around the item if it is either selected or
717 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
718 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
724 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
726 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
727 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
728 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
729 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
733 #include <wx/htmllbox.h>
736 class wxPyHtmlListBox
: public wxHtmlListBox
738 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
740 wxPyHtmlListBox() : wxHtmlListBox() {}
742 wxPyHtmlListBox(wxWindow
*parent
,
743 wxWindowID id
= wxID_ANY
,
744 const wxPoint
& pos
= wxDefaultPosition
,
745 const wxSize
& size
= wxDefaultSize
,
747 const wxString
& name
= wxPyVListBoxNameStr
)
748 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
751 // Overridable virtuals
753 // this method must be implemented in the derived class and should return
754 // the body (i.e. without <html>) of the HTML for the given item
755 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
757 // this function may be overridden to decorate HTML returned by OnGetItem()
758 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
761 // // this method allows to customize the selection appearance: it may be used
762 // // to specify the colour of the text which normally has the given colour
763 // // colFg when it is inside the selection
765 // // by default, the original colour is not used at all and all text has the
766 // // same (default for this system) colour inside selection
767 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
769 // // this is the same as GetSelectedTextColour() but allows to customize the
770 // // background colour -- this is even more rarely used as you can change it
771 // // globally using SetSelectionBackground()
772 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
779 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
781 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
782 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
789 // implement dummy classes and such for wxMac
791 class wxTaskBarIcon
: public wxEvtHandler
794 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
798 class wxTaskBarIconEvent
: public wxEvent
801 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
802 { wxPyRaiseNotImplemented(); }
803 virtual wxEvent
* Clone() const { return NULL
; }
807 wxEVT_TASKBAR_MOVE
= 0,
808 wxEVT_TASKBAR_LEFT_DOWN
= 0,
809 wxEVT_TASKBAR_LEFT_UP
= 0,
810 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
811 wxEVT_TASKBAR_RIGHT_UP
= 0,
812 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
813 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
817 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
822 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
823 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
824 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
825 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
826 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
827 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
828 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
830 self
->GetFilenames(arr
);
831 return wxArrayString2PyList_helper(arr
);
833 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
836 return wxArrayString2PyList_helper(arr
);
838 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
839 return wxArrayInt2PyList_helper(self
->GetSelections());
841 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
842 return new wxSingleChoiceDialog(parent
, message
, caption
,
843 choices
, choices_array
, NULL
, style
, pos
);
848 // C++ version of Python aware wxWindow
849 class wxPyWindow
: public wxWindow
851 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
853 wxPyWindow() : wxWindow() {}
854 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
855 const wxPoint
& pos
= wxDefaultPosition
,
856 const wxSize
& size
= wxDefaultSize
,
858 const wxString
& name
= wxPyPanelNameStr
)
859 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
862 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
863 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
865 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
869 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
871 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
872 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
874 DEC_PYCALLBACK__(InitDialog
);
875 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
876 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
877 DEC_PYCALLBACK_BOOL_(Validate
);
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
880 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
881 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
883 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
884 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
886 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
887 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
892 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
894 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
895 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
896 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
897 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
899 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
900 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
901 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
903 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
904 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
906 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
907 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
908 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
909 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
911 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
912 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
913 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
915 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
916 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
918 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
919 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
922 // C++ version of Python aware wxPanel
923 class wxPyPanel
: public wxPanel
925 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
927 wxPyPanel() : wxPanel() {}
928 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
929 const wxPoint
& pos
= wxDefaultPosition
,
930 const wxSize
& size
= wxDefaultSize
,
932 const wxString
& name
= wxPyPanelNameStr
)
933 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
936 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
937 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
938 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
939 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
941 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
942 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
943 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
945 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
946 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
948 DEC_PYCALLBACK__(InitDialog
);
949 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
950 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
951 DEC_PYCALLBACK_BOOL_(Validate
);
953 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
954 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
955 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
957 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
958 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
960 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
961 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
966 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
968 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
969 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
970 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
971 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
973 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
974 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
975 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
977 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
978 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
980 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
981 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
982 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
983 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
985 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
986 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
987 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
989 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
990 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
992 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
993 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
995 // C++ version of Python aware wxScrolledWindow
996 class wxPyScrolledWindow
: public wxScrolledWindow
998 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1000 wxPyScrolledWindow() : wxScrolledWindow() {}
1001 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1002 const wxPoint
& pos
= wxDefaultPosition
,
1003 const wxSize
& size
= wxDefaultSize
,
1005 const wxString
& name
= wxPyPanelNameStr
)
1006 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1009 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1010 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1011 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1012 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1014 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1015 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1016 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1018 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1019 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1021 DEC_PYCALLBACK__(InitDialog
);
1022 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1023 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1024 DEC_PYCALLBACK_BOOL_(Validate
);
1026 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1027 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1028 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1030 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1031 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1033 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1034 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1039 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1041 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1042 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1043 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1044 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1046 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1047 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1048 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1050 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1051 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1053 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1054 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1055 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1056 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1058 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1059 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1060 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1062 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1063 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1065 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1066 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1069 #include "wx/wxPython/printfw.h"
1072 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1073 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1077 // Since this one would be tough and ugly to do with the Macros...
1078 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1079 bool hadErr
= False
;
1082 bool blocked
= wxPyBeginBlockThreads();
1083 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1084 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1085 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1088 val
= PyTuple_GetItem(result
, 0);
1089 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1092 val
= PyTuple_GetItem(result
, 1);
1093 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1096 val
= PyTuple_GetItem(result
, 2);
1097 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1100 val
= PyTuple_GetItem(result
, 3);
1101 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1108 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1113 wxPyEndBlockThreads(blocked
);
1115 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1118 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1119 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1123 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1124 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1125 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1126 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1127 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1128 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1129 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1135 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1136 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1137 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1140 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1141 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1144 bool blocked = wxPyBeginBlockThreads(); \
1145 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1146 PyObject* win = wxPyMake_wxObject(a); \
1147 PyObject* dc = wxPyMake_wxObject(&b); \
1148 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1152 wxPyEndBlockThreads(blocked); \
1154 rval = PCLASS::CBNAME(a, b); \
1157 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1158 return PCLASS::CBNAME(a, b); \
1164 class wxPyPrintPreview
: public wxPrintPreview
1166 DECLARE_CLASS(wxPyPrintPreview
)
1168 wxPyPrintPreview(wxPyPrintout
* printout
,
1169 wxPyPrintout
* printoutForPrinting
,
1170 wxPrintDialogData
* data
=NULL
)
1171 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1173 wxPyPrintPreview(wxPyPrintout
* printout
,
1174 wxPyPrintout
* printoutForPrinting
,
1175 wxPrintData
* data
=NULL
)
1176 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1179 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1180 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1181 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1182 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1183 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1184 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1185 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1190 // Stupid renamed classes... Fix this in 2.5...
1191 #if defined(__WXMSW__)
1192 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1193 #elif defined(__WXMAC__)
1194 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1196 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1199 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1200 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1201 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1202 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1203 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1204 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1205 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1208 class wxPyPreviewFrame
: public wxPreviewFrame
1210 DECLARE_CLASS(wxPyPreviewFrame
);
1212 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1213 const wxString
& title
,
1214 const wxPoint
& pos
= wxDefaultPosition
,
1215 const wxSize
& size
= wxDefaultSize
,
1216 long style
= wxDEFAULT_FRAME_STYLE
,
1217 const wxString
& name
= wxPyFrameNameStr
)
1218 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1221 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1222 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1224 DEC_PYCALLBACK_VOID_(Initialize
);
1225 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1226 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1231 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1233 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1234 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1235 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1238 class wxPyPreviewControlBar
: public wxPreviewControlBar
1240 DECLARE_CLASS(wxPyPreviewControlBar
);
1242 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1245 const wxPoint
& pos
= wxDefaultPosition
,
1246 const wxSize
& size
= wxDefaultSize
,
1248 const wxString
& name
= wxPyPanelNameStr
)
1249 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1252 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1254 DEC_PYCALLBACK_VOID_(CreateButtons
);
1255 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1260 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1261 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1262 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1267 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
*resultobj
;
1269 wxWindow
*arg1
= (wxWindow
*) 0 ;
1270 int arg2
= (int) (int)-1 ;
1271 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1272 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1273 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1274 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1275 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1276 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1277 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1281 bool temp6
= False
;
1282 PyObject
* obj0
= 0 ;
1283 PyObject
* obj1
= 0 ;
1284 PyObject
* obj2
= 0 ;
1285 PyObject
* obj3
= 0 ;
1286 PyObject
* obj4
= 0 ;
1287 PyObject
* obj5
= 0 ;
1289 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1296 arg2
= (int const) SWIG_AsInt(obj1
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1308 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1312 arg5
= (long) SWIG_AsLong(obj4
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1317 arg6
= wxString_in_helper(obj5
);
1318 if (arg6
== NULL
) SWIG_fail
;
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1344 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
*resultobj
;
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 result
= (wxPanel
*)new wxPanel();
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1366 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
*resultobj
;
1368 wxPanel
*arg1
= (wxPanel
*) 0 ;
1369 wxWindow
*arg2
= (wxWindow
*) 0 ;
1370 int arg3
= (int) (int)-1 ;
1371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1375 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1376 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1377 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1381 bool temp7
= False
;
1382 PyObject
* obj0
= 0 ;
1383 PyObject
* obj1
= 0 ;
1384 PyObject
* obj2
= 0 ;
1385 PyObject
* obj3
= 0 ;
1386 PyObject
* obj4
= 0 ;
1387 PyObject
* obj5
= 0 ;
1388 PyObject
* obj6
= 0 ;
1390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1399 arg3
= (int const) SWIG_AsInt(obj2
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1415 arg6
= (long) SWIG_AsLong(obj5
);
1416 if (PyErr_Occurred()) SWIG_fail
;
1420 arg7
= wxString_in_helper(obj6
);
1421 if (arg7
== NULL
) SWIG_fail
;
1426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1427 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1429 wxPyEndAllowThreads(__tstate
);
1430 if (PyErr_Occurred()) SWIG_fail
;
1433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1449 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
*resultobj
;
1451 wxPanel
*arg1
= (wxPanel
*) 0 ;
1452 PyObject
* obj0
= 0 ;
1454 (char *) "self", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 (arg1
)->InitDialog();
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1467 Py_INCREF(Py_None
); resultobj
= Py_None
;
1474 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1477 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1479 return Py_BuildValue((char *)"");
1481 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
*resultobj
;
1483 wxWindow
*arg1
= (wxWindow
*) 0 ;
1484 int arg2
= (int) (int)-1 ;
1485 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1486 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1487 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1488 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1489 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1490 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1491 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1492 wxScrolledWindow
*result
;
1495 bool temp6
= False
;
1496 PyObject
* obj0
= 0 ;
1497 PyObject
* obj1
= 0 ;
1498 PyObject
* obj2
= 0 ;
1499 PyObject
* obj3
= 0 ;
1500 PyObject
* obj4
= 0 ;
1501 PyObject
* obj5
= 0 ;
1503 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1510 arg2
= (int const) SWIG_AsInt(obj1
);
1511 if (PyErr_Occurred()) SWIG_fail
;
1516 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1522 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1526 arg5
= (long) SWIG_AsLong(obj4
);
1527 if (PyErr_Occurred()) SWIG_fail
;
1531 arg6
= wxString_in_helper(obj5
);
1532 if (arg6
== NULL
) SWIG_fail
;
1537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1538 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1540 wxPyEndAllowThreads(__tstate
);
1541 if (PyErr_Occurred()) SWIG_fail
;
1543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1558 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
*resultobj
;
1560 wxScrolledWindow
*result
;
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) SWIG_fail
;
1573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1580 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
*resultobj
;
1582 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1583 wxWindow
*arg2
= (wxWindow
*) 0 ;
1584 int arg3
= (int) (int)-1 ;
1585 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1586 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1587 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1588 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1589 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1590 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1591 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1595 bool temp7
= False
;
1596 PyObject
* obj0
= 0 ;
1597 PyObject
* obj1
= 0 ;
1598 PyObject
* obj2
= 0 ;
1599 PyObject
* obj3
= 0 ;
1600 PyObject
* obj4
= 0 ;
1601 PyObject
* obj5
= 0 ;
1602 PyObject
* obj6
= 0 ;
1604 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1613 arg3
= (int const) SWIG_AsInt(obj2
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1629 arg6
= (long) SWIG_AsLong(obj5
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1634 arg7
= wxString_in_helper(obj6
);
1635 if (arg7
== NULL
) SWIG_fail
;
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1663 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
*resultobj
;
1665 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1670 int arg6
= (int) 0 ;
1671 int arg7
= (int) 0 ;
1672 bool arg8
= (bool) False
;
1673 PyObject
* obj0
= 0 ;
1674 PyObject
* obj1
= 0 ;
1675 PyObject
* obj2
= 0 ;
1676 PyObject
* obj3
= 0 ;
1677 PyObject
* obj4
= 0 ;
1678 PyObject
* obj5
= 0 ;
1679 PyObject
* obj6
= 0 ;
1680 PyObject
* obj7
= 0 ;
1682 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1688 arg2
= (int) SWIG_AsInt(obj1
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1690 arg3
= (int) SWIG_AsInt(obj2
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1692 arg4
= (int) SWIG_AsInt(obj3
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1694 arg5
= (int) SWIG_AsInt(obj4
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1697 arg6
= (int) SWIG_AsInt(obj5
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1701 arg7
= (int) SWIG_AsInt(obj6
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1705 arg8
= (bool) SWIG_AsBool(obj7
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1715 Py_INCREF(Py_None
); resultobj
= Py_None
;
1722 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1724 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1727 PyObject
* obj0
= 0 ;
1728 PyObject
* obj1
= 0 ;
1729 PyObject
* obj2
= 0 ;
1731 (char *) "self",(char *) "x",(char *) "y", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1737 arg2
= (int) SWIG_AsInt(obj1
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1739 arg3
= (int) SWIG_AsInt(obj2
);
1740 if (PyErr_Occurred()) SWIG_fail
;
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 (arg1
)->Scroll(arg2
,arg3
);
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) SWIG_fail
;
1748 Py_INCREF(Py_None
); resultobj
= Py_None
;
1755 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
*resultobj
;
1757 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1760 PyObject
* obj0
= 0 ;
1761 PyObject
* obj1
= 0 ;
1763 (char *) "self",(char *) "orient", NULL
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1769 arg2
= (int) SWIG_AsInt(obj1
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1778 resultobj
= SWIG_FromInt((int)result
);
1785 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
*resultobj
;
1787 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1790 PyObject
* obj0
= 0 ;
1791 PyObject
* obj1
= 0 ;
1792 PyObject
* obj2
= 0 ;
1794 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1800 arg2
= (int) SWIG_AsInt(obj1
);
1801 if (PyErr_Occurred()) SWIG_fail
;
1802 arg3
= (int) SWIG_AsInt(obj2
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) SWIG_fail
;
1811 Py_INCREF(Py_None
); resultobj
= Py_None
;
1818 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
*resultobj
;
1820 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1823 PyObject
* obj0
= 0 ;
1824 PyObject
* obj1
= 0 ;
1825 PyObject
* obj2
= 0 ;
1827 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1833 arg2
= (int) SWIG_AsInt(obj1
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1835 arg3
= (int) SWIG_AsInt(obj2
);
1836 if (PyErr_Occurred()) SWIG_fail
;
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 (arg1
)->SetScrollRate(arg2
,arg3
);
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1844 Py_INCREF(Py_None
); resultobj
= Py_None
;
1851 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
*resultobj
;
1853 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1854 int *arg2
= (int *) 0 ;
1855 int *arg3
= (int *) 0 ;
1858 PyObject
* obj0
= 0 ;
1860 (char *) "self", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) SWIG_fail
;
1875 Py_INCREF(Py_None
); resultobj
= Py_None
;
1877 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1878 resultobj
= t_output_helper(resultobj
,o
);
1881 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1882 resultobj
= t_output_helper(resultobj
,o
);
1890 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1895 PyObject
* obj0
= 0 ;
1896 PyObject
* obj1
= 0 ;
1897 PyObject
* obj2
= 0 ;
1899 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1905 arg2
= (bool) SWIG_AsBool(obj1
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1907 arg3
= (bool) SWIG_AsBool(obj2
);
1908 if (PyErr_Occurred()) SWIG_fail
;
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 (arg1
)->EnableScrolling(arg2
,arg3
);
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1916 Py_INCREF(Py_None
); resultobj
= Py_None
;
1923 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
*resultobj
;
1925 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1926 int *arg2
= (int *) 0 ;
1927 int *arg3
= (int *) 0 ;
1930 PyObject
* obj0
= 0 ;
1932 (char *) "self", NULL
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 Py_INCREF(Py_None
); resultobj
= Py_None
;
1949 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1950 resultobj
= t_output_helper(resultobj
,o
);
1953 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1954 resultobj
= t_output_helper(resultobj
,o
);
1962 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
*resultobj
;
1964 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1967 PyObject
* obj0
= 0 ;
1968 PyObject
* obj1
= 0 ;
1969 PyObject
* obj2
= 0 ;
1971 (char *) "self",(char *) "xs",(char *) "ys", NULL
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1977 arg2
= (double) SWIG_AsDouble(obj1
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1979 arg3
= (double) SWIG_AsDouble(obj2
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1983 (arg1
)->SetScale(arg2
,arg3
);
1985 wxPyEndAllowThreads(__tstate
);
1986 if (PyErr_Occurred()) SWIG_fail
;
1988 Py_INCREF(Py_None
); resultobj
= Py_None
;
1995 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
*resultobj
;
1997 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1999 PyObject
* obj0
= 0 ;
2001 (char *) "self", NULL
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= SWIG_FromDouble((double)result
);
2021 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2025 PyObject
* obj0
= 0 ;
2027 (char *) "self", NULL
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 resultobj
= SWIG_FromDouble((double)result
);
2047 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2048 PyObject
*resultobj
;
2049 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2053 PyObject
* obj0
= 0 ;
2054 PyObject
* obj1
= 0 ;
2056 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2065 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2067 wxPyEndAllowThreads(__tstate
);
2068 if (PyErr_Occurred()) SWIG_fail
;
2071 wxPoint
* resultptr
;
2072 resultptr
= new wxPoint((wxPoint
&) result
);
2073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2081 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2082 PyObject
*resultobj
;
2083 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2086 int *arg4
= (int *) 0 ;
2087 int *arg5
= (int *) 0 ;
2090 PyObject
* obj0
= 0 ;
2091 PyObject
* obj1
= 0 ;
2092 PyObject
* obj2
= 0 ;
2096 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2099 arg2
= (int) SWIG_AsInt(obj1
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2101 arg3
= (int) SWIG_AsInt(obj2
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 Py_INCREF(Py_None
); resultobj
= Py_None
;
2112 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2113 resultobj
= t_output_helper(resultobj
,o
);
2116 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2117 resultobj
= t_output_helper(resultobj
,o
);
2125 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2130 argc
= PyObject_Length(args
);
2131 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2132 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2138 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2147 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2150 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2158 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2166 _v
= SWIG_CheckInt(argv
[1]);
2168 _v
= SWIG_CheckInt(argv
[2]);
2170 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2176 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2181 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2182 PyObject
*resultobj
;
2183 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2187 PyObject
* obj0
= 0 ;
2188 PyObject
* obj1
= 0 ;
2190 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2205 wxPoint
* resultptr
;
2206 resultptr
= new wxPoint((wxPoint
&) result
);
2207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2215 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2216 PyObject
*resultobj
;
2217 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2220 int *arg4
= (int *) 0 ;
2221 int *arg5
= (int *) 0 ;
2224 PyObject
* obj0
= 0 ;
2225 PyObject
* obj1
= 0 ;
2226 PyObject
* obj2
= 0 ;
2230 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2233 arg2
= (int) SWIG_AsInt(obj1
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2235 arg3
= (int) SWIG_AsInt(obj2
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2244 Py_INCREF(Py_None
); resultobj
= Py_None
;
2246 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2247 resultobj
= t_output_helper(resultobj
,o
);
2250 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2251 resultobj
= t_output_helper(resultobj
,o
);
2259 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2264 argc
= PyObject_Length(args
);
2265 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2266 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2272 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2281 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2284 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2292 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2300 _v
= SWIG_CheckInt(argv
[1]);
2302 _v
= SWIG_CheckInt(argv
[2]);
2304 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2310 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2315 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
*resultobj
;
2317 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2318 PyObject
* obj0
= 0 ;
2320 (char *) "self", NULL
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 (arg1
)->AdjustScrollbars();
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2333 Py_INCREF(Py_None
); resultobj
= Py_None
;
2340 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
*resultobj
;
2342 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2343 wxScrollWinEvent
*arg2
= 0 ;
2345 PyObject
* obj0
= 0 ;
2346 PyObject
* obj1
= 0 ;
2348 (char *) "self",(char *) "event", NULL
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2358 PyErr_SetString(PyExc_TypeError
,"null reference");
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2363 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) SWIG_fail
;
2368 resultobj
= SWIG_FromInt((int)result
);
2375 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
*resultobj
;
2377 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2378 wxWindow
*arg2
= (wxWindow
*) 0 ;
2379 PyObject
* obj0
= 0 ;
2380 PyObject
* obj1
= 0 ;
2382 (char *) "self",(char *) "target", NULL
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 (arg1
)->SetTargetWindow(arg2
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 Py_INCREF(Py_None
); resultobj
= Py_None
;
2404 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2406 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2408 PyObject
* obj0
= 0 ;
2410 (char *) "self", NULL
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2424 resultobj
= wxPyMake_wxObject(result
);
2432 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
*resultobj
;
2434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2437 PyObject
* obj0
= 0 ;
2438 PyObject
* obj1
= 0 ;
2440 (char *) "self",(char *) "rect", NULL
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2448 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2457 Py_INCREF(Py_None
); resultobj
= Py_None
;
2464 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
*resultobj
;
2466 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2468 PyObject
* obj0
= 0 ;
2470 (char *) "self", NULL
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2485 resultptr
= new wxRect((wxRect
&) result
);
2486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2494 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2497 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2499 return Py_BuildValue((char *)"");
2501 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2502 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2507 static PyObject
*_wrap_FrameNameStr_get() {
2512 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2514 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2521 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2522 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2527 static PyObject
*_wrap_DialogNameStr_get() {
2532 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2534 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2541 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2542 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2547 static PyObject
*_wrap_StatusLineNameStr_get() {
2552 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2554 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2561 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2562 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2567 static PyObject
*_wrap_ToolBarNameStr_get() {
2572 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2574 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2581 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2583 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2584 bool arg2
= (bool) True
;
2585 PyObject
* obj0
= 0 ;
2586 PyObject
* obj1
= 0 ;
2588 (char *) "self",(char *) "maximize", NULL
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2595 arg2
= (bool) SWIG_AsBool(obj1
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 (arg1
)->Maximize(arg2
);
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2605 Py_INCREF(Py_None
); resultobj
= Py_None
;
2612 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
*resultobj
;
2614 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2615 PyObject
* obj0
= 0 ;
2617 (char *) "self", NULL
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2630 Py_INCREF(Py_None
); resultobj
= Py_None
;
2637 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2640 bool arg2
= (bool) True
;
2641 PyObject
* obj0
= 0 ;
2642 PyObject
* obj1
= 0 ;
2644 (char *) "self",(char *) "iconize", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2651 arg2
= (bool) SWIG_AsBool(obj1
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 (arg1
)->Iconize(arg2
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2661 Py_INCREF(Py_None
); resultobj
= Py_None
;
2668 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2672 PyObject
* obj0
= 0 ;
2674 (char *) "self", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2696 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2700 PyObject
* obj0
= 0 ;
2702 (char *) "self", NULL
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2724 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2728 PyObject
* obj0
= 0 ;
2730 (char *) "self", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2745 resultptr
= new wxIcon((wxIcon
&) result
);
2746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2754 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
*resultobj
;
2756 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2758 PyObject
* obj0
= 0 ;
2759 PyObject
* obj1
= 0 ;
2761 (char *) "self",(char *) "icon", NULL
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2771 PyErr_SetString(PyExc_TypeError
,"null reference");
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2781 Py_INCREF(Py_None
); resultobj
= Py_None
;
2788 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2790 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2791 wxIconBundle
*arg2
= 0 ;
2792 PyObject
* obj0
= 0 ;
2793 PyObject
* obj1
= 0 ;
2795 (char *) "self",(char *) "icons", NULL
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2805 PyErr_SetString(PyExc_TypeError
,"null reference");
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2815 Py_INCREF(Py_None
); resultobj
= Py_None
;
2822 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
*resultobj
;
2824 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2826 long arg3
= (long) wxFULLSCREEN_ALL
;
2828 PyObject
* obj0
= 0 ;
2829 PyObject
* obj1
= 0 ;
2830 PyObject
* obj2
= 0 ;
2832 (char *) "self",(char *) "show",(char *) "style", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2838 arg2
= (bool) SWIG_AsBool(obj1
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2841 arg3
= (long) SWIG_AsLong(obj2
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2860 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2862 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2864 PyObject
* obj0
= 0 ;
2866 (char *) "self", NULL
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2876 wxPyEndAllowThreads(__tstate
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2888 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
*resultobj
;
2890 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2891 wxString
*arg2
= 0 ;
2892 bool temp2
= False
;
2893 PyObject
* obj0
= 0 ;
2894 PyObject
* obj1
= 0 ;
2896 (char *) "self",(char *) "title", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2903 arg2
= wxString_in_helper(obj1
);
2904 if (arg2
== NULL
) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 (arg1
)->SetTitle((wxString
const &)*arg2
);
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2914 Py_INCREF(Py_None
); resultobj
= Py_None
;
2929 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
;
2931 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2933 PyObject
* obj0
= 0 ;
2935 (char *) "self", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2961 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
*resultobj
;
2963 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2964 wxRegion
*arg2
= 0 ;
2966 PyObject
* obj0
= 0 ;
2967 PyObject
* obj1
= 0 ;
2969 (char *) "self",(char *) "region", NULL
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2979 PyErr_SetString(PyExc_TypeError
,"null reference");
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2998 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3002 PyObject
* obj0
= 0 ;
3003 PyObject
* obj1
= 0 ;
3005 (char *) "self",(char *) "on", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3011 arg2
= (bool) SWIG_AsBool(obj1
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 (arg1
)->MacSetMetalAppearance(arg2
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3020 Py_INCREF(Py_None
); resultobj
= Py_None
;
3027 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3033 (char *) "self", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3055 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3058 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3060 return Py_BuildValue((char *)"");
3062 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxWindow
*arg1
= (wxWindow
*) 0 ;
3066 wxString
*arg3
= 0 ;
3067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3071 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3072 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3075 bool temp3
= False
;
3078 bool temp7
= False
;
3079 PyObject
* obj0
= 0 ;
3080 PyObject
* obj1
= 0 ;
3081 PyObject
* obj2
= 0 ;
3082 PyObject
* obj3
= 0 ;
3083 PyObject
* obj4
= 0 ;
3084 PyObject
* obj5
= 0 ;
3085 PyObject
* obj6
= 0 ;
3087 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3093 arg2
= (int const) SWIG_AsInt(obj1
);
3094 if (PyErr_Occurred()) SWIG_fail
;
3096 arg3
= wxString_in_helper(obj2
);
3097 if (arg3
== NULL
) SWIG_fail
;
3103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3113 arg6
= (long) SWIG_AsLong(obj5
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3118 arg7
= wxString_in_helper(obj6
);
3119 if (arg7
== NULL
) SWIG_fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3131 resultobj
= wxPyMake_wxObject(result
);
3155 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
*resultobj
;
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 result
= (wxFrame
*)new wxFrame();
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3171 resultobj
= wxPyMake_wxObject(result
);
3179 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
*resultobj
;
3181 wxFrame
*arg1
= (wxFrame
*) 0 ;
3182 wxWindow
*arg2
= (wxWindow
*) 0 ;
3184 wxString
*arg4
= 0 ;
3185 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3186 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3187 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3188 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3189 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3190 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3191 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3193 bool temp4
= False
;
3196 bool temp8
= False
;
3197 PyObject
* obj0
= 0 ;
3198 PyObject
* obj1
= 0 ;
3199 PyObject
* obj2
= 0 ;
3200 PyObject
* obj3
= 0 ;
3201 PyObject
* obj4
= 0 ;
3202 PyObject
* obj5
= 0 ;
3203 PyObject
* obj6
= 0 ;
3204 PyObject
* obj7
= 0 ;
3206 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3214 arg3
= (int const) SWIG_AsInt(obj2
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3217 arg4
= wxString_in_helper(obj3
);
3218 if (arg4
== NULL
) SWIG_fail
;
3224 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3230 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3234 arg7
= (long) SWIG_AsLong(obj6
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3239 arg8
= wxString_in_helper(obj7
);
3240 if (arg8
== NULL
) SWIG_fail
;
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3276 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
*resultobj
;
3278 wxFrame
*arg1
= (wxFrame
*) 0 ;
3280 PyObject
* obj0
= 0 ;
3282 (char *) "self", NULL
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3296 wxPoint
* resultptr
;
3297 resultptr
= new wxPoint((wxPoint
&) result
);
3298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3306 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxFrame
*arg1
= (wxFrame
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3311 (char *) "self", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 (arg1
)->SendSizeEvent();
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 Py_INCREF(Py_None
); resultobj
= Py_None
;
3331 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxFrame
*arg1
= (wxFrame
*) 0 ;
3334 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3335 PyObject
* obj0
= 0 ;
3336 PyObject
* obj1
= 0 ;
3338 (char *) "self",(char *) "menubar", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 (arg1
)->SetMenuBar(arg2
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 Py_INCREF(Py_None
); resultobj
= Py_None
;
3360 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3362 wxFrame
*arg1
= (wxFrame
*) 0 ;
3364 PyObject
* obj0
= 0 ;
3366 (char *) "self", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= wxPyMake_wxObject(result
);
3388 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
*resultobj
;
3390 wxFrame
*arg1
= (wxFrame
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3394 PyObject
* obj1
= 0 ;
3396 (char *) "self",(char *) "winid", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3402 arg2
= (int) SWIG_AsInt(obj1
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3420 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxFrame
*arg1
= (wxFrame
*) 0 ;
3423 int arg2
= (int) 1 ;
3424 long arg3
= (long) wxST_SIZEGRIP
;
3425 int arg4
= (int) 0 ;
3426 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3427 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3428 wxStatusBar
*result
;
3429 bool temp5
= False
;
3430 PyObject
* obj0
= 0 ;
3431 PyObject
* obj1
= 0 ;
3432 PyObject
* obj2
= 0 ;
3433 PyObject
* obj3
= 0 ;
3434 PyObject
* obj4
= 0 ;
3436 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3443 arg2
= (int) SWIG_AsInt(obj1
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3447 arg3
= (long) SWIG_AsLong(obj2
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3451 arg4
= (int) SWIG_AsInt(obj3
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3456 arg5
= wxString_in_helper(obj4
);
3457 if (arg5
== NULL
) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= wxPyMake_wxObject(result
);
3485 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxFrame
*arg1
= (wxFrame
*) 0 ;
3488 wxStatusBar
*result
;
3489 PyObject
* obj0
= 0 ;
3491 (char *) "self", NULL
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3505 resultobj
= wxPyMake_wxObject(result
);
3513 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxFrame
*arg1
= (wxFrame
*) 0 ;
3516 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3518 PyObject
* obj1
= 0 ;
3520 (char *) "self",(char *) "statBar", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 (arg1
)->SetStatusBar(arg2
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 Py_INCREF(Py_None
); resultobj
= Py_None
;
3542 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxFrame
*arg1
= (wxFrame
*) 0 ;
3545 wxString
*arg2
= 0 ;
3546 int arg3
= (int) 0 ;
3547 bool temp2
= False
;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3550 PyObject
* obj2
= 0 ;
3552 (char *) "self",(char *) "text",(char *) "number", NULL
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3559 arg2
= wxString_in_helper(obj1
);
3560 if (arg2
== NULL
) SWIG_fail
;
3564 arg3
= (int) SWIG_AsInt(obj2
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3574 Py_INCREF(Py_None
); resultobj
= Py_None
;
3589 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxFrame
*arg1
= (wxFrame
*) 0 ;
3593 int *arg3
= (int *) 0 ;
3594 PyObject
* obj0
= 0 ;
3595 PyObject
* obj1
= 0 ;
3597 (char *) "self",(char *) "widths", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3604 arg2
= PyList_Size(obj1
);
3605 arg3
= int_LIST_helper(obj1
);
3606 if (arg3
== NULL
) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 Py_INCREF(Py_None
); resultobj
= Py_None
;
3617 if (arg3
) delete [] arg3
;
3622 if (arg3
) delete [] arg3
;
3628 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxFrame
*arg1
= (wxFrame
*) 0 ;
3631 wxString
*arg2
= 0 ;
3632 int arg3
= (int) 0 ;
3633 bool temp2
= False
;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3636 PyObject
* obj2
= 0 ;
3638 (char *) "self",(char *) "text",(char *) "number", NULL
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3645 arg2
= wxString_in_helper(obj1
);
3646 if (arg2
== NULL
) SWIG_fail
;
3650 arg3
= (int) SWIG_AsInt(obj2
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3660 Py_INCREF(Py_None
); resultobj
= Py_None
;
3675 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxFrame
*arg1
= (wxFrame
*) 0 ;
3678 int arg2
= (int) 0 ;
3679 PyObject
* obj0
= 0 ;
3680 PyObject
* obj1
= 0 ;
3682 (char *) "self",(char *) "number", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3689 arg2
= (int) SWIG_AsInt(obj1
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->PopStatusText(arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxFrame
*arg1
= (wxFrame
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3713 (char *) "self",(char *) "n", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 arg2
= (int) SWIG_AsInt(obj1
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 (arg1
)->SetStatusBarPane(arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 wxFrame
*arg1
= (wxFrame
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3741 (char *) "self", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 resultobj
= SWIG_FromInt((int)result
);
3761 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxFrame
*arg1
= (wxFrame
*) 0 ;
3764 long arg2
= (long) -1 ;
3765 int arg3
= (int) -1 ;
3766 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3767 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3769 bool temp4
= False
;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3772 PyObject
* obj2
= 0 ;
3773 PyObject
* obj3
= 0 ;
3775 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3782 arg2
= (long) SWIG_AsLong(obj1
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3786 arg3
= (int) SWIG_AsInt(obj2
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3791 arg4
= wxString_in_helper(obj3
);
3792 if (arg4
== NULL
) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3804 resultobj
= wxPyMake_wxObject(result
);
3820 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxFrame
*arg1
= (wxFrame
*) 0 ;
3824 PyObject
* obj0
= 0 ;
3826 (char *) "self", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3840 resultobj
= wxPyMake_wxObject(result
);
3848 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
;
3850 wxFrame
*arg1
= (wxFrame
*) 0 ;
3851 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3852 PyObject
* obj0
= 0 ;
3853 PyObject
* obj1
= 0 ;
3855 (char *) "self",(char *) "toolbar", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 (arg1
)->SetToolBar(arg2
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 Py_INCREF(Py_None
); resultobj
= Py_None
;
3877 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxFrame
*arg1
= (wxFrame
*) 0 ;
3880 wxString
*arg2
= 0 ;
3882 bool temp2
= False
;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3885 PyObject
* obj2
= 0 ;
3887 (char *) "self",(char *) "text",(char *) "show", NULL
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3894 arg2
= wxString_in_helper(obj1
);
3895 if (arg2
== NULL
) SWIG_fail
;
3898 arg3
= (bool) SWIG_AsBool(obj2
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3922 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxFrame
*arg1
= (wxFrame
*) 0 ;
3925 wxMenu
*arg2
= (wxMenu
*) NULL
;
3926 PyObject
* obj0
= 0 ;
3927 PyObject
* obj1
= 0 ;
3929 (char *) "self",(char *) "menu", NULL
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 (arg1
)->DoMenuUpdates(arg2
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 Py_INCREF(Py_None
); resultobj
= Py_None
;
3953 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3956 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3958 return Py_BuildValue((char *)"");
3960 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3962 wxWindow
*arg1
= (wxWindow
*) 0 ;
3964 wxString
*arg3
= 0 ;
3965 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3966 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3967 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3968 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3969 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3970 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3971 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3973 bool temp3
= False
;
3976 bool temp7
= False
;
3977 PyObject
* obj0
= 0 ;
3978 PyObject
* obj1
= 0 ;
3979 PyObject
* obj2
= 0 ;
3980 PyObject
* obj3
= 0 ;
3981 PyObject
* obj4
= 0 ;
3982 PyObject
* obj5
= 0 ;
3983 PyObject
* obj6
= 0 ;
3985 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3991 arg2
= (int const) SWIG_AsInt(obj1
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 arg3
= wxString_in_helper(obj2
);
3995 if (arg3
== NULL
) SWIG_fail
;
4001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4011 arg6
= (long) SWIG_AsLong(obj5
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4016 arg7
= wxString_in_helper(obj6
);
4017 if (arg7
== NULL
) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4051 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (wxDialog
*)new wxDialog();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4073 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxDialog
*arg1
= (wxDialog
*) 0 ;
4076 wxWindow
*arg2
= (wxWindow
*) 0 ;
4078 wxString
*arg4
= 0 ;
4079 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4080 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4081 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4082 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4083 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4084 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4085 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4087 bool temp4
= False
;
4090 bool temp8
= False
;
4091 PyObject
* obj0
= 0 ;
4092 PyObject
* obj1
= 0 ;
4093 PyObject
* obj2
= 0 ;
4094 PyObject
* obj3
= 0 ;
4095 PyObject
* obj4
= 0 ;
4096 PyObject
* obj5
= 0 ;
4097 PyObject
* obj6
= 0 ;
4098 PyObject
* obj7
= 0 ;
4100 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4108 arg3
= (int const) SWIG_AsInt(obj2
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 arg4
= wxString_in_helper(obj3
);
4112 if (arg4
== NULL
) SWIG_fail
;
4118 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4124 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4128 arg7
= (long) SWIG_AsLong(obj6
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4133 arg8
= wxString_in_helper(obj7
);
4134 if (arg8
== NULL
) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4170 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxDialog
*arg1
= (wxDialog
*) 0 ;
4174 PyObject
* obj0
= 0 ;
4175 PyObject
* obj1
= 0 ;
4177 (char *) "self",(char *) "returnCode", NULL
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4183 arg2
= (int) SWIG_AsInt(obj1
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 (arg1
)->SetReturnCode(arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 Py_INCREF(Py_None
); resultobj
= Py_None
;
4199 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxDialog
*arg1
= (wxDialog
*) 0 ;
4203 PyObject
* obj0
= 0 ;
4205 (char *) "self", NULL
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_FromInt((int)result
);
4225 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxDialog
*arg1
= (wxDialog
*) 0 ;
4228 wxString
*arg2
= 0 ;
4230 bool temp2
= False
;
4231 PyObject
* obj0
= 0 ;
4232 PyObject
* obj1
= 0 ;
4234 (char *) "self",(char *) "message", NULL
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4241 arg2
= wxString_in_helper(obj1
);
4242 if (arg2
== NULL
) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4253 resultobj
= wxPyMake_wxSizer(result
);
4269 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxDialog
*arg1
= (wxDialog
*) 0 ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4277 (char *) "self",(char *) "flags", NULL
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4283 arg2
= (long) SWIG_AsLong(obj1
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= wxPyMake_wxSizer(result
);
4301 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxDialog
*arg1
= (wxDialog
*) 0 ;
4305 PyObject
* obj0
= 0 ;
4307 (char *) "self", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4329 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
;
4331 wxDialog
*arg1
= (wxDialog
*) 0 ;
4333 PyObject
* obj0
= 0 ;
4335 (char *) "self", NULL
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 result
= (int)(arg1
)->ShowModal();
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= SWIG_FromInt((int)result
);
4355 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxDialog
*arg1
= (wxDialog
*) 0 ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4362 (char *) "self",(char *) "retCode", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4368 arg2
= (int) SWIG_AsInt(obj1
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 (arg1
)->EndModal(arg2
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 Py_INCREF(Py_None
); resultobj
= Py_None
;
4384 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4387 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4389 return Py_BuildValue((char *)"");
4391 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4393 wxWindow
*arg1
= (wxWindow
*) 0 ;
4395 wxString
*arg3
= 0 ;
4396 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4397 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4398 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4399 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4400 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4401 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4402 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4403 wxMiniFrame
*result
;
4404 bool temp3
= False
;
4407 bool temp7
= False
;
4408 PyObject
* obj0
= 0 ;
4409 PyObject
* obj1
= 0 ;
4410 PyObject
* obj2
= 0 ;
4411 PyObject
* obj3
= 0 ;
4412 PyObject
* obj4
= 0 ;
4413 PyObject
* obj5
= 0 ;
4414 PyObject
* obj6
= 0 ;
4416 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4422 arg2
= (int const) SWIG_AsInt(obj1
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 arg3
= wxString_in_helper(obj2
);
4426 if (arg3
== NULL
) SWIG_fail
;
4432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4442 arg6
= (long) SWIG_AsLong(obj5
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4447 arg7
= wxString_in_helper(obj6
);
4448 if (arg7
== NULL
) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4482 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
*resultobj
;
4484 wxMiniFrame
*result
;
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 result
= (wxMiniFrame
*)new wxMiniFrame();
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4504 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4507 wxWindow
*arg2
= (wxWindow
*) 0 ;
4509 wxString
*arg4
= 0 ;
4510 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4511 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4512 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4513 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4514 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4515 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4516 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4518 bool temp4
= False
;
4521 bool temp8
= False
;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4524 PyObject
* obj2
= 0 ;
4525 PyObject
* obj3
= 0 ;
4526 PyObject
* obj4
= 0 ;
4527 PyObject
* obj5
= 0 ;
4528 PyObject
* obj6
= 0 ;
4529 PyObject
* obj7
= 0 ;
4531 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4539 arg3
= (int const) SWIG_AsInt(obj2
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 arg4
= wxString_in_helper(obj3
);
4543 if (arg4
== NULL
) SWIG_fail
;
4549 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4555 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4559 arg7
= (long) SWIG_AsLong(obj6
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4564 arg8
= wxString_in_helper(obj7
);
4565 if (arg8
== NULL
) SWIG_fail
;
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4601 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4604 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4606 return Py_BuildValue((char *)"");
4608 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 wxBitmap
*arg1
= 0 ;
4611 wxWindow
*arg2
= (wxWindow
*) 0 ;
4613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4617 long arg6
= (long) wxNO_BORDER
;
4618 wxSplashScreenWindow
*result
;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4623 PyObject
* obj2
= 0 ;
4624 PyObject
* obj3
= 0 ;
4625 PyObject
* obj4
= 0 ;
4626 PyObject
* obj5
= 0 ;
4628 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4636 PyErr_SetString(PyExc_TypeError
,"null reference");
4639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4641 arg3
= (int) SWIG_AsInt(obj2
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4646 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4652 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4656 arg6
= (long) SWIG_AsLong(obj5
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4673 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4676 wxBitmap
*arg2
= 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4680 (char *) "self",(char *) "bitmap", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4690 PyErr_SetString(PyExc_TypeError
,"null reference");
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 Py_INCREF(Py_None
); resultobj
= Py_None
;
4707 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
;
4709 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4711 PyObject
* obj0
= 0 ;
4713 (char *) "self", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4723 result
= (wxBitmap
*) &_result_ref
;
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4730 wxBitmap
* resultptr
= new wxBitmap(*result
);
4731 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4739 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4742 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4744 return Py_BuildValue((char *)"");
4746 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxBitmap
*arg1
= 0 ;
4751 wxWindow
*arg4
= (wxWindow
*) 0 ;
4753 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4754 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4755 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4756 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4757 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4758 wxSplashScreen
*result
;
4761 PyObject
* obj0
= 0 ;
4762 PyObject
* obj1
= 0 ;
4763 PyObject
* obj2
= 0 ;
4764 PyObject
* obj3
= 0 ;
4765 PyObject
* obj4
= 0 ;
4766 PyObject
* obj5
= 0 ;
4767 PyObject
* obj6
= 0 ;
4768 PyObject
* obj7
= 0 ;
4770 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4778 PyErr_SetString(PyExc_TypeError
,"null reference");
4781 arg2
= (long) SWIG_AsLong(obj1
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4783 arg3
= (int) SWIG_AsInt(obj2
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4785 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4787 arg5
= (int) SWIG_AsInt(obj4
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4792 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4798 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4802 arg8
= (long) SWIG_AsLong(obj7
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4819 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
;
4821 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4823 PyObject
* obj0
= 0 ;
4825 (char *) "self", NULL
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= SWIG_FromLong((long)result
);
4845 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4848 wxSplashScreenWindow
*result
;
4849 PyObject
* obj0
= 0 ;
4851 (char *) "self", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4871 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4875 PyObject
* obj0
= 0 ;
4877 (char *) "self", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= SWIG_FromInt((int)result
);
4897 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4900 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4902 return Py_BuildValue((char *)"");
4904 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxWindow
*arg1
= (wxWindow
*) 0 ;
4907 int arg2
= (int) -1 ;
4908 long arg3
= (long) wxST_SIZEGRIP
;
4909 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4910 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4911 wxStatusBar
*result
;
4912 bool temp4
= False
;
4913 PyObject
* obj0
= 0 ;
4914 PyObject
* obj1
= 0 ;
4915 PyObject
* obj2
= 0 ;
4916 PyObject
* obj3
= 0 ;
4918 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4925 arg2
= (int) SWIG_AsInt(obj1
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4929 arg3
= (long) SWIG_AsLong(obj2
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4934 arg4
= wxString_in_helper(obj3
);
4935 if (arg4
== NULL
) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= wxPyMake_wxObject(result
);
4963 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxStatusBar
*result
;
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (wxStatusBar
*)new wxStatusBar();
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= wxPyMake_wxObject(result
);
4987 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4990 wxWindow
*arg2
= (wxWindow
*) 0 ;
4992 long arg4
= (long) wxST_SIZEGRIP
;
4993 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4994 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4996 bool temp5
= False
;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
4999 PyObject
* obj2
= 0 ;
5000 PyObject
* obj3
= 0 ;
5001 PyObject
* obj4
= 0 ;
5003 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5011 arg3
= (int) SWIG_AsInt(obj2
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 arg4
= (long) SWIG_AsLong(obj3
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5019 arg5
= wxString_in_helper(obj4
);
5020 if (arg5
== NULL
) SWIG_fail
;
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5048 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5051 int arg2
= (int) 1 ;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5055 (char *) "self",(char *) "number", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 arg2
= (int) SWIG_AsInt(obj1
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 (arg1
)->SetFieldsCount(arg2
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 Py_INCREF(Py_None
); resultobj
= Py_None
;
5079 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5083 PyObject
* obj0
= 0 ;
5085 (char *) "self", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_FromInt((int)result
);
5105 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5107 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5108 wxString
*arg2
= 0 ;
5109 int arg3
= (int) 0 ;
5110 bool temp2
= False
;
5111 PyObject
* obj0
= 0 ;
5112 PyObject
* obj1
= 0 ;
5113 PyObject
* obj2
= 0 ;
5115 (char *) "self",(char *) "text",(char *) "number", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5122 arg2
= wxString_in_helper(obj1
);
5123 if (arg2
== NULL
) SWIG_fail
;
5127 arg3
= (int) SWIG_AsInt(obj2
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 Py_INCREF(Py_None
); resultobj
= Py_None
;
5152 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5155 int arg2
= (int) 0 ;
5157 PyObject
* obj0
= 0 ;
5158 PyObject
* obj1
= 0 ;
5160 (char *) "self",(char *) "number", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 arg2
= (int) SWIG_AsInt(obj1
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5190 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5193 wxString
*arg2
= 0 ;
5194 int arg3
= (int) 0 ;
5195 bool temp2
= False
;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5198 PyObject
* obj2
= 0 ;
5200 (char *) "self",(char *) "text",(char *) "number", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 arg2
= wxString_in_helper(obj1
);
5208 if (arg2
== NULL
) SWIG_fail
;
5212 arg3
= (int) SWIG_AsInt(obj2
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 Py_INCREF(Py_None
); resultobj
= Py_None
;
5237 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5240 int arg2
= (int) 0 ;
5241 PyObject
* obj0
= 0 ;
5242 PyObject
* obj1
= 0 ;
5244 (char *) "self",(char *) "number", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5251 arg2
= (int) SWIG_AsInt(obj1
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 (arg1
)->PopStatusText(arg2
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 Py_INCREF(Py_None
); resultobj
= Py_None
;
5268 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
*resultobj
;
5270 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5272 int *arg3
= (int *) 0 ;
5273 PyObject
* obj0
= 0 ;
5274 PyObject
* obj1
= 0 ;
5276 (char *) "self",(char *) "widths", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5283 arg2
= PyList_Size(obj1
);
5284 arg3
= int_LIST_helper(obj1
);
5285 if (arg3
== NULL
) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 Py_INCREF(Py_None
); resultobj
= Py_None
;
5296 if (arg3
) delete [] arg3
;
5301 if (arg3
) delete [] arg3
;
5307 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5312 PyObject
* obj0
= 0 ;
5313 PyObject
* obj1
= 0 ;
5315 (char *) "self",(char *) "i", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5321 arg2
= (int) SWIG_AsInt(obj1
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5332 resultptr
= new wxRect((wxRect
&) result
);
5333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5341 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5346 PyObject
* obj1
= 0 ;
5348 (char *) "self",(char *) "height", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5354 arg2
= (int) SWIG_AsInt(obj1
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 (arg1
)->SetMinHeight(arg2
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 Py_INCREF(Py_None
); resultobj
= Py_None
;
5370 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5374 PyObject
* obj0
= 0 ;
5376 (char *) "self", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= SWIG_FromInt((int)result
);
5396 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5402 (char *) "self", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= SWIG_FromInt((int)result
);
5422 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5425 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5427 return Py_BuildValue((char *)"");
5429 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5430 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5435 static PyObject
*_wrap_SplitterNameStr_get() {
5440 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5442 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5449 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxWindow
*arg1
= (wxWindow
*) 0 ;
5452 int arg2
= (int) -1 ;
5453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5457 long arg5
= (long) wxSP_3D
;
5458 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5459 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5460 wxSplitterWindow
*result
;
5463 bool temp6
= False
;
5464 PyObject
* obj0
= 0 ;
5465 PyObject
* obj1
= 0 ;
5466 PyObject
* obj2
= 0 ;
5467 PyObject
* obj3
= 0 ;
5468 PyObject
* obj4
= 0 ;
5469 PyObject
* obj5
= 0 ;
5471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5478 arg2
= (int) SWIG_AsInt(obj1
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5494 arg5
= (long) SWIG_AsLong(obj4
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5499 arg6
= wxString_in_helper(obj5
);
5500 if (arg6
== NULL
) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5526 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxSplitterWindow
*result
;
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5548 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5551 wxWindow
*arg2
= (wxWindow
*) 0 ;
5552 int arg3
= (int) -1 ;
5553 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5554 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5555 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5556 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5557 long arg6
= (long) wxSP_3D
;
5558 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5559 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5563 bool temp7
= False
;
5564 PyObject
* obj0
= 0 ;
5565 PyObject
* obj1
= 0 ;
5566 PyObject
* obj2
= 0 ;
5567 PyObject
* obj3
= 0 ;
5568 PyObject
* obj4
= 0 ;
5569 PyObject
* obj5
= 0 ;
5570 PyObject
* obj6
= 0 ;
5572 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5581 arg3
= (int) SWIG_AsInt(obj2
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5587 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5593 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5597 arg6
= (long) SWIG_AsLong(obj5
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5602 arg7
= wxString_in_helper(obj6
);
5603 if (arg7
== NULL
) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5631 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5635 PyObject
* obj0
= 0 ;
5637 (char *) "self", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= wxPyMake_wxObject(result
);
5659 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5665 (char *) "self", NULL
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= wxPyMake_wxObject(result
);
5687 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5692 PyObject
* obj1
= 0 ;
5694 (char *) "self",(char *) "mode", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5700 arg2
= (int) SWIG_AsInt(obj1
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 (arg1
)->SetSplitMode(arg2
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5709 Py_INCREF(Py_None
); resultobj
= Py_None
;
5716 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5720 PyObject
* obj0
= 0 ;
5722 (char *) "self", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= SWIG_FromInt((int)result
);
5742 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5745 wxWindow
*arg2
= (wxWindow
*) 0 ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5749 (char *) "self",(char *) "window", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 (arg1
)->Initialize(arg2
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 Py_INCREF(Py_None
); resultobj
= Py_None
;
5771 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5774 wxWindow
*arg2
= (wxWindow
*) 0 ;
5775 wxWindow
*arg3
= (wxWindow
*) 0 ;
5776 int arg4
= (int) 0 ;
5778 PyObject
* obj0
= 0 ;
5779 PyObject
* obj1
= 0 ;
5780 PyObject
* obj2
= 0 ;
5781 PyObject
* obj3
= 0 ;
5783 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5791 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5794 arg4
= (int) SWIG_AsInt(obj3
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5813 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5816 wxWindow
*arg2
= (wxWindow
*) 0 ;
5817 wxWindow
*arg3
= (wxWindow
*) 0 ;
5818 int arg4
= (int) 0 ;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5822 PyObject
* obj2
= 0 ;
5823 PyObject
* obj3
= 0 ;
5825 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5833 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5836 arg4
= (int) SWIG_AsInt(obj3
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5855 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5858 wxWindow
*arg2
= (wxWindow
*) NULL
;
5860 PyObject
* obj0
= 0 ;
5861 PyObject
* obj1
= 0 ;
5863 (char *) "self",(char *) "toRemove", NULL
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= (bool)(arg1
)->Unsplit(arg2
);
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5889 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5892 wxWindow
*arg2
= (wxWindow
*) 0 ;
5893 wxWindow
*arg3
= (wxWindow
*) 0 ;
5895 PyObject
* obj0
= 0 ;
5896 PyObject
* obj1
= 0 ;
5897 PyObject
* obj2
= 0 ;
5899 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5907 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5925 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5928 PyObject
* obj0
= 0 ;
5930 (char *) "self", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 (arg1
)->UpdateSize();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 Py_INCREF(Py_None
); resultobj
= Py_None
;
5950 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5952 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5954 PyObject
* obj0
= 0 ;
5956 (char *) "self", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5978 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5982 PyObject
* obj0
= 0 ;
5983 PyObject
* obj1
= 0 ;
5985 (char *) "self",(char *) "width", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 arg2
= (int) SWIG_AsInt(obj1
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 (arg1
)->SetSashSize(arg2
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 Py_INCREF(Py_None
); resultobj
= Py_None
;
6007 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6012 PyObject
* obj1
= 0 ;
6014 (char *) "self",(char *) "width", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 arg2
= (int) SWIG_AsInt(obj1
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 (arg1
)->SetBorderSize(arg2
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 Py_INCREF(Py_None
); resultobj
= Py_None
;
6036 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6040 PyObject
* obj0
= 0 ;
6042 (char *) "self", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= SWIG_FromInt((int)result
);
6062 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6068 (char *) "self", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 resultobj
= SWIG_FromInt((int)result
);
6088 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6092 bool arg3
= (bool) True
;
6093 PyObject
* obj0
= 0 ;
6094 PyObject
* obj1
= 0 ;
6095 PyObject
* obj2
= 0 ;
6097 (char *) "self",(char *) "position",(char *) "redraw", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6103 arg2
= (int) SWIG_AsInt(obj1
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 arg3
= (bool) SWIG_AsBool(obj2
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 (arg1
)->SetSashPosition(arg2
,arg3
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 Py_INCREF(Py_None
); resultobj
= Py_None
;
6123 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6127 PyObject
* obj0
= 0 ;
6129 (char *) "self", NULL
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= SWIG_FromInt((int)result
);
6149 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6156 (char *) "self",(char *) "min", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6162 arg2
= (int) SWIG_AsInt(obj1
);
6163 if (PyErr_Occurred()) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 (arg1
)->SetMinimumPaneSize(arg2
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 Py_INCREF(Py_None
); resultobj
= Py_None
;
6178 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6182 PyObject
* obj0
= 0 ;
6184 (char *) "self", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= SWIG_FromInt((int)result
);
6204 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6206 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6209 int arg4
= (int) 5 ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 PyObject
* obj2
= 0 ;
6214 PyObject
* obj3
= 0 ;
6216 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6222 arg2
= (int) SWIG_AsInt(obj1
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6224 arg3
= (int) SWIG_AsInt(obj2
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 arg4
= (int) SWIG_AsInt(obj3
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6246 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6251 (char *) "self", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 (arg1
)->SizeWindows();
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 Py_INCREF(Py_None
); resultobj
= Py_None
;
6271 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6278 (char *) "self",(char *) "needUpdating", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6284 arg2
= (bool) SWIG_AsBool(obj1
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 (arg1
)->SetNeedUpdating(arg2
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 Py_INCREF(Py_None
); resultobj
= Py_None
;
6300 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6306 (char *) "self", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6328 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6331 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6333 return Py_BuildValue((char *)"");
6335 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6338 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6339 wxSplitterEvent
*result
;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6343 (char *) "type",(char *) "splitter", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6348 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6369 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6374 PyObject
* obj1
= 0 ;
6376 (char *) "self",(char *) "pos", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6382 arg2
= (int) SWIG_AsInt(obj1
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 (arg1
)->SetSashPosition(arg2
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 Py_INCREF(Py_None
); resultobj
= Py_None
;
6398 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6402 PyObject
* obj0
= 0 ;
6404 (char *) "self", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_FromInt((int)result
);
6424 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6430 (char *) "self", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= wxPyMake_wxObject(result
);
6452 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6456 PyObject
* obj0
= 0 ;
6458 (char *) "self", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= SWIG_FromInt((int)result
);
6478 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6482 PyObject
* obj0
= 0 ;
6484 (char *) "self", NULL
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_FromInt((int)result
);
6504 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6507 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6509 return Py_BuildValue((char *)"");
6511 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6512 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6517 static PyObject
*_wrap_SashNameStr_get() {
6522 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6524 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6531 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6532 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6537 static PyObject
*_wrap_SashLayoutNameStr_get() {
6542 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6544 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6551 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxWindow
*arg1
= (wxWindow
*) 0 ;
6555 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6556 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6557 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6558 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6559 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6560 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6561 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6562 wxSashWindow
*result
;
6565 bool temp6
= False
;
6566 PyObject
* obj0
= 0 ;
6567 PyObject
* obj1
= 0 ;
6568 PyObject
* obj2
= 0 ;
6569 PyObject
* obj3
= 0 ;
6570 PyObject
* obj4
= 0 ;
6571 PyObject
* obj5
= 0 ;
6573 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6579 arg2
= (int) SWIG_AsInt(obj1
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6584 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6590 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6594 arg5
= (long) SWIG_AsLong(obj4
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6599 arg6
= wxString_in_helper(obj5
);
6600 if (arg6
== NULL
) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6626 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
*resultobj
;
6628 wxSashWindow
*result
;
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (wxSashWindow
*)new wxSashWindow();
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6648 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6651 wxWindow
*arg2
= (wxWindow
*) 0 ;
6653 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6654 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6655 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6656 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6657 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6658 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6659 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6663 bool temp7
= False
;
6664 PyObject
* obj0
= 0 ;
6665 PyObject
* obj1
= 0 ;
6666 PyObject
* obj2
= 0 ;
6667 PyObject
* obj3
= 0 ;
6668 PyObject
* obj4
= 0 ;
6669 PyObject
* obj5
= 0 ;
6670 PyObject
* obj6
= 0 ;
6672 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6680 arg3
= (int) SWIG_AsInt(obj2
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6685 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6691 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6695 arg6
= (long) SWIG_AsLong(obj5
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6700 arg7
= wxString_in_helper(obj6
);
6701 if (arg7
== NULL
) SWIG_fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6729 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
;
6731 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6734 PyObject
* obj0
= 0 ;
6735 PyObject
* obj1
= 0 ;
6736 PyObject
* obj2
= 0 ;
6738 (char *) "self",(char *) "edge",(char *) "sash", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6744 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6746 arg3
= (bool) SWIG_AsBool(obj2
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 Py_INCREF(Py_None
); resultobj
= Py_None
;
6762 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6770 (char *) "self",(char *) "edge", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6776 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6794 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6799 PyObject
* obj0
= 0 ;
6800 PyObject
* obj1
= 0 ;
6801 PyObject
* obj2
= 0 ;
6803 (char *) "self",(char *) "edge",(char *) "border", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6809 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6811 arg3
= (bool) SWIG_AsBool(obj2
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 Py_INCREF(Py_None
); resultobj
= Py_None
;
6827 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6835 (char *) "self",(char *) "edge", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6841 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6859 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6867 (char *) "self",(char *) "edge", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6873 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_FromInt((int)result
);
6889 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6896 (char *) "self",(char *) "width", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 arg2
= (int) SWIG_AsInt(obj1
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 (arg1
)->SetDefaultBorderSize(arg2
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 Py_INCREF(Py_None
); resultobj
= Py_None
;
6918 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "self", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_FromInt((int)result
);
6944 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6951 (char *) "self",(char *) "width", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6957 arg2
= (int) SWIG_AsInt(obj1
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 (arg1
)->SetExtraBorderSize(arg2
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 Py_INCREF(Py_None
); resultobj
= Py_None
;
6973 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6977 PyObject
* obj0
= 0 ;
6979 (char *) "self", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= SWIG_FromInt((int)result
);
6999 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7006 (char *) "self",(char *) "min", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 arg2
= (int) SWIG_AsInt(obj1
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 (arg1
)->SetMinimumSizeX(arg2
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 Py_INCREF(Py_None
); resultobj
= Py_None
;
7028 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7032 PyObject
* obj0
= 0 ;
7033 PyObject
* obj1
= 0 ;
7035 (char *) "self",(char *) "min", NULL
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7041 arg2
= (int) SWIG_AsInt(obj1
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 (arg1
)->SetMinimumSizeY(arg2
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 Py_INCREF(Py_None
); resultobj
= Py_None
;
7057 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
;
7059 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7061 PyObject
* obj0
= 0 ;
7063 (char *) "self", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_FromInt((int)result
);
7083 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7089 (char *) "self", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= SWIG_FromInt((int)result
);
7109 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
;
7111 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7116 (char *) "self",(char *) "max", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7122 arg2
= (int) SWIG_AsInt(obj1
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 (arg1
)->SetMaximumSizeX(arg2
);
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7131 Py_INCREF(Py_None
); resultobj
= Py_None
;
7138 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7142 PyObject
* obj0
= 0 ;
7143 PyObject
* obj1
= 0 ;
7145 (char *) "self",(char *) "max", NULL
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7151 arg2
= (int) SWIG_AsInt(obj1
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 (arg1
)->SetMaximumSizeY(arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 Py_INCREF(Py_None
); resultobj
= Py_None
;
7167 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7173 (char *) "self", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_FromInt((int)result
);
7193 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7199 (char *) "self", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= SWIG_FromInt((int)result
);
7219 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7224 int arg4
= (int) 2 ;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7228 PyObject
* obj2
= 0 ;
7229 PyObject
* obj3
= 0 ;
7231 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7237 arg2
= (int) SWIG_AsInt(obj1
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7239 arg3
= (int) SWIG_AsInt(obj2
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 arg4
= (int) SWIG_AsInt(obj3
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_FromInt((int)result
);
7259 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7262 PyObject
* obj0
= 0 ;
7264 (char *) "self", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 (arg1
)->SizeWindows();
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 Py_INCREF(Py_None
); resultobj
= Py_None
;
7284 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7287 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7289 return Py_BuildValue((char *)"");
7291 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 int arg1
= (int) 0 ;
7294 int arg2
= (int) wxSASH_NONE
;
7295 wxSashEvent
*result
;
7296 PyObject
* obj0
= 0 ;
7297 PyObject
* obj1
= 0 ;
7299 (char *) "id",(char *) "edge", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7304 arg1
= (int) SWIG_AsInt(obj0
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7308 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7325 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7332 (char *) "self",(char *) "edge", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7338 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 Py_INCREF(Py_None
); resultobj
= Py_None
;
7354 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7358 PyObject
* obj0
= 0 ;
7360 (char *) "self", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= SWIG_FromInt((int)result
);
7380 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
;
7382 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7388 (char *) "self",(char *) "rect", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 Py_INCREF(Py_None
); resultobj
= Py_None
;
7412 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7416 PyObject
* obj0
= 0 ;
7418 (char *) "self", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7433 resultptr
= new wxRect((wxRect
&) result
);
7434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7442 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "status", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 Py_INCREF(Py_None
); resultobj
= Py_None
;
7471 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_FromInt((int)result
);
7497 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7500 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7502 return Py_BuildValue((char *)"");
7504 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 int arg1
= (int) 0 ;
7507 wxQueryLayoutInfoEvent
*result
;
7508 PyObject
* obj0
= 0 ;
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7515 arg1
= (int) SWIG_AsInt(obj0
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7532 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7534 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7536 PyObject
* obj0
= 0 ;
7537 PyObject
* obj1
= 0 ;
7539 (char *) "self",(char *) "length", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7545 arg2
= (int) SWIG_AsInt(obj1
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 (arg1
)->SetRequestedLength(arg2
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 Py_INCREF(Py_None
); resultobj
= Py_None
;
7561 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7565 PyObject
* obj0
= 0 ;
7567 (char *) "self", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= SWIG_FromInt((int)result
);
7587 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
*resultobj
;
7589 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7591 PyObject
* obj0
= 0 ;
7592 PyObject
* obj1
= 0 ;
7594 (char *) "self",(char *) "flags", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7600 arg2
= (int) SWIG_AsInt(obj1
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 (arg1
)->SetFlags(arg2
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 Py_INCREF(Py_None
); resultobj
= Py_None
;
7616 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7620 PyObject
* obj0
= 0 ;
7622 (char *) "self", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_FromInt((int)result
);
7642 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7644 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7650 (char *) "self",(char *) "size", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7658 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 (arg1
)->SetSize((wxSize
const &)*arg2
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 Py_INCREF(Py_None
); resultobj
= Py_None
;
7674 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7680 (char *) "self", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7695 resultptr
= new wxSize((wxSize
&) result
);
7696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7704 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7711 (char *) "self",(char *) "orient", NULL
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7717 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 Py_INCREF(Py_None
); resultobj
= Py_None
;
7733 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "self", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_FromInt((int)result
);
7759 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
;
7761 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7763 PyObject
* obj0
= 0 ;
7764 PyObject
* obj1
= 0 ;
7766 (char *) "self",(char *) "align", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7772 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 Py_INCREF(Py_None
); resultobj
= Py_None
;
7788 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7794 (char *) "self", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_FromInt((int)result
);
7814 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7817 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7819 return Py_BuildValue((char *)"");
7821 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 int arg1
= (int) 0 ;
7824 wxCalculateLayoutEvent
*result
;
7825 PyObject
* obj0
= 0 ;
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7832 arg1
= (int) SWIG_AsInt(obj0
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7849 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7856 (char *) "self",(char *) "flags", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7862 arg2
= (int) SWIG_AsInt(obj1
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 (arg1
)->SetFlags(arg2
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 Py_INCREF(Py_None
); resultobj
= Py_None
;
7878 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7884 (char *) "self", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= SWIG_FromInt((int)result
);
7904 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7912 (char *) "self",(char *) "rect", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7920 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 (arg1
)->SetRect((wxRect
const &)*arg2
);
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 Py_INCREF(Py_None
); resultobj
= Py_None
;
7936 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7942 (char *) "self", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7957 resultptr
= new wxRect((wxRect
&) result
);
7958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7966 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7969 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7971 return Py_BuildValue((char *)"");
7973 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
;
7975 wxWindow
*arg1
= (wxWindow
*) 0 ;
7977 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7978 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7979 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7980 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7981 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7982 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7983 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7984 wxSashLayoutWindow
*result
;
7987 bool temp6
= False
;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7990 PyObject
* obj2
= 0 ;
7991 PyObject
* obj3
= 0 ;
7992 PyObject
* obj4
= 0 ;
7993 PyObject
* obj5
= 0 ;
7995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8001 arg2
= (int) SWIG_AsInt(obj1
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8006 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8012 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8016 arg5
= (long) SWIG_AsLong(obj4
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8021 arg6
= wxString_in_helper(obj5
);
8022 if (arg6
== NULL
) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8048 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
;
8050 wxSashLayoutWindow
*result
;
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8070 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
;
8072 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8073 wxWindow
*arg2
= (wxWindow
*) 0 ;
8075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8079 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8080 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8081 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8085 bool temp7
= False
;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8088 PyObject
* obj2
= 0 ;
8089 PyObject
* obj3
= 0 ;
8090 PyObject
* obj4
= 0 ;
8091 PyObject
* obj5
= 0 ;
8092 PyObject
* obj6
= 0 ;
8094 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8102 arg3
= (int) SWIG_AsInt(obj2
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8107 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8113 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8117 arg6
= (long) SWIG_AsLong(obj5
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8122 arg7
= wxString_in_helper(obj6
);
8123 if (arg7
== NULL
) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8151 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (int)(arg1
)->GetAlignment();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_FromInt((int)result
);
8177 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8181 PyObject
* obj0
= 0 ;
8183 (char *) "self", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (int)(arg1
)->GetOrientation();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_FromInt((int)result
);
8203 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8208 PyObject
* obj1
= 0 ;
8210 (char *) "self",(char *) "alignment", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8216 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 Py_INCREF(Py_None
); resultobj
= Py_None
;
8232 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8237 PyObject
* obj0
= 0 ;
8238 PyObject
* obj1
= 0 ;
8240 (char *) "self",(char *) "size", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8248 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 Py_INCREF(Py_None
); resultobj
= Py_None
;
8264 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8268 PyObject
* obj0
= 0 ;
8269 PyObject
* obj1
= 0 ;
8271 (char *) "self",(char *) "orientation", NULL
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8277 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 Py_INCREF(Py_None
); resultobj
= Py_None
;
8293 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8296 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8298 return Py_BuildValue((char *)"");
8300 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxLayoutAlgorithm
*result
;
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8310 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8322 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8325 PyObject
* obj0
= 0 ;
8327 (char *) "self", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 Py_INCREF(Py_None
); resultobj
= Py_None
;
8347 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8350 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8351 wxRect
*arg3
= (wxRect
*) NULL
;
8353 PyObject
* obj0
= 0 ;
8354 PyObject
* obj1
= 0 ;
8355 PyObject
* obj2
= 0 ;
8357 (char *) "self",(char *) "frame",(char *) "rect", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8385 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8388 wxFrame
*arg2
= (wxFrame
*) 0 ;
8389 wxWindow
*arg3
= (wxWindow
*) NULL
;
8391 PyObject
* obj0
= 0 ;
8392 PyObject
* obj1
= 0 ;
8393 PyObject
* obj2
= 0 ;
8395 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8404 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8423 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8426 wxWindow
*arg2
= (wxWindow
*) 0 ;
8427 wxWindow
*arg3
= (wxWindow
*) NULL
;
8429 PyObject
* obj0
= 0 ;
8430 PyObject
* obj1
= 0 ;
8431 PyObject
* obj2
= 0 ;
8433 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8442 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8461 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8464 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8466 return Py_BuildValue((char *)"");
8468 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
*resultobj
;
8470 wxWindow
*arg1
= (wxWindow
*) 0 ;
8471 int arg2
= (int) wxBORDER_NONE
;
8472 wxPopupWindow
*result
;
8473 PyObject
* obj0
= 0 ;
8474 PyObject
* obj1
= 0 ;
8476 (char *) "parent",(char *) "flags", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8483 arg2
= (int) SWIG_AsInt(obj1
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8488 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8500 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
*resultobj
;
8502 wxPopupWindow
*result
;
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (wxPopupWindow
*)new wxPopupWindow();
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8522 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8525 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8527 return Py_BuildValue((char *)"");
8529 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxWindow
*arg1
= (wxWindow
*) 0 ;
8532 int arg2
= (int) wxBORDER_NONE
;
8533 wxPyPopupTransientWindow
*result
;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8537 (char *) "parent",(char *) "style", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8544 arg2
= (int) SWIG_AsInt(obj1
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8561 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxPyPopupTransientWindow
*result
;
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8583 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8586 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8588 return Py_BuildValue((char *)"");
8590 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxWindow
*arg1
= (wxWindow
*) 0 ;
8593 wxString
*arg2
= 0 ;
8594 int arg3
= (int) 100 ;
8595 wxRect
*arg4
= (wxRect
*) NULL
;
8596 wxTipWindow
*result
;
8597 bool temp2
= False
;
8598 PyObject
* obj0
= 0 ;
8599 PyObject
* obj1
= 0 ;
8600 PyObject
* obj2
= 0 ;
8601 PyObject
* obj3
= 0 ;
8603 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8610 arg2
= wxString_in_helper(obj1
);
8611 if (arg2
== NULL
) SWIG_fail
;
8615 arg3
= (int) SWIG_AsInt(obj2
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8644 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
;
8646 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8652 (char *) "self",(char *) "rectBound", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8660 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 Py_INCREF(Py_None
); resultobj
= Py_None
;
8676 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
;
8678 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8681 (char *) "self", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8704 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8706 return Py_BuildValue((char *)"");
8708 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxWindow
*arg1
= (wxWindow
*) 0 ;
8711 int arg2
= (int) wxID_ANY
;
8712 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8713 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8714 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8715 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8716 long arg5
= (long) 0 ;
8717 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8718 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8719 wxPyVScrolledWindow
*result
;
8722 bool temp6
= False
;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8725 PyObject
* obj2
= 0 ;
8726 PyObject
* obj3
= 0 ;
8727 PyObject
* obj4
= 0 ;
8728 PyObject
* obj5
= 0 ;
8730 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8737 arg2
= (int) SWIG_AsInt(obj1
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8743 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8749 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8753 arg5
= (long) SWIG_AsLong(obj4
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8758 arg6
= wxString_in_helper(obj5
);
8759 if (arg6
== NULL
) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8785 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxPyVScrolledWindow
*result
;
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8807 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8810 PyObject
*arg2
= (PyObject
*) 0 ;
8811 PyObject
*arg3
= (PyObject
*) 0 ;
8812 PyObject
* obj0
= 0 ;
8813 PyObject
* obj1
= 0 ;
8814 PyObject
* obj2
= 0 ;
8816 (char *) "self",(char *) "self",(char *) "_class", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 Py_INCREF(Py_None
); resultobj
= Py_None
;
8838 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8841 wxWindow
*arg2
= (wxWindow
*) 0 ;
8842 int arg3
= (int) wxID_ANY
;
8843 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8844 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8845 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8846 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8847 long arg6
= (long) 0 ;
8848 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8849 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8853 bool temp7
= False
;
8854 PyObject
* obj0
= 0 ;
8855 PyObject
* obj1
= 0 ;
8856 PyObject
* obj2
= 0 ;
8857 PyObject
* obj3
= 0 ;
8858 PyObject
* obj4
= 0 ;
8859 PyObject
* obj5
= 0 ;
8860 PyObject
* obj6
= 0 ;
8862 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8871 arg3
= (int) SWIG_AsInt(obj2
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8887 arg6
= (long) SWIG_AsLong(obj5
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8892 arg7
= wxString_in_helper(obj6
);
8893 if (arg7
== NULL
) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8921 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
;
8923 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8925 PyObject
* obj0
= 0 ;
8926 PyObject
* obj1
= 0 ;
8928 (char *) "self",(char *) "count", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 (arg1
)->SetLineCount(arg2
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 Py_INCREF(Py_None
); resultobj
= Py_None
;
8950 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8952 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8958 (char *) "self",(char *) "line", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8964 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8982 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8987 PyObject
* obj0
= 0 ;
8988 PyObject
* obj1
= 0 ;
8990 (char *) "self",(char *) "lines", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8996 arg2
= (int) SWIG_AsInt(obj1
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 result
= (bool)(arg1
)->ScrollLines(arg2
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9014 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9022 (char *) "self",(char *) "pages", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9028 arg2
= (int) SWIG_AsInt(obj1
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (bool)(arg1
)->ScrollPages(arg2
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9046 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
;
9048 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9053 (char *) "self",(char *) "line", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9059 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 (arg1
)->RefreshLine(arg2
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 Py_INCREF(Py_None
); resultobj
= Py_None
;
9075 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9080 PyObject
* obj0
= 0 ;
9081 PyObject
* obj1
= 0 ;
9082 PyObject
* obj2
= 0 ;
9084 (char *) "self",(char *) "from",(char *) "to", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9090 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9092 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 (arg1
)->RefreshLines(arg2
,arg3
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 Py_INCREF(Py_None
); resultobj
= Py_None
;
9108 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9114 PyObject
* obj0
= 0 ;
9115 PyObject
* obj1
= 0 ;
9116 PyObject
* obj2
= 0 ;
9118 (char *) "self",(char *) "x",(char *) "y", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9124 arg2
= (int) SWIG_AsInt(obj1
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9126 arg3
= (int) SWIG_AsInt(obj2
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_FromInt((int)result
);
9142 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9151 (char *) "self",(char *) "pt", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9159 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= SWIG_FromInt((int)result
);
9175 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9180 (char *) "self", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 (arg1
)->RefreshAll();
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 Py_INCREF(Py_None
); resultobj
= Py_None
;
9200 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9206 (char *) "self", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9226 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
;
9228 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9230 PyObject
* obj0
= 0 ;
9232 (char *) "self", NULL
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9252 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9256 PyObject
* obj0
= 0 ;
9258 (char *) "self", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9278 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9283 PyObject
* obj0
= 0 ;
9284 PyObject
* obj1
= 0 ;
9286 (char *) "self",(char *) "line", NULL
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9292 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9310 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9313 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9315 return Py_BuildValue((char *)"");
9317 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9318 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9323 static PyObject
*_wrap_VListBoxNameStr_get() {
9328 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9330 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9337 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxWindow
*arg1
= (wxWindow
*) 0 ;
9340 int arg2
= (int) wxID_ANY
;
9341 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9342 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9343 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9344 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9345 long arg5
= (long) 0 ;
9346 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9347 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9348 wxPyVListBox
*result
;
9351 bool temp6
= False
;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9354 PyObject
* obj2
= 0 ;
9355 PyObject
* obj3
= 0 ;
9356 PyObject
* obj4
= 0 ;
9357 PyObject
* obj5
= 0 ;
9359 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 arg2
= (int) SWIG_AsInt(obj1
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9372 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9378 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9382 arg5
= (long) SWIG_AsLong(obj4
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9387 arg6
= wxString_in_helper(obj5
);
9388 if (arg6
== NULL
) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9414 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxPyVListBox
*result
;
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (wxPyVListBox
*)new wxPyVListBox();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9436 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9439 PyObject
*arg2
= (PyObject
*) 0 ;
9440 PyObject
*arg3
= (PyObject
*) 0 ;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9443 PyObject
* obj2
= 0 ;
9445 (char *) "self",(char *) "self",(char *) "_class", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 Py_INCREF(Py_None
); resultobj
= Py_None
;
9467 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9470 wxWindow
*arg2
= (wxWindow
*) 0 ;
9471 int arg3
= (int) wxID_ANY
;
9472 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9473 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9474 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9475 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9476 long arg6
= (long) 0 ;
9477 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9478 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9482 bool temp7
= False
;
9483 PyObject
* obj0
= 0 ;
9484 PyObject
* obj1
= 0 ;
9485 PyObject
* obj2
= 0 ;
9486 PyObject
* obj3
= 0 ;
9487 PyObject
* obj4
= 0 ;
9488 PyObject
* obj5
= 0 ;
9489 PyObject
* obj6
= 0 ;
9491 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 arg3
= (int) SWIG_AsInt(obj2
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9506 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9512 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9516 arg6
= (long) SWIG_AsLong(obj5
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9521 arg7
= wxString_in_helper(obj6
);
9522 if (arg7
== NULL
) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9550 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9556 (char *) "self", NULL
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9576 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9580 PyObject
* obj0
= 0 ;
9582 (char *) "self", NULL
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9604 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9608 PyObject
* obj0
= 0 ;
9610 (char *) "self", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_FromInt((int)result
);
9630 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9636 PyObject
* obj1
= 0 ;
9638 (char *) "self",(char *) "item", NULL
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9644 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9662 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9667 PyObject
* obj0
= 0 ;
9668 PyObject
* obj1
= 0 ;
9670 (char *) "self",(char *) "item", NULL
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9676 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9694 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9700 (char *) "self", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9720 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9723 unsigned long *arg2
= 0 ;
9725 PyObject
* obj0
= 0 ;
9726 PyObject
* obj1
= 0 ;
9728 (char *) "self",(char *) "cookie", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9738 PyErr_SetString(PyExc_TypeError
,"null reference");
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= SWIG_FromInt((int)result
);
9755 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9758 unsigned long *arg2
= 0 ;
9760 PyObject
* obj0
= 0 ;
9761 PyObject
* obj1
= 0 ;
9763 (char *) "self",(char *) "cookie", NULL
9766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9773 PyErr_SetString(PyExc_TypeError
,"null reference");
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_FromInt((int)result
);
9790 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9794 PyObject
* obj0
= 0 ;
9796 (char *) "self", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9810 wxPoint
* resultptr
;
9811 resultptr
= new wxPoint((wxPoint
&) result
);
9812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9820 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9824 PyObject
* obj0
= 0 ;
9826 (char *) "self", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9836 result
= (wxColour
*) &_result_ref
;
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9849 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9853 PyObject
* obj0
= 0 ;
9854 PyObject
* obj1
= 0 ;
9856 (char *) "self",(char *) "count", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9862 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 (arg1
)->SetItemCount(arg2
);
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9871 Py_INCREF(Py_None
); resultobj
= Py_None
;
9878 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "self", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 Py_INCREF(Py_None
); resultobj
= Py_None
;
9903 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9907 PyObject
* obj0
= 0 ;
9908 PyObject
* obj1
= 0 ;
9910 (char *) "self",(char *) "selection", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9916 arg2
= (int) SWIG_AsInt(obj1
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 (arg1
)->SetSelection(arg2
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 Py_INCREF(Py_None
); resultobj
= Py_None
;
9932 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
;
9934 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9936 bool arg3
= (bool) True
;
9938 PyObject
* obj0
= 0 ;
9939 PyObject
* obj1
= 0 ;
9940 PyObject
* obj2
= 0 ;
9942 (char *) "self",(char *) "item",(char *) "select", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9948 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 arg3
= (bool) SWIG_AsBool(obj2
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9970 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9977 PyObject
* obj1
= 0 ;
9978 PyObject
* obj2
= 0 ;
9980 (char *) "self",(char *) "from",(char *) "to", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9986 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9988 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10006 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self",(char *) "item", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10019 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 (arg1
)->Toggle(arg2
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 Py_INCREF(Py_None
); resultobj
= Py_None
;
10035 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10039 PyObject
* obj0
= 0 ;
10040 char *kwnames
[] = {
10041 (char *) "self", NULL
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= (bool)(arg1
)->SelectAll();
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10063 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 result
= (bool)(arg1
)->DeselectAll();
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10091 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10094 wxPoint
*arg2
= 0 ;
10096 PyObject
* obj0
= 0 ;
10097 PyObject
* obj1
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self",(char *) "pt", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 Py_INCREF(Py_None
); resultobj
= Py_None
;
10123 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 PyObject
* obj2
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self",(char *) "x",(char *) "y", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10138 arg2
= (int) SWIG_AsInt(obj1
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10140 arg3
= (int) SWIG_AsInt(obj2
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 (arg1
)->SetMargins(arg2
,arg3
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 Py_INCREF(Py_None
); resultobj
= Py_None
;
10156 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10159 wxColour
*arg2
= 0 ;
10161 PyObject
* obj0
= 0 ;
10162 PyObject
* obj1
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self",(char *) "col", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 Py_INCREF(Py_None
); resultobj
= Py_None
;
10188 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10191 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10193 return Py_BuildValue((char *)"");
10195 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10197 wxWindow
*arg1
= (wxWindow
*) 0 ;
10198 int arg2
= (int) wxID_ANY
;
10199 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10200 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10201 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10202 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10203 long arg5
= (long) 0 ;
10204 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10205 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10206 wxPyHtmlListBox
*result
;
10209 bool temp6
= False
;
10210 PyObject
* obj0
= 0 ;
10211 PyObject
* obj1
= 0 ;
10212 PyObject
* obj2
= 0 ;
10213 PyObject
* obj3
= 0 ;
10214 PyObject
* obj4
= 0 ;
10215 PyObject
* obj5
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10224 arg2
= (int) SWIG_AsInt(obj1
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10230 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10236 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10240 arg5
= (long) SWIG_AsLong(obj4
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10245 arg6
= wxString_in_helper(obj5
);
10246 if (arg6
== NULL
) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10272 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10274 wxPyHtmlListBox
*result
;
10275 char *kwnames
[] = {
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10294 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10297 PyObject
*arg2
= (PyObject
*) 0 ;
10298 PyObject
*arg3
= (PyObject
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 PyObject
* obj2
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self",(char *) "self",(char *) "_class", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 Py_INCREF(Py_None
); resultobj
= Py_None
;
10325 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10328 wxWindow
*arg2
= (wxWindow
*) 0 ;
10329 int arg3
= (int) wxID_ANY
;
10330 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10331 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10332 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10333 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10334 long arg6
= (long) 0 ;
10335 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10336 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10340 bool temp7
= False
;
10341 PyObject
* obj0
= 0 ;
10342 PyObject
* obj1
= 0 ;
10343 PyObject
* obj2
= 0 ;
10344 PyObject
* obj3
= 0 ;
10345 PyObject
* obj4
= 0 ;
10346 PyObject
* obj5
= 0 ;
10347 PyObject
* obj6
= 0 ;
10348 char *kwnames
[] = {
10349 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10358 arg3
= (int) SWIG_AsInt(obj2
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10364 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10370 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10374 arg6
= (long) SWIG_AsLong(obj5
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10379 arg7
= wxString_in_helper(obj6
);
10380 if (arg7
== NULL
) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10408 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10411 PyObject
* obj0
= 0 ;
10412 char *kwnames
[] = {
10413 (char *) "self", NULL
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 (arg1
)->RefreshAll();
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 Py_INCREF(Py_None
); resultobj
= Py_None
;
10433 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10437 PyObject
* obj0
= 0 ;
10438 PyObject
* obj1
= 0 ;
10439 char *kwnames
[] = {
10440 (char *) "self",(char *) "count", NULL
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10446 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 (arg1
)->SetItemCount(arg2
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 Py_INCREF(Py_None
); resultobj
= Py_None
;
10462 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10465 wxFileSystem
*result
;
10466 PyObject
* obj0
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10478 result
= (wxFileSystem
*) &_result_ref
;
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10491 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10494 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10496 return Py_BuildValue((char *)"");
10498 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
;
10500 wxTaskBarIcon
*result
;
10501 char *kwnames
[] = {
10505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10520 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10523 PyObject
* obj0
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 Py_INCREF(Py_None
); resultobj
= Py_None
;
10545 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10548 PyObject
* obj0
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 wxTaskBarIcon_Destroy(arg1
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 Py_INCREF(Py_None
); resultobj
= Py_None
;
10570 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10573 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10575 return Py_BuildValue((char *)"");
10577 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10580 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10581 wxTaskBarIconEvent
*result
;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 char *kwnames
[] = {
10585 (char *) "evtType",(char *) "tbIcon", NULL
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10589 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10607 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10610 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10612 return Py_BuildValue((char *)"");
10614 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10615 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10620 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10625 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10627 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10634 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10635 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10640 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10645 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10647 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10654 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10655 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10660 static PyObject
*_wrap_DirDialogNameStr_get() {
10665 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10667 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10674 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10675 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10680 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10685 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10687 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10694 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10695 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10700 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10705 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10707 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10714 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10715 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10720 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10725 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10727 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10734 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10736 wxColourData
*result
;
10737 char *kwnames
[] = {
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (wxColourData
*)new wxColourData();
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10756 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
;
10758 wxColourData
*arg1
= (wxColourData
*) 0 ;
10759 PyObject
* obj0
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 Py_INCREF(Py_None
); resultobj
= Py_None
;
10781 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxColourData
*arg1
= (wxColourData
*) 0 ;
10785 PyObject
* obj0
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 result
= (bool)(arg1
)->GetChooseFull();
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10809 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxColourData
*arg1
= (wxColourData
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 result
= (arg1
)->GetColour();
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10829 wxColour
* resultptr
;
10830 resultptr
= new wxColour((wxColour
&) result
);
10831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10839 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
;
10841 wxColourData
*arg1
= (wxColourData
*) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 PyObject
* obj1
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "i", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 arg2
= (int) SWIG_AsInt(obj1
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 result
= (arg1
)->GetCustomColour(arg2
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10863 wxColour
* resultptr
;
10864 resultptr
= new wxColour((wxColour
&) result
);
10865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10873 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxColourData
*arg1
= (wxColourData
*) 0 ;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self",(char *) "flag", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10886 arg2
= (int) SWIG_AsInt(obj1
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 (arg1
)->SetChooseFull(arg2
);
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 Py_INCREF(Py_None
); resultobj
= Py_None
;
10902 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxColourData
*arg1
= (wxColourData
*) 0 ;
10905 wxColour
*arg2
= 0 ;
10907 PyObject
* obj0
= 0 ;
10908 PyObject
* obj1
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self",(char *) "colour", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10918 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 (arg1
)->SetColour((wxColour
const &)*arg2
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 Py_INCREF(Py_None
); resultobj
= Py_None
;
10934 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
;
10936 wxColourData
*arg1
= (wxColourData
*) 0 ;
10938 wxColour
*arg3
= 0 ;
10940 PyObject
* obj0
= 0 ;
10941 PyObject
* obj1
= 0 ;
10942 PyObject
* obj2
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self",(char *) "i",(char *) "colour", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10950 arg2
= (int) SWIG_AsInt(obj1
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10954 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 Py_INCREF(Py_None
); resultobj
= Py_None
;
10970 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
10972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10973 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10975 return Py_BuildValue((char *)"");
10977 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 wxWindow
*arg1
= (wxWindow
*) 0 ;
10980 wxColourData
*arg2
= (wxColourData
*) NULL
;
10981 wxColourDialog
*result
;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "parent",(char *) "data", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
10993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11009 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
;
11011 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11012 wxColourData
*result
;
11013 PyObject
* obj0
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11025 result
= (wxColourData
*) &_result_ref
;
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11038 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11041 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11043 return Py_BuildValue((char *)"");
11045 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxWindow
*arg1
= (wxWindow
*) 0 ;
11048 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11049 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11050 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11051 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11052 long arg4
= (long) 0 ;
11053 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11054 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11055 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11056 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11057 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11058 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11059 wxDirDialog
*result
;
11060 bool temp2
= False
;
11061 bool temp3
= False
;
11064 bool temp7
= False
;
11065 PyObject
* obj0
= 0 ;
11066 PyObject
* obj1
= 0 ;
11067 PyObject
* obj2
= 0 ;
11068 PyObject
* obj3
= 0 ;
11069 PyObject
* obj4
= 0 ;
11070 PyObject
* obj5
= 0 ;
11071 PyObject
* obj6
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 arg2
= wxString_in_helper(obj1
);
11082 if (arg2
== NULL
) SWIG_fail
;
11088 arg3
= wxString_in_helper(obj2
);
11089 if (arg3
== NULL
) SWIG_fail
;
11094 arg4
= (long) SWIG_AsLong(obj3
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11100 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11106 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11111 arg7
= wxString_in_helper(obj6
);
11112 if (arg7
== NULL
) SWIG_fail
;
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11154 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11158 PyObject
* obj0
= 0 ;
11159 char *kwnames
[] = {
11160 (char *) "self", NULL
11163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 result
= (arg1
)->GetPath();
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11186 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 char *kwnames
[] = {
11192 (char *) "self", NULL
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (arg1
)->GetMessage();
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11218 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11222 PyObject
* obj0
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 result
= (long)(arg1
)->GetStyle();
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 resultobj
= SWIG_FromLong((long)result
);
11244 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11247 wxString
*arg2
= 0 ;
11248 bool temp2
= False
;
11249 PyObject
* obj0
= 0 ;
11250 PyObject
* obj1
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "self",(char *) "message", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11259 arg2
= wxString_in_helper(obj1
);
11260 if (arg2
== NULL
) SWIG_fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 (arg1
)->SetMessage((wxString
const &)*arg2
);
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11270 Py_INCREF(Py_None
); resultobj
= Py_None
;
11285 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
;
11287 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11288 wxString
*arg2
= 0 ;
11289 bool temp2
= False
;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 char *kwnames
[] = {
11293 (char *) "self",(char *) "path", NULL
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11300 arg2
= wxString_in_helper(obj1
);
11301 if (arg2
== NULL
) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 (arg1
)->SetPath((wxString
const &)*arg2
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 Py_INCREF(Py_None
); resultobj
= Py_None
;
11326 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11329 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11331 return Py_BuildValue((char *)"");
11333 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxWindow
*arg1
= (wxWindow
*) 0 ;
11336 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11337 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11338 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11339 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11340 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11341 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11342 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11343 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11344 long arg6
= (long) 0 ;
11345 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11346 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11347 wxFileDialog
*result
;
11348 bool temp2
= False
;
11349 bool temp3
= False
;
11350 bool temp4
= False
;
11351 bool temp5
= False
;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 PyObject
* obj2
= 0 ;
11356 PyObject
* obj3
= 0 ;
11357 PyObject
* obj4
= 0 ;
11358 PyObject
* obj5
= 0 ;
11359 PyObject
* obj6
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11369 arg2
= wxString_in_helper(obj1
);
11370 if (arg2
== NULL
) SWIG_fail
;
11376 arg3
= wxString_in_helper(obj2
);
11377 if (arg3
== NULL
) SWIG_fail
;
11383 arg4
= wxString_in_helper(obj3
);
11384 if (arg4
== NULL
) SWIG_fail
;
11390 arg5
= wxString_in_helper(obj4
);
11391 if (arg5
== NULL
) SWIG_fail
;
11396 arg6
= (long) SWIG_AsLong(obj5
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11402 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11451 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11454 wxString
*arg2
= 0 ;
11455 bool temp2
= False
;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "self",(char *) "message", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11466 arg2
= wxString_in_helper(obj1
);
11467 if (arg2
== NULL
) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 (arg1
)->SetMessage((wxString
const &)*arg2
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 Py_INCREF(Py_None
); resultobj
= Py_None
;
11492 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11495 wxString
*arg2
= 0 ;
11496 bool temp2
= False
;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self",(char *) "path", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11507 arg2
= wxString_in_helper(obj1
);
11508 if (arg2
== NULL
) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 (arg1
)->SetPath((wxString
const &)*arg2
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 Py_INCREF(Py_None
); resultobj
= Py_None
;
11533 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11536 wxString
*arg2
= 0 ;
11537 bool temp2
= False
;
11538 PyObject
* obj0
= 0 ;
11539 PyObject
* obj1
= 0 ;
11540 char *kwnames
[] = {
11541 (char *) "self",(char *) "dir", NULL
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11548 arg2
= wxString_in_helper(obj1
);
11549 if (arg2
== NULL
) SWIG_fail
;
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 Py_INCREF(Py_None
); resultobj
= Py_None
;
11574 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11577 wxString
*arg2
= 0 ;
11578 bool temp2
= False
;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 char *kwnames
[] = {
11582 (char *) "self",(char *) "name", NULL
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11589 arg2
= wxString_in_helper(obj1
);
11590 if (arg2
== NULL
) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 (arg1
)->SetFilename((wxString
const &)*arg2
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 Py_INCREF(Py_None
); resultobj
= Py_None
;
11615 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
;
11617 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11618 wxString
*arg2
= 0 ;
11619 bool temp2
= False
;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self",(char *) "wildCard", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11630 arg2
= wxString_in_helper(obj1
);
11631 if (arg2
== NULL
) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 Py_INCREF(Py_None
); resultobj
= Py_None
;
11656 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11660 PyObject
* obj0
= 0 ;
11661 PyObject
* obj1
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self",(char *) "style", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11669 arg2
= (long) SWIG_AsLong(obj1
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 (arg1
)->SetStyle(arg2
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 Py_INCREF(Py_None
); resultobj
= Py_None
;
11685 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "filterIndex", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11698 arg2
= (int) SWIG_AsInt(obj1
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 (arg1
)->SetFilterIndex(arg2
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 Py_INCREF(Py_None
); resultobj
= Py_None
;
11714 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11718 PyObject
* obj0
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "self", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11746 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
;
11748 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11750 PyObject
* obj0
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11778 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11810 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11814 PyObject
* obj0
= 0 ;
11815 char *kwnames
[] = {
11816 (char *) "self", NULL
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11842 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11846 PyObject
* obj0
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "self", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11874 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11878 PyObject
* obj0
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_FromLong((long)result
);
11900 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= SWIG_FromInt((int)result
);
11926 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 resultobj
= result
;
11952 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11956 PyObject
* obj0
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= result
;
11978 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11981 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11983 return Py_BuildValue((char *)"");
11985 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxWindow
*arg1
= (wxWindow
*) 0 ;
11988 wxString
*arg2
= 0 ;
11989 wxString
*arg3
= 0 ;
11990 int arg4
= (int) 0 ;
11991 wxString
*arg5
= (wxString
*) 0 ;
11992 long arg6
= (long) wxCHOICEDLG_STYLE
;
11993 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11994 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11995 wxMultiChoiceDialog
*result
;
11996 bool temp2
= False
;
11997 bool temp3
= False
;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 PyObject
* obj2
= 0 ;
12002 PyObject
* obj3
= 0 ;
12003 PyObject
* obj4
= 0 ;
12004 PyObject
* obj5
= 0 ;
12005 char *kwnames
[] = {
12006 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12013 arg2
= wxString_in_helper(obj1
);
12014 if (arg2
== NULL
) SWIG_fail
;
12018 arg3
= wxString_in_helper(obj2
);
12019 if (arg3
== NULL
) SWIG_fail
;
12024 arg4
= PyList_Size(obj3
);
12025 arg5
= wxString_LIST_helper(obj3
);
12026 if (arg5
== NULL
) SWIG_fail
;
12030 arg6
= (long) SWIG_AsLong(obj4
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12036 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12056 if (arg5
) delete [] arg5
;
12069 if (arg5
) delete [] arg5
;
12075 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12078 wxArrayInt
*arg2
= 0 ;
12079 bool temp2
= False
;
12080 PyObject
* obj0
= 0 ;
12081 PyObject
* obj1
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self",(char *) "selections", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12090 if (! PySequence_Check(obj1
)) {
12091 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12094 arg2
= new wxArrayInt
;
12096 int i
, len
=PySequence_Length(obj1
);
12097 for (i
=0; i
<len
; i
++) {
12098 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12099 PyObject
* number
= PyNumber_Int(item
);
12100 arg2
->Add(PyInt_AS_LONG(number
));
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 Py_INCREF(Py_None
); resultobj
= Py_None
;
12114 if (temp2
) delete arg2
;
12119 if (temp2
) delete arg2
;
12125 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12129 PyObject
* obj0
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= result
;
12151 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12154 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12156 return Py_BuildValue((char *)"");
12158 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxWindow
*arg1
= (wxWindow
*) 0 ;
12161 wxString
*arg2
= 0 ;
12162 wxString
*arg3
= 0 ;
12164 wxString
*arg5
= (wxString
*) 0 ;
12165 long arg6
= (long) wxCHOICEDLG_STYLE
;
12166 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12167 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12168 wxSingleChoiceDialog
*result
;
12169 bool temp2
= False
;
12170 bool temp3
= False
;
12172 PyObject
* obj0
= 0 ;
12173 PyObject
* obj1
= 0 ;
12174 PyObject
* obj2
= 0 ;
12175 PyObject
* obj3
= 0 ;
12176 PyObject
* obj4
= 0 ;
12177 PyObject
* obj5
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12186 arg2
= wxString_in_helper(obj1
);
12187 if (arg2
== NULL
) SWIG_fail
;
12191 arg3
= wxString_in_helper(obj2
);
12192 if (arg3
== NULL
) SWIG_fail
;
12196 arg4
= PyList_Size(obj3
);
12197 arg5
= wxString_LIST_helper(obj3
);
12198 if (arg5
== NULL
) SWIG_fail
;
12201 arg6
= (long) SWIG_AsLong(obj4
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12207 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12227 if (arg5
) delete [] arg5
;
12240 if (arg5
) delete [] arg5
;
12246 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (int)(arg1
)->GetSelection();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_FromInt((int)result
);
12272 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12276 PyObject
* obj0
= 0 ;
12277 char *kwnames
[] = {
12278 (char *) "self", NULL
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (arg1
)->GetStringSelection();
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12304 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 PyObject
* obj1
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self",(char *) "sel", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12317 arg2
= (int) SWIG_AsInt(obj1
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 (arg1
)->SetSelection(arg2
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 Py_INCREF(Py_None
); resultobj
= Py_None
;
12333 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12336 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12338 return Py_BuildValue((char *)"");
12340 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
;
12342 wxWindow
*arg1
= (wxWindow
*) 0 ;
12343 wxString
*arg2
= 0 ;
12344 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12345 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12346 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12347 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12348 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12349 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12350 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12351 wxTextEntryDialog
*result
;
12352 bool temp2
= False
;
12353 bool temp3
= False
;
12354 bool temp4
= False
;
12356 PyObject
* obj0
= 0 ;
12357 PyObject
* obj1
= 0 ;
12358 PyObject
* obj2
= 0 ;
12359 PyObject
* obj3
= 0 ;
12360 PyObject
* obj4
= 0 ;
12361 PyObject
* obj5
= 0 ;
12362 char *kwnames
[] = {
12363 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12370 arg2
= wxString_in_helper(obj1
);
12371 if (arg2
== NULL
) SWIG_fail
;
12376 arg3
= wxString_in_helper(obj2
);
12377 if (arg3
== NULL
) SWIG_fail
;
12383 arg4
= wxString_in_helper(obj3
);
12384 if (arg4
== NULL
) SWIG_fail
;
12389 arg5
= (long) SWIG_AsLong(obj4
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12395 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12436 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (arg1
)->GetValue();
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12468 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12471 wxString
*arg2
= 0 ;
12472 bool temp2
= False
;
12473 PyObject
* obj0
= 0 ;
12474 PyObject
* obj1
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self",(char *) "value", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12483 arg2
= wxString_in_helper(obj1
);
12484 if (arg2
== NULL
) SWIG_fail
;
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 (arg1
)->SetValue((wxString
const &)*arg2
);
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 Py_INCREF(Py_None
); resultobj
= Py_None
;
12509 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12512 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12514 return Py_BuildValue((char *)"");
12516 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxFontData
*result
;
12519 char *kwnames
[] = {
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 result
= (wxFontData
*)new wxFontData();
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12538 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxFontData
*arg1
= (wxFontData
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 Py_INCREF(Py_None
); resultobj
= Py_None
;
12563 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxFontData
*arg1
= (wxFontData
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 PyObject
* obj1
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "self",(char *) "enable", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12576 arg2
= (bool) SWIG_AsBool(obj1
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 (arg1
)->EnableEffects(arg2
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 Py_INCREF(Py_None
); resultobj
= Py_None
;
12592 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxFontData
*arg1
= (wxFontData
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (bool)(arg1
)->GetAllowSymbols();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12620 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxFontData
*arg1
= (wxFontData
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (arg1
)->GetColour();
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12640 wxColour
* resultptr
;
12641 resultptr
= new wxColour((wxColour
&) result
);
12642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12650 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxFontData
*arg1
= (wxFontData
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (arg1
)->GetChosenFont();
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12670 wxFont
* resultptr
;
12671 resultptr
= new wxFont((wxFont
&) result
);
12672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12680 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxFontData
*arg1
= (wxFontData
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 result
= (bool)(arg1
)->GetEnableEffects();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12708 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxFontData
*arg1
= (wxFontData
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (arg1
)->GetInitialFont();
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 wxFont
* resultptr
;
12729 resultptr
= new wxFont((wxFont
&) result
);
12730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12738 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxFontData
*arg1
= (wxFontData
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 result
= (bool)(arg1
)->GetShowHelp();
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12766 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxFontData
*arg1
= (wxFontData
*) 0 ;
12770 PyObject
* obj0
= 0 ;
12771 PyObject
* obj1
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "self",(char *) "allowSymbols", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12779 arg2
= (bool) SWIG_AsBool(obj1
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 (arg1
)->SetAllowSymbols(arg2
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 Py_INCREF(Py_None
); resultobj
= Py_None
;
12795 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
;
12797 wxFontData
*arg1
= (wxFontData
*) 0 ;
12799 PyObject
* obj0
= 0 ;
12800 PyObject
* obj1
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self",(char *) "font", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12811 if (arg2
== NULL
) {
12812 PyErr_SetString(PyExc_TypeError
,"null reference");
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 Py_INCREF(Py_None
); resultobj
= Py_None
;
12829 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
;
12831 wxFontData
*arg1
= (wxFontData
*) 0 ;
12832 wxColour
*arg2
= 0 ;
12834 PyObject
* obj0
= 0 ;
12835 PyObject
* obj1
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self",(char *) "colour", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 (arg1
)->SetColour((wxColour
const &)*arg2
);
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 Py_INCREF(Py_None
); resultobj
= Py_None
;
12861 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxFontData
*arg1
= (wxFontData
*) 0 ;
12865 PyObject
* obj0
= 0 ;
12866 PyObject
* obj1
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self",(char *) "font", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12877 if (arg2
== NULL
) {
12878 PyErr_SetString(PyExc_TypeError
,"null reference");
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12888 Py_INCREF(Py_None
); resultobj
= Py_None
;
12895 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12896 PyObject
*resultobj
;
12897 wxFontData
*arg1
= (wxFontData
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 PyObject
* obj1
= 0 ;
12902 PyObject
* obj2
= 0 ;
12903 char *kwnames
[] = {
12904 (char *) "self",(char *) "min",(char *) "max", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12910 arg2
= (int) SWIG_AsInt(obj1
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12912 arg3
= (int) SWIG_AsInt(obj2
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 (arg1
)->SetRange(arg2
,arg3
);
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 Py_INCREF(Py_None
); resultobj
= Py_None
;
12928 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxFontData
*arg1
= (wxFontData
*) 0 ;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self",(char *) "showHelp", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12941 arg2
= (bool) SWIG_AsBool(obj1
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 (arg1
)->SetShowHelp(arg2
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 Py_INCREF(Py_None
); resultobj
= Py_None
;
12957 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
12959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12960 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12962 return Py_BuildValue((char *)"");
12964 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxWindow
*arg1
= (wxWindow
*) 0 ;
12967 wxFontData
*arg2
= 0 ;
12968 wxFontDialog
*result
;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "parent",(char *) "data", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
12979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12981 if (arg2
== NULL
) {
12982 PyErr_SetString(PyExc_TypeError
,"null reference");
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
12999 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13002 wxFontData
*result
;
13003 PyObject
* obj0
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13015 result
= (wxFontData
*) &_result_ref
;
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13028 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13031 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13033 return Py_BuildValue((char *)"");
13035 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxWindow
*arg1
= (wxWindow
*) 0 ;
13038 wxString
*arg2
= 0 ;
13039 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13041 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13042 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13043 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13044 wxMessageDialog
*result
;
13045 bool temp2
= False
;
13046 bool temp3
= False
;
13048 PyObject
* obj0
= 0 ;
13049 PyObject
* obj1
= 0 ;
13050 PyObject
* obj2
= 0 ;
13051 PyObject
* obj3
= 0 ;
13052 PyObject
* obj4
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13061 arg2
= wxString_in_helper(obj1
);
13062 if (arg2
== NULL
) SWIG_fail
;
13067 arg3
= wxString_in_helper(obj2
);
13068 if (arg3
== NULL
) SWIG_fail
;
13073 arg4
= (long) SWIG_AsLong(obj3
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13079 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13112 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13115 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13117 return Py_BuildValue((char *)"");
13119 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxString
*arg1
= 0 ;
13122 wxString
*arg2
= 0 ;
13123 int arg3
= (int) 100 ;
13124 wxWindow
*arg4
= (wxWindow
*) NULL
;
13125 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13126 wxProgressDialog
*result
;
13127 bool temp1
= False
;
13128 bool temp2
= False
;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 PyObject
* obj2
= 0 ;
13132 PyObject
* obj3
= 0 ;
13133 PyObject
* obj4
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13140 arg1
= wxString_in_helper(obj0
);
13141 if (arg1
== NULL
) SWIG_fail
;
13145 arg2
= wxString_in_helper(obj1
);
13146 if (arg2
== NULL
) SWIG_fail
;
13150 arg3
= (int) SWIG_AsInt(obj2
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13154 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13158 arg5
= (int) SWIG_AsInt(obj4
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13191 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13195 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13196 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13198 bool temp3
= False
;
13199 PyObject
* obj0
= 0 ;
13200 PyObject
* obj1
= 0 ;
13201 PyObject
* obj2
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 arg2
= (int) SWIG_AsInt(obj1
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13213 arg3
= wxString_in_helper(obj2
);
13214 if (arg3
== NULL
) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13242 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 Py_INCREF(Py_None
); resultobj
= Py_None
;
13267 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13270 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13272 return Py_BuildValue((char *)"");
13274 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13277 int arg2
= (int) 0 ;
13278 wxFindDialogEvent
*result
;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "commandType",(char *) "id", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13287 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13291 arg2
= (int) SWIG_AsInt(obj1
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13308 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13312 PyObject
* obj0
= 0 ;
13313 char *kwnames
[] = {
13314 (char *) "self", NULL
13317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 result
= (int)(arg1
)->GetFlags();
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_FromInt((int)result
);
13334 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
;
13336 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13338 PyObject
* obj0
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self", NULL
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 wxString
const &_result_ref
= (arg1
)->GetFindString();
13350 result
= (wxString
*) &_result_ref
;
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13360 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13369 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13385 result
= (wxString
*) &_result_ref
;
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13395 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13404 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
;
13406 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13407 wxFindReplaceDialog
*result
;
13408 PyObject
* obj0
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13430 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13434 PyObject
* obj0
= 0 ;
13435 PyObject
* obj1
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self",(char *) "flags", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13443 arg2
= (int) SWIG_AsInt(obj1
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 (arg1
)->SetFlags(arg2
);
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 Py_INCREF(Py_None
); resultobj
= Py_None
;
13459 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13462 wxString
*arg2
= 0 ;
13463 bool temp2
= False
;
13464 PyObject
* obj0
= 0 ;
13465 PyObject
* obj1
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self",(char *) "str", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13474 arg2
= wxString_in_helper(obj1
);
13475 if (arg2
== NULL
) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 (arg1
)->SetFindString((wxString
const &)*arg2
);
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 Py_INCREF(Py_None
); resultobj
= Py_None
;
13500 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13503 wxString
*arg2
= 0 ;
13504 bool temp2
= False
;
13505 PyObject
* obj0
= 0 ;
13506 PyObject
* obj1
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self",(char *) "str", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13515 arg2
= wxString_in_helper(obj1
);
13516 if (arg2
== NULL
) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 Py_INCREF(Py_None
); resultobj
= Py_None
;
13541 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13544 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13546 return Py_BuildValue((char *)"");
13548 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13549 PyObject
*resultobj
;
13550 int arg1
= (int) 0 ;
13551 wxFindReplaceData
*result
;
13552 PyObject
* obj0
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "flags", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13559 arg1
= (int) SWIG_AsInt(obj0
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13576 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
;
13578 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 Py_INCREF(Py_None
); resultobj
= Py_None
;
13601 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13605 PyObject
* obj0
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 wxString
const &_result_ref
= (arg1
)->GetFindString();
13617 result
= (wxString
*) &_result_ref
;
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13625 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13627 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13636 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 char *kwnames
[] = {
13642 (char *) "self", NULL
13645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13652 result
= (wxString
*) &_result_ref
;
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13671 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 result
= (int)(arg1
)->GetFlags();
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_FromInt((int)result
);
13697 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
;
13699 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self",(char *) "flags", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13710 arg2
= (int) SWIG_AsInt(obj1
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 (arg1
)->SetFlags(arg2
);
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 Py_INCREF(Py_None
); resultobj
= Py_None
;
13726 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13729 wxString
*arg2
= 0 ;
13730 bool temp2
= False
;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "self",(char *) "str", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13741 arg2
= wxString_in_helper(obj1
);
13742 if (arg2
== NULL
) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 (arg1
)->SetFindString((wxString
const &)*arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 Py_INCREF(Py_None
); resultobj
= Py_None
;
13767 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13770 wxString
*arg2
= 0 ;
13771 bool temp2
= False
;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 char *kwnames
[] = {
13775 (char *) "self",(char *) "str", NULL
13778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13782 arg2
= wxString_in_helper(obj1
);
13783 if (arg2
== NULL
) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 Py_INCREF(Py_None
); resultobj
= Py_None
;
13808 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13811 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13813 return Py_BuildValue((char *)"");
13815 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxWindow
*arg1
= (wxWindow
*) 0 ;
13818 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13819 wxString
*arg3
= 0 ;
13820 int arg4
= (int) 0 ;
13821 wxFindReplaceDialog
*result
;
13822 bool temp3
= False
;
13823 PyObject
* obj0
= 0 ;
13824 PyObject
* obj1
= 0 ;
13825 PyObject
* obj2
= 0 ;
13826 PyObject
* obj3
= 0 ;
13827 char *kwnames
[] = {
13828 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13837 arg3
= wxString_in_helper(obj2
);
13838 if (arg3
== NULL
) SWIG_fail
;
13842 arg4
= (int) SWIG_AsInt(obj3
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13849 wxPyEndAllowThreads(__tstate
);
13850 if (PyErr_Occurred()) SWIG_fail
;
13852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13867 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
;
13869 wxFindReplaceDialog
*result
;
13870 char *kwnames
[] = {
13874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13889 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
;
13891 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13892 wxWindow
*arg2
= (wxWindow
*) 0 ;
13893 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13894 wxString
*arg4
= 0 ;
13895 int arg5
= (int) 0 ;
13897 bool temp4
= False
;
13898 PyObject
* obj0
= 0 ;
13899 PyObject
* obj1
= 0 ;
13900 PyObject
* obj2
= 0 ;
13901 PyObject
* obj3
= 0 ;
13902 PyObject
* obj4
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13912 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
13913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13915 arg4
= wxString_in_helper(obj3
);
13916 if (arg4
== NULL
) SWIG_fail
;
13920 arg5
= (int) SWIG_AsInt(obj4
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13947 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13950 wxFindReplaceData
*result
;
13951 PyObject
* obj0
= 0 ;
13952 char *kwnames
[] = {
13953 (char *) "self", NULL
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
13957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (wxFindReplaceData
*)(arg1
)->GetData();
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
13973 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13976 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13977 PyObject
* obj0
= 0 ;
13978 PyObject
* obj1
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self",(char *) "data", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 (arg1
)->SetData(arg2
);
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 Py_INCREF(Py_None
); resultobj
= Py_None
;
14002 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14005 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14007 return Py_BuildValue((char *)"");
14009 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxWindow
*arg1
= (wxWindow
*) 0 ;
14013 wxString
*arg3
= 0 ;
14014 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14015 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14016 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14017 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14018 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14019 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14020 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14021 wxMDIParentFrame
*result
;
14022 bool temp3
= False
;
14025 bool temp7
= False
;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 PyObject
* obj2
= 0 ;
14029 PyObject
* obj3
= 0 ;
14030 PyObject
* obj4
= 0 ;
14031 PyObject
* obj5
= 0 ;
14032 PyObject
* obj6
= 0 ;
14033 char *kwnames
[] = {
14034 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14040 arg2
= (int const) SWIG_AsInt(obj1
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 arg3
= wxString_in_helper(obj2
);
14044 if (arg3
== NULL
) SWIG_fail
;
14050 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14056 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14060 arg6
= (long) SWIG_AsLong(obj5
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14065 arg7
= wxString_in_helper(obj6
);
14066 if (arg7
== NULL
) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14100 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxMDIParentFrame
*result
;
14103 char *kwnames
[] = {
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14122 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
;
14124 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14125 wxWindow
*arg2
= (wxWindow
*) 0 ;
14127 wxString
*arg4
= 0 ;
14128 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14129 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14130 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14131 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14132 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14133 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14134 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14136 bool temp4
= False
;
14139 bool temp8
= False
;
14140 PyObject
* obj0
= 0 ;
14141 PyObject
* obj1
= 0 ;
14142 PyObject
* obj2
= 0 ;
14143 PyObject
* obj3
= 0 ;
14144 PyObject
* obj4
= 0 ;
14145 PyObject
* obj5
= 0 ;
14146 PyObject
* obj6
= 0 ;
14147 PyObject
* obj7
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14157 arg3
= (int const) SWIG_AsInt(obj2
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 arg4
= wxString_in_helper(obj3
);
14161 if (arg4
== NULL
) SWIG_fail
;
14167 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14173 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14177 arg7
= (long) SWIG_AsLong(obj6
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14182 arg8
= wxString_in_helper(obj7
);
14183 if (arg8
== NULL
) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14219 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 (arg1
)->ActivateNext();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 Py_INCREF(Py_None
); resultobj
= Py_None
;
14244 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14247 PyObject
* obj0
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "self", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 (arg1
)->ActivatePrevious();
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 Py_INCREF(Py_None
); resultobj
= Py_None
;
14269 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 (arg1
)->ArrangeIcons();
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 Py_INCREF(Py_None
); resultobj
= Py_None
;
14294 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 Py_INCREF(Py_None
); resultobj
= Py_None
;
14319 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14322 wxMDIChildFrame
*result
;
14323 PyObject
* obj0
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= wxPyMake_wxObject(result
);
14347 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14350 wxMDIClientWindow
*result
;
14351 PyObject
* obj0
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= wxPyMake_wxObject(result
);
14375 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (wxWindow
*)(arg1
)->GetToolBar();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= wxPyMake_wxObject(result
);
14403 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14406 PyObject
* obj0
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 Py_INCREF(Py_None
); resultobj
= Py_None
;
14428 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14431 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14433 return Py_BuildValue((char *)"");
14435 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14439 wxString
*arg3
= 0 ;
14440 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14441 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14442 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14443 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14444 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14445 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14446 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14447 wxMDIChildFrame
*result
;
14448 bool temp3
= False
;
14451 bool temp7
= False
;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 PyObject
* obj2
= 0 ;
14455 PyObject
* obj3
= 0 ;
14456 PyObject
* obj4
= 0 ;
14457 PyObject
* obj5
= 0 ;
14458 PyObject
* obj6
= 0 ;
14459 char *kwnames
[] = {
14460 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14466 arg2
= (int const) SWIG_AsInt(obj1
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 arg3
= wxString_in_helper(obj2
);
14470 if (arg3
== NULL
) SWIG_fail
;
14476 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14482 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14486 arg6
= (long) SWIG_AsLong(obj5
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14491 arg7
= wxString_in_helper(obj6
);
14492 if (arg7
== NULL
) SWIG_fail
;
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= wxPyMake_wxObject(result
);
14528 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxMDIChildFrame
*result
;
14531 char *kwnames
[] = {
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= wxPyMake_wxObject(result
);
14552 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14555 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14557 wxString
*arg4
= 0 ;
14558 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14559 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14560 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14561 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14562 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14563 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14564 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14566 bool temp4
= False
;
14569 bool temp8
= False
;
14570 PyObject
* obj0
= 0 ;
14571 PyObject
* obj1
= 0 ;
14572 PyObject
* obj2
= 0 ;
14573 PyObject
* obj3
= 0 ;
14574 PyObject
* obj4
= 0 ;
14575 PyObject
* obj5
= 0 ;
14576 PyObject
* obj6
= 0 ;
14577 PyObject
* obj7
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 arg3
= (int const) SWIG_AsInt(obj2
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 arg4
= wxString_in_helper(obj3
);
14591 if (arg4
== NULL
) SWIG_fail
;
14597 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14603 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14607 arg7
= (long) SWIG_AsLong(obj6
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14612 arg8
= wxString_in_helper(obj7
);
14613 if (arg8
== NULL
) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14649 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
;
14651 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14652 PyObject
* obj0
= 0 ;
14653 char *kwnames
[] = {
14654 (char *) "self", NULL
14657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 (arg1
)->Activate();
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 Py_INCREF(Py_None
); resultobj
= Py_None
;
14674 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 PyObject
* obj1
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self",(char *) "maximize", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14687 arg2
= (bool) SWIG_AsBool(obj1
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 (arg1
)->Maximize(arg2
);
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14696 Py_INCREF(Py_None
); resultobj
= Py_None
;
14703 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14706 PyObject
* obj0
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 Py_INCREF(Py_None
); resultobj
= Py_None
;
14728 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14731 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14733 return Py_BuildValue((char *)"");
14735 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14738 long arg2
= (long) 0 ;
14739 wxMDIClientWindow
*result
;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "parent",(char *) "style", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14750 arg2
= (long) SWIG_AsLong(obj1
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= wxPyMake_wxObject(result
);
14769 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14770 PyObject
*resultobj
;
14771 wxMDIClientWindow
*result
;
14772 char *kwnames
[] = {
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= wxPyMake_wxObject(result
);
14793 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14796 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14797 long arg3
= (long) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 PyObject
* obj1
= 0 ;
14801 PyObject
* obj2
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self",(char *) "parent",(char *) "style", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14812 arg3
= (long) SWIG_AsLong(obj2
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14831 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14834 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14836 return Py_BuildValue((char *)"");
14838 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxWindow
*arg1
= (wxWindow
*) 0 ;
14842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14846 long arg5
= (long) 0 ;
14847 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14848 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14849 wxPyWindow
*result
;
14852 bool temp6
= False
;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 PyObject
* obj2
= 0 ;
14856 PyObject
* obj3
= 0 ;
14857 PyObject
* obj4
= 0 ;
14858 PyObject
* obj5
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14866 arg2
= (int const) SWIG_AsInt(obj1
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14871 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14877 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14881 arg5
= (long) SWIG_AsLong(obj4
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14886 arg6
= wxString_in_helper(obj5
);
14887 if (arg6
== NULL
) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14913 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxPyWindow
*result
;
14916 char *kwnames
[] = {
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (wxPyWindow
*)new wxPyWindow();
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14935 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14938 PyObject
*arg2
= (PyObject
*) 0 ;
14939 PyObject
*arg3
= (PyObject
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 PyObject
* obj1
= 0 ;
14942 PyObject
* obj2
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self",(char *) "self",(char *) "_class", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 Py_INCREF(Py_None
); resultobj
= Py_None
;
14966 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
;
14968 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14973 PyObject
* obj0
= 0 ;
14974 PyObject
* obj1
= 0 ;
14975 PyObject
* obj2
= 0 ;
14976 PyObject
* obj3
= 0 ;
14977 PyObject
* obj4
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14985 arg2
= (int) SWIG_AsInt(obj1
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14987 arg3
= (int) SWIG_AsInt(obj2
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14989 arg4
= (int) SWIG_AsInt(obj3
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14991 arg5
= (int) SWIG_AsInt(obj4
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 Py_INCREF(Py_None
); resultobj
= Py_None
;
15007 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15014 int arg6
= (int) wxSIZE_AUTO
;
15015 PyObject
* obj0
= 0 ;
15016 PyObject
* obj1
= 0 ;
15017 PyObject
* obj2
= 0 ;
15018 PyObject
* obj3
= 0 ;
15019 PyObject
* obj4
= 0 ;
15020 PyObject
* obj5
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15028 arg2
= (int) SWIG_AsInt(obj1
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15030 arg3
= (int) SWIG_AsInt(obj2
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15032 arg4
= (int) SWIG_AsInt(obj3
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15034 arg5
= (int) SWIG_AsInt(obj4
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 arg6
= (int) SWIG_AsInt(obj5
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 Py_INCREF(Py_None
); resultobj
= Py_None
;
15054 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 PyObject
* obj1
= 0 ;
15061 PyObject
* obj2
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self",(char *) "width",(char *) "height", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15069 arg2
= (int) SWIG_AsInt(obj1
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15071 arg3
= (int) SWIG_AsInt(obj2
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 Py_INCREF(Py_None
); resultobj
= Py_None
;
15087 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 PyObject
* obj2
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self",(char *) "x",(char *) "y", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15102 arg2
= (int) SWIG_AsInt(obj1
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15104 arg3
= (int) SWIG_AsInt(obj2
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 Py_INCREF(Py_None
); resultobj
= Py_None
;
15120 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15123 int *arg2
= (int *) 0 ;
15124 int *arg3
= (int *) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 Py_INCREF(Py_None
); resultobj
= Py_None
;
15146 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15147 resultobj
= t_output_helper(resultobj
,o
);
15150 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15151 resultobj
= t_output_helper(resultobj
,o
);
15159 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15162 int *arg2
= (int *) 0 ;
15163 int *arg3
= (int *) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self", NULL
15173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15183 Py_INCREF(Py_None
); resultobj
= Py_None
;
15185 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15186 resultobj
= t_output_helper(resultobj
,o
);
15189 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15190 resultobj
= t_output_helper(resultobj
,o
);
15198 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15201 int *arg2
= (int *) 0 ;
15202 int *arg3
= (int *) 0 ;
15205 PyObject
* obj0
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 Py_INCREF(Py_None
); resultobj
= Py_None
;
15224 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15225 resultobj
= t_output_helper(resultobj
,o
);
15228 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15229 resultobj
= t_output_helper(resultobj
,o
);
15237 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
;
15239 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15241 PyObject
* obj0
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15257 wxSize
* resultptr
;
15258 resultptr
= new wxSize((wxSize
&) result
);
15259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15267 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15287 wxSize
* resultptr
;
15288 resultptr
= new wxSize((wxSize
&) result
);
15289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15297 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15300 PyObject
* obj0
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 (arg1
)->base_InitDialog();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 Py_INCREF(Py_None
); resultobj
= Py_None
;
15322 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (bool)(arg1
)->base_TransferDataToWindow();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15350 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15378 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15382 PyObject
* obj0
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (bool)(arg1
)->base_Validate();
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15406 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15434 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15462 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15482 wxSize
* resultptr
;
15483 resultptr
= new wxSize((wxSize
&) result
);
15484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15492 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15495 wxWindow
*arg2
= (wxWindow
*) 0 ;
15496 PyObject
* obj0
= 0 ;
15497 PyObject
* obj1
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self",(char *) "child", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 (arg1
)->base_AddChild(arg2
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 Py_INCREF(Py_None
); resultobj
= Py_None
;
15521 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
;
15523 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15524 wxWindow
*arg2
= (wxWindow
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "self",(char *) "child", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 (arg1
)->base_RemoveChild(arg2
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 Py_INCREF(Py_None
); resultobj
= Py_None
;
15550 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15554 PyObject
* obj0
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 result
= (bool)(arg1
)->base_ShouldInheritColours();
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15578 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15581 wxColour
*arg2
= 0 ;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self",(char *) "c", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15594 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 Py_INCREF(Py_None
); resultobj
= Py_None
;
15610 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15613 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15615 return Py_BuildValue((char *)"");
15617 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15618 PyObject
*resultobj
;
15619 wxWindow
*arg1
= (wxWindow
*) 0 ;
15621 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15622 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15623 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15624 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15625 long arg5
= (long) 0 ;
15626 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15627 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15631 bool temp6
= False
;
15632 PyObject
* obj0
= 0 ;
15633 PyObject
* obj1
= 0 ;
15634 PyObject
* obj2
= 0 ;
15635 PyObject
* obj3
= 0 ;
15636 PyObject
* obj4
= 0 ;
15637 PyObject
* obj5
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15645 arg2
= (int const) SWIG_AsInt(obj1
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15650 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15656 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15660 arg5
= (long) SWIG_AsLong(obj4
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15665 arg6
= wxString_in_helper(obj5
);
15666 if (arg6
== NULL
) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15692 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15695 char *kwnames
[] = {
15699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (wxPyPanel
*)new wxPyPanel();
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15714 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15717 PyObject
*arg2
= (PyObject
*) 0 ;
15718 PyObject
*arg3
= (PyObject
*) 0 ;
15719 PyObject
* obj0
= 0 ;
15720 PyObject
* obj1
= 0 ;
15721 PyObject
* obj2
= 0 ;
15722 char *kwnames
[] = {
15723 (char *) "self",(char *) "self",(char *) "_class", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 Py_INCREF(Py_None
); resultobj
= Py_None
;
15745 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15752 PyObject
* obj0
= 0 ;
15753 PyObject
* obj1
= 0 ;
15754 PyObject
* obj2
= 0 ;
15755 PyObject
* obj3
= 0 ;
15756 PyObject
* obj4
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 Py_INCREF(Py_None
); resultobj
= Py_None
;
15786 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15793 int arg6
= (int) wxSIZE_AUTO
;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 PyObject
* obj2
= 0 ;
15797 PyObject
* obj3
= 0 ;
15798 PyObject
* obj4
= 0 ;
15799 PyObject
* obj5
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15807 arg2
= (int) SWIG_AsInt(obj1
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15809 arg3
= (int) SWIG_AsInt(obj2
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15811 arg4
= (int) SWIG_AsInt(obj3
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15813 arg5
= (int) SWIG_AsInt(obj4
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 arg6
= (int) SWIG_AsInt(obj5
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15826 Py_INCREF(Py_None
); resultobj
= Py_None
;
15833 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15838 PyObject
* obj0
= 0 ;
15839 PyObject
* obj1
= 0 ;
15840 PyObject
* obj2
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self",(char *) "width",(char *) "height", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15848 arg2
= (int) SWIG_AsInt(obj1
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15850 arg3
= (int) SWIG_AsInt(obj2
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 Py_INCREF(Py_None
); resultobj
= Py_None
;
15866 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 PyObject
* obj2
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "self",(char *) "x",(char *) "y", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15881 arg2
= (int) SWIG_AsInt(obj1
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15883 arg3
= (int) SWIG_AsInt(obj2
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 Py_INCREF(Py_None
); resultobj
= Py_None
;
15899 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15902 int *arg2
= (int *) 0 ;
15903 int *arg3
= (int *) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 Py_INCREF(Py_None
); resultobj
= Py_None
;
15925 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15926 resultobj
= t_output_helper(resultobj
,o
);
15929 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15930 resultobj
= t_output_helper(resultobj
,o
);
15938 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15941 int *arg2
= (int *) 0 ;
15942 int *arg3
= (int *) 0 ;
15945 PyObject
* obj0
= 0 ;
15946 char *kwnames
[] = {
15947 (char *) "self", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 Py_INCREF(Py_None
); resultobj
= Py_None
;
15964 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15965 resultobj
= t_output_helper(resultobj
,o
);
15968 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15969 resultobj
= t_output_helper(resultobj
,o
);
15977 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15980 int *arg2
= (int *) 0 ;
15981 int *arg3
= (int *) 0 ;
15984 PyObject
* obj0
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 Py_INCREF(Py_None
); resultobj
= Py_None
;
16003 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16004 resultobj
= t_output_helper(resultobj
,o
);
16007 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16008 resultobj
= t_output_helper(resultobj
,o
);
16016 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16036 wxSize
* resultptr
;
16037 resultptr
= new wxSize((wxSize
&) result
);
16038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16046 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16050 PyObject
* obj0
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16060 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16062 wxPyEndAllowThreads(__tstate
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16066 wxSize
* resultptr
;
16067 resultptr
= new wxSize((wxSize
&) result
);
16068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16076 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16079 PyObject
* obj0
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 (arg1
)->base_InitDialog();
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 Py_INCREF(Py_None
); resultobj
= Py_None
;
16101 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16105 PyObject
* obj0
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (bool)(arg1
)->base_TransferDataToWindow();
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16129 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16133 PyObject
* obj0
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16157 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 result
= (bool)(arg1
)->base_Validate();
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16185 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 char *kwnames
[] = {
16191 (char *) "self", NULL
16194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16213 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16217 PyObject
* obj0
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16241 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16261 wxSize
* resultptr
;
16262 resultptr
= new wxSize((wxSize
&) result
);
16263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16271 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16274 wxWindow
*arg2
= (wxWindow
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 PyObject
* obj1
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self",(char *) "child", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 (arg1
)->base_AddChild(arg2
);
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 Py_INCREF(Py_None
); resultobj
= Py_None
;
16300 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16303 wxWindow
*arg2
= (wxWindow
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 PyObject
* obj1
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "self",(char *) "child", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 (arg1
)->base_RemoveChild(arg2
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 Py_INCREF(Py_None
); resultobj
= Py_None
;
16329 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= (bool)(arg1
)->base_ShouldInheritColours();
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16357 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16360 wxColour
*arg2
= 0 ;
16362 PyObject
* obj0
= 0 ;
16363 PyObject
* obj1
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self",(char *) "c", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16382 Py_INCREF(Py_None
); resultobj
= Py_None
;
16389 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16392 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16394 return Py_BuildValue((char *)"");
16396 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxWindow
*arg1
= (wxWindow
*) 0 ;
16400 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16401 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16402 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16403 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16404 long arg5
= (long) 0 ;
16405 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16406 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16407 wxPyScrolledWindow
*result
;
16410 bool temp6
= False
;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 PyObject
* obj2
= 0 ;
16414 PyObject
* obj3
= 0 ;
16415 PyObject
* obj4
= 0 ;
16416 PyObject
* obj5
= 0 ;
16417 char *kwnames
[] = {
16418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16424 arg2
= (int const) SWIG_AsInt(obj1
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16435 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16439 arg5
= (long) SWIG_AsLong(obj4
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16444 arg6
= wxString_in_helper(obj5
);
16445 if (arg6
== NULL
) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16471 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxPyScrolledWindow
*result
;
16474 char *kwnames
[] = {
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16493 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16496 PyObject
*arg2
= (PyObject
*) 0 ;
16497 PyObject
*arg3
= (PyObject
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 PyObject
* obj2
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self",(char *) "self",(char *) "_class", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16517 Py_INCREF(Py_None
); resultobj
= Py_None
;
16524 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 PyObject
* obj2
= 0 ;
16534 PyObject
* obj3
= 0 ;
16535 PyObject
* obj4
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16543 arg2
= (int) SWIG_AsInt(obj1
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16545 arg3
= (int) SWIG_AsInt(obj2
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16547 arg4
= (int) SWIG_AsInt(obj3
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16549 arg5
= (int) SWIG_AsInt(obj4
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16558 Py_INCREF(Py_None
); resultobj
= Py_None
;
16565 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16572 int arg6
= (int) wxSIZE_AUTO
;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 PyObject
* obj2
= 0 ;
16576 PyObject
* obj3
= 0 ;
16577 PyObject
* obj4
= 0 ;
16578 PyObject
* obj5
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16586 arg2
= (int) SWIG_AsInt(obj1
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16588 arg3
= (int) SWIG_AsInt(obj2
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16590 arg4
= (int) SWIG_AsInt(obj3
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16592 arg5
= (int) SWIG_AsInt(obj4
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 arg6
= (int) SWIG_AsInt(obj5
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 Py_INCREF(Py_None
); resultobj
= Py_None
;
16612 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16617 PyObject
* obj0
= 0 ;
16618 PyObject
* obj1
= 0 ;
16619 PyObject
* obj2
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self",(char *) "width",(char *) "height", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16627 arg2
= (int) SWIG_AsInt(obj1
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16629 arg3
= (int) SWIG_AsInt(obj2
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 Py_INCREF(Py_None
); resultobj
= Py_None
;
16645 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 PyObject
* obj2
= 0 ;
16653 char *kwnames
[] = {
16654 (char *) "self",(char *) "x",(char *) "y", NULL
16657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16660 arg2
= (int) SWIG_AsInt(obj1
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16662 arg3
= (int) SWIG_AsInt(obj2
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 Py_INCREF(Py_None
); resultobj
= Py_None
;
16678 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16681 int *arg2
= (int *) 0 ;
16682 int *arg3
= (int *) 0 ;
16685 PyObject
* obj0
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 Py_INCREF(Py_None
); resultobj
= Py_None
;
16704 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16705 resultobj
= t_output_helper(resultobj
,o
);
16708 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16709 resultobj
= t_output_helper(resultobj
,o
);
16717 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16720 int *arg2
= (int *) 0 ;
16721 int *arg3
= (int *) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16741 Py_INCREF(Py_None
); resultobj
= Py_None
;
16743 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16744 resultobj
= t_output_helper(resultobj
,o
);
16747 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16748 resultobj
= t_output_helper(resultobj
,o
);
16756 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16759 int *arg2
= (int *) 0 ;
16760 int *arg3
= (int *) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 Py_INCREF(Py_None
); resultobj
= Py_None
;
16782 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16783 resultobj
= t_output_helper(resultobj
,o
);
16786 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16787 resultobj
= t_output_helper(resultobj
,o
);
16795 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16799 PyObject
* obj0
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 wxSize
* resultptr
;
16816 resultptr
= new wxSize((wxSize
&) result
);
16817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16825 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16829 PyObject
* obj0
= 0 ;
16830 char *kwnames
[] = {
16831 (char *) "self", NULL
16834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16845 wxSize
* resultptr
;
16846 resultptr
= new wxSize((wxSize
&) result
);
16847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16855 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16858 PyObject
* obj0
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "self", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 (arg1
)->base_InitDialog();
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 Py_INCREF(Py_None
); resultobj
= Py_None
;
16880 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16884 PyObject
* obj0
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 result
= (bool)(arg1
)->base_TransferDataToWindow();
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16908 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16936 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 char *kwnames
[] = {
16942 (char *) "self", NULL
16945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= (bool)(arg1
)->base_Validate();
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16964 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
;
16966 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 char *kwnames
[] = {
16970 (char *) "self", NULL
16973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16992 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17020 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 wxSize
* resultptr
;
17041 resultptr
= new wxSize((wxSize
&) result
);
17042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17050 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17053 wxWindow
*arg2
= (wxWindow
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 char *kwnames
[] = {
17057 (char *) "self",(char *) "child", NULL
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 (arg1
)->base_AddChild(arg2
);
17069 wxPyEndAllowThreads(__tstate
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17072 Py_INCREF(Py_None
); resultobj
= Py_None
;
17079 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17080 PyObject
*resultobj
;
17081 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17082 wxWindow
*arg2
= (wxWindow
*) 0 ;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self",(char *) "child", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 (arg1
)->base_RemoveChild(arg2
);
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17101 Py_INCREF(Py_None
); resultobj
= Py_None
;
17108 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17112 PyObject
* obj0
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "self", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (bool)(arg1
)->base_ShouldInheritColours();
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17136 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
;
17138 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17139 wxColour
*arg2
= 0 ;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self",(char *) "c", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17152 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 Py_INCREF(Py_None
); resultobj
= Py_None
;
17168 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17171 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17173 return Py_BuildValue((char *)"");
17175 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17176 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17181 static PyObject
*_wrap_PrintoutTitleStr_get() {
17186 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17188 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17195 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17196 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17201 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17206 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17208 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17215 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxPrintData
*result
;
17218 char *kwnames
[] = {
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 result
= (wxPrintData
*)new wxPrintData();
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17237 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17240 PyObject
* obj0
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 Py_INCREF(Py_None
); resultobj
= Py_None
;
17262 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
;
17264 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17266 PyObject
* obj0
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "self", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= (int)(arg1
)->GetNoCopies();
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= SWIG_FromInt((int)result
);
17288 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17292 PyObject
* obj0
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self", NULL
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= (bool)(arg1
)->GetCollate();
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17316 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17320 PyObject
* obj0
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= (int)(arg1
)->GetOrientation();
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 resultobj
= SWIG_FromInt((int)result
);
17342 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17346 PyObject
* obj0
= 0 ;
17347 char *kwnames
[] = {
17348 (char *) "self", NULL
17351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 result
= (bool)(arg1
)->Ok();
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17370 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 char *kwnames
[] = {
17376 (char *) "self", NULL
17379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17386 result
= (wxString
*) &_result_ref
;
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17396 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17405 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17409 PyObject
* obj0
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= (bool)(arg1
)->GetColour();
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17433 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17437 PyObject
* obj0
= 0 ;
17438 char *kwnames
[] = {
17439 (char *) "self", NULL
17442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17447 result
= (int)(arg1
)->GetDuplex();
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= SWIG_FromInt((int)result
);
17459 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
;
17461 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17463 PyObject
* obj0
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= (int)(arg1
)->GetPaperId();
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= SWIG_FromInt((int)result
);
17485 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17501 result
= (wxSize
*) &_result_ref
;
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17514 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17518 PyObject
* obj0
= 0 ;
17519 char *kwnames
[] = {
17520 (char *) "self", NULL
17523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= (int)(arg1
)->GetQuality();
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= SWIG_FromInt((int)result
);
17540 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
;
17542 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "v", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17553 arg2
= (int) SWIG_AsInt(obj1
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 (arg1
)->SetNoCopies(arg2
);
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 Py_INCREF(Py_None
); resultobj
= Py_None
;
17569 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17573 PyObject
* obj0
= 0 ;
17574 PyObject
* obj1
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "self",(char *) "flag", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17582 arg2
= (bool) SWIG_AsBool(obj1
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 (arg1
)->SetCollate(arg2
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 Py_INCREF(Py_None
); resultobj
= Py_None
;
17598 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17602 PyObject
* obj0
= 0 ;
17603 PyObject
* obj1
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self",(char *) "orient", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17611 arg2
= (int) SWIG_AsInt(obj1
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 (arg1
)->SetOrientation(arg2
);
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 Py_INCREF(Py_None
); resultobj
= Py_None
;
17627 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17630 wxString
*arg2
= 0 ;
17631 bool temp2
= False
;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "self",(char *) "name", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17642 arg2
= wxString_in_helper(obj1
);
17643 if (arg2
== NULL
) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 Py_INCREF(Py_None
); resultobj
= Py_None
;
17668 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self",(char *) "colour", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17681 arg2
= (bool) SWIG_AsBool(obj1
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 (arg1
)->SetColour(arg2
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 Py_INCREF(Py_None
); resultobj
= Py_None
;
17697 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17701 PyObject
* obj0
= 0 ;
17702 PyObject
* obj1
= 0 ;
17703 char *kwnames
[] = {
17704 (char *) "self",(char *) "duplex", NULL
17707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
17708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17710 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 Py_INCREF(Py_None
); resultobj
= Py_None
;
17726 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17730 PyObject
* obj0
= 0 ;
17731 PyObject
* obj1
= 0 ;
17732 char *kwnames
[] = {
17733 (char *) "self",(char *) "sizeId", NULL
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17739 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 Py_INCREF(Py_None
); resultobj
= Py_None
;
17755 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self",(char *) "sz", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17771 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 Py_INCREF(Py_None
); resultobj
= Py_None
;
17787 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self",(char *) "quality", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
17798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 arg2
= (int) SWIG_AsInt(obj1
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 (arg1
)->SetQuality(arg2
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 Py_INCREF(Py_None
); resultobj
= Py_None
;
17816 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
17832 result
= (wxString
*) &_result_ref
;
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17842 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17851 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
;
17853 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17855 PyObject
* obj0
= 0 ;
17856 char *kwnames
[] = {
17857 (char *) "self", NULL
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
17861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
17867 result
= (wxString
*) &_result_ref
;
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17877 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17886 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "self", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
17896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
17902 result
= (wxString
*) &_result_ref
;
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17910 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17912 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17921 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17925 PyObject
* obj0
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
17931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 wxString
const &_result_ref
= (arg1
)->GetFilename();
17937 result
= (wxString
*) &_result_ref
;
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17945 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17947 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17956 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17960 PyObject
* obj0
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17972 result
= (wxString
*) &_result_ref
;
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17982 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17991 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 result
= (double)(arg1
)->GetPrinterScaleX();
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= SWIG_FromDouble((double)result
);
18017 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (double)(arg1
)->GetPrinterScaleY();
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_FromDouble((double)result
);
18043 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18047 PyObject
* obj0
= 0 ;
18048 char *kwnames
[] = {
18049 (char *) "self", NULL
18052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 result
= (long)(arg1
)->GetPrinterTranslateX();
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= SWIG_FromLong((long)result
);
18069 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18070 PyObject
*resultobj
;
18071 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18073 PyObject
* obj0
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 result
= (long)(arg1
)->GetPrinterTranslateY();
18085 wxPyEndAllowThreads(__tstate
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 resultobj
= SWIG_FromLong((long)result
);
18095 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18096 PyObject
*resultobj
;
18097 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18099 PyObject
* obj0
= 0 ;
18100 char *kwnames
[] = {
18101 (char *) "self", NULL
18104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 result
= (int)(arg1
)->GetPrintMode();
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= SWIG_FromInt((int)result
);
18121 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18124 wxString
*arg2
= 0 ;
18125 bool temp2
= False
;
18126 PyObject
* obj0
= 0 ;
18127 PyObject
* obj1
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self",(char *) "command", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18136 arg2
= wxString_in_helper(obj1
);
18137 if (arg2
== NULL
) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 Py_INCREF(Py_None
); resultobj
= Py_None
;
18162 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18165 wxString
*arg2
= 0 ;
18166 bool temp2
= False
;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self",(char *) "options", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18177 arg2
= wxString_in_helper(obj1
);
18178 if (arg2
== NULL
) SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 Py_INCREF(Py_None
); resultobj
= Py_None
;
18203 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18204 PyObject
*resultobj
;
18205 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18206 wxString
*arg2
= 0 ;
18207 bool temp2
= False
;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self",(char *) "command", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18218 arg2
= wxString_in_helper(obj1
);
18219 if (arg2
== NULL
) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 Py_INCREF(Py_None
); resultobj
= Py_None
;
18244 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18246 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18247 wxString
*arg2
= 0 ;
18248 bool temp2
= False
;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self",(char *) "filename", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18259 arg2
= wxString_in_helper(obj1
);
18260 if (arg2
== NULL
) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 (arg1
)->SetFilename((wxString
const &)*arg2
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 Py_INCREF(Py_None
); resultobj
= Py_None
;
18285 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18288 wxString
*arg2
= 0 ;
18289 bool temp2
= False
;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self",(char *) "path", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18300 arg2
= wxString_in_helper(obj1
);
18301 if (arg2
== NULL
) SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 Py_INCREF(Py_None
); resultobj
= Py_None
;
18326 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18330 PyObject
* obj0
= 0 ;
18331 PyObject
* obj1
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "self",(char *) "x", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18339 arg2
= (double) SWIG_AsDouble(obj1
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 (arg1
)->SetPrinterScaleX(arg2
);
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 Py_INCREF(Py_None
); resultobj
= Py_None
;
18355 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
;
18357 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18359 PyObject
* obj0
= 0 ;
18360 PyObject
* obj1
= 0 ;
18361 char *kwnames
[] = {
18362 (char *) "self",(char *) "y", NULL
18365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18368 arg2
= (double) SWIG_AsDouble(obj1
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 (arg1
)->SetPrinterScaleY(arg2
);
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 Py_INCREF(Py_None
); resultobj
= Py_None
;
18384 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 PyObject
* obj2
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self",(char *) "x",(char *) "y", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18399 arg2
= (double) SWIG_AsDouble(obj1
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18401 arg3
= (double) SWIG_AsDouble(obj2
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 Py_INCREF(Py_None
); resultobj
= Py_None
;
18417 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18421 PyObject
* obj0
= 0 ;
18422 PyObject
* obj1
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self",(char *) "x", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18430 arg2
= (long) SWIG_AsLong(obj1
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 (arg1
)->SetPrinterTranslateX(arg2
);
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 Py_INCREF(Py_None
); resultobj
= Py_None
;
18446 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 PyObject
* obj1
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self",(char *) "y", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18459 arg2
= (long) SWIG_AsLong(obj1
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 (arg1
)->SetPrinterTranslateY(arg2
);
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 Py_INCREF(Py_None
); resultobj
= Py_None
;
18475 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18477 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 PyObject
* obj1
= 0 ;
18482 PyObject
* obj2
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self",(char *) "x",(char *) "y", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18490 arg2
= (long) SWIG_AsLong(obj1
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18492 arg3
= (long) SWIG_AsLong(obj2
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 Py_INCREF(Py_None
); resultobj
= Py_None
;
18508 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18512 PyObject
* obj0
= 0 ;
18513 PyObject
* obj1
= 0 ;
18514 char *kwnames
[] = {
18515 (char *) "self",(char *) "printMode", NULL
18518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18521 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18522 if (PyErr_Occurred()) SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 Py_INCREF(Py_None
); resultobj
= Py_None
;
18537 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18540 wxOutputStream
*result
;
18541 PyObject
* obj0
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18563 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18566 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 PyObject
* obj1
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self",(char *) "outputstream", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 (arg1
)->SetOutputStream(arg2
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 Py_INCREF(Py_None
); resultobj
= Py_None
;
18592 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
18594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18595 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18597 return Py_BuildValue((char *)"");
18599 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxPageSetupDialogData
*result
;
18602 char *kwnames
[] = {
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18621 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 Py_INCREF(Py_None
); resultobj
= Py_None
;
18646 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
;
18648 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18650 PyObject
* obj0
= 0 ;
18651 PyObject
* obj1
= 0 ;
18652 char *kwnames
[] = {
18653 (char *) "self",(char *) "flag", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18659 arg2
= (bool) SWIG_AsBool(obj1
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 (arg1
)->EnableHelp(arg2
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 Py_INCREF(Py_None
); resultobj
= Py_None
;
18675 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 PyObject
* obj1
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self",(char *) "flag", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18688 arg2
= (bool) SWIG_AsBool(obj1
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 (arg1
)->EnableMargins(arg2
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 Py_INCREF(Py_None
); resultobj
= Py_None
;
18704 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 PyObject
* obj1
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "flag", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 arg2
= (bool) SWIG_AsBool(obj1
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->EnableOrientation(arg2
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 Py_INCREF(Py_None
); resultobj
= Py_None
;
18733 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self",(char *) "flag", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18746 arg2
= (bool) SWIG_AsBool(obj1
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 (arg1
)->EnablePaper(arg2
);
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 Py_INCREF(Py_None
); resultobj
= Py_None
;
18762 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18766 PyObject
* obj0
= 0 ;
18767 PyObject
* obj1
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self",(char *) "flag", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
18773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18775 arg2
= (bool) SWIG_AsBool(obj1
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 (arg1
)->EnablePrinter(arg2
);
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 Py_INCREF(Py_None
); resultobj
= Py_None
;
18791 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 result
= (bool)(arg1
)->GetDefaultMinMargins();
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18819 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18820 PyObject
*resultobj
;
18821 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18823 PyObject
* obj0
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= (bool)(arg1
)->GetEnableMargins();
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18847 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
;
18849 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 result
= (bool)(arg1
)->GetEnableOrientation();
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18875 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18879 PyObject
* obj0
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 result
= (bool)(arg1
)->GetEnablePaper();
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18903 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18907 PyObject
* obj0
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (bool)(arg1
)->GetEnablePrinter();
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18931 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 char *kwnames
[] = {
18937 (char *) "self", NULL
18940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18945 result
= (bool)(arg1
)->GetEnableHelp();
18947 wxPyEndAllowThreads(__tstate
);
18948 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18959 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18960 PyObject
*resultobj
;
18961 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 result
= (bool)(arg1
)->GetDefaultInfo();
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18987 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (arg1
)->GetMarginTopLeft();
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19007 wxPoint
* resultptr
;
19008 resultptr
= new wxPoint((wxPoint
&) result
);
19009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19017 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (arg1
)->GetMarginBottomRight();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19037 wxPoint
* resultptr
;
19038 resultptr
= new wxPoint((wxPoint
&) result
);
19039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19047 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19051 PyObject
* obj0
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 result
= (arg1
)->GetMinMarginTopLeft();
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19067 wxPoint
* resultptr
;
19068 resultptr
= new wxPoint((wxPoint
&) result
);
19069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19077 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
;
19079 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19081 PyObject
* obj0
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 result
= (arg1
)->GetMinMarginBottomRight();
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19097 wxPoint
* resultptr
;
19098 resultptr
= new wxPoint((wxPoint
&) result
);
19099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19107 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (int)(arg1
)->GetPaperId();
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= SWIG_FromInt((int)result
);
19133 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19137 PyObject
* obj0
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (arg1
)->GetPaperSize();
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19153 wxSize
* resultptr
;
19154 resultptr
= new wxSize((wxSize
&) result
);
19155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19163 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19166 wxPrintData
*result
;
19167 PyObject
* obj0
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "self", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19179 result
= (wxPrintData
*) &_result_ref
;
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19192 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
;
19194 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19196 PyObject
* obj0
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 result
= (bool)(arg1
)->Ok();
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19220 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
;
19222 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19224 PyObject
* obj0
= 0 ;
19225 PyObject
* obj1
= 0 ;
19226 char *kwnames
[] = {
19227 (char *) "self",(char *) "flag", NULL
19230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19233 arg2
= (bool) SWIG_AsBool(obj1
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 (arg1
)->SetDefaultInfo(arg2
);
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 Py_INCREF(Py_None
); resultobj
= Py_None
;
19249 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self",(char *) "flag", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19262 arg2
= (bool) SWIG_AsBool(obj1
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 (arg1
)->SetDefaultMinMargins(arg2
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 Py_INCREF(Py_None
); resultobj
= Py_None
;
19278 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19281 wxPoint
*arg2
= 0 ;
19283 PyObject
* obj0
= 0 ;
19284 PyObject
* obj1
= 0 ;
19285 char *kwnames
[] = {
19286 (char *) "self",(char *) "pt", NULL
19289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19294 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 Py_INCREF(Py_None
); resultobj
= Py_None
;
19310 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19313 wxPoint
*arg2
= 0 ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "pt", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 Py_INCREF(Py_None
); resultobj
= Py_None
;
19342 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
;
19344 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19345 wxPoint
*arg2
= 0 ;
19347 PyObject
* obj0
= 0 ;
19348 PyObject
* obj1
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "self",(char *) "pt", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19358 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 Py_INCREF(Py_None
); resultobj
= Py_None
;
19374 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19376 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19377 wxPoint
*arg2
= 0 ;
19379 PyObject
* obj0
= 0 ;
19380 PyObject
* obj1
= 0 ;
19381 char *kwnames
[] = {
19382 (char *) "self",(char *) "pt", NULL
19385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19390 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 Py_INCREF(Py_None
); resultobj
= Py_None
;
19406 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self",(char *) "id", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 Py_INCREF(Py_None
); resultobj
= Py_None
;
19435 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
;
19437 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "self",(char *) "size", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19451 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 Py_INCREF(Py_None
); resultobj
= Py_None
;
19467 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19470 wxPrintData
*arg2
= 0 ;
19471 PyObject
* obj0
= 0 ;
19472 PyObject
* obj1
= 0 ;
19473 char *kwnames
[] = {
19474 (char *) "self",(char *) "printData", NULL
19477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19483 if (arg2
== NULL
) {
19484 PyErr_SetString(PyExc_TypeError
,"null reference");
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19504 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19506 return Py_BuildValue((char *)"");
19508 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19510 wxWindow
*arg1
= (wxWindow
*) 0 ;
19511 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19512 wxPageSetupDialog
*result
;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 char *kwnames
[] = {
19516 (char *) "parent",(char *) "data", NULL
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19530 wxPyEndAllowThreads(__tstate
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19540 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
;
19542 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19543 wxPageSetupDialogData
*result
;
19544 PyObject
* obj0
= 0 ;
19545 char *kwnames
[] = {
19546 (char *) "self", NULL
19549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19556 result
= (wxPageSetupDialogData
*) &_result_ref
;
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19569 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= (int)(arg1
)->ShowModal();
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= SWIG_FromInt((int)result
);
19595 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19598 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19600 return Py_BuildValue((char *)"");
19602 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19603 PyObject
*resultobj
;
19604 wxPrintDialogData
*result
;
19606 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19621 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19622 PyObject
*resultobj
;
19623 wxPrintData
*arg1
= 0 ;
19624 wxPrintDialogData
*result
;
19625 PyObject
* obj0
= 0 ;
19627 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19631 if (arg1
== NULL
) {
19632 PyErr_SetString(PyExc_TypeError
,"null reference");
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19649 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19654 argc
= PyObject_Length(args
);
19655 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19656 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19659 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19665 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
19673 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
19677 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
19682 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19684 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19685 PyObject
* obj0
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
19691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 Py_INCREF(Py_None
); resultobj
= Py_None
;
19707 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19711 PyObject
* obj0
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= SWIG_FromInt((int)result
);
19733 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "self", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= SWIG_FromInt((int)result
);
19759 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= SWIG_FromInt((int)result
);
19785 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_FromInt((int)result
);
19811 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
;
19813 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= SWIG_FromInt((int)result
);
19837 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19865 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
;
19867 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19869 PyObject
* obj0
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "self", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
19875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19893 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19897 PyObject
* obj0
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
19903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19921 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19925 PyObject
* obj0
= 0 ;
19926 char *kwnames
[] = {
19927 (char *) "self", NULL
19930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
19931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19949 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19950 PyObject
*resultobj
;
19951 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 char *kwnames
[] = {
19955 (char *) "self", NULL
19958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
19959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19977 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
;
19979 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19981 PyObject
* obj0
= 0 ;
19982 PyObject
* obj1
= 0 ;
19983 char *kwnames
[] = {
19984 (char *) "self",(char *) "v", NULL
19987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19990 arg2
= (int) SWIG_AsInt(obj1
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19994 (arg1
)->SetFromPage(arg2
);
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
19999 Py_INCREF(Py_None
); resultobj
= Py_None
;
20006 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20007 PyObject
*resultobj
;
20008 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20010 PyObject
* obj0
= 0 ;
20011 PyObject
* obj1
= 0 ;
20012 char *kwnames
[] = {
20013 (char *) "self",(char *) "v", NULL
20016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20019 arg2
= (int) SWIG_AsInt(obj1
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 (arg1
)->SetToPage(arg2
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 Py_INCREF(Py_None
); resultobj
= Py_None
;
20035 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20039 PyObject
* obj0
= 0 ;
20040 PyObject
* obj1
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self",(char *) "v", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20048 arg2
= (int) SWIG_AsInt(obj1
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 (arg1
)->SetMinPage(arg2
);
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 Py_INCREF(Py_None
); resultobj
= Py_None
;
20064 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20068 PyObject
* obj0
= 0 ;
20069 PyObject
* obj1
= 0 ;
20070 char *kwnames
[] = {
20071 (char *) "self",(char *) "v", NULL
20074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20077 arg2
= (int) SWIG_AsInt(obj1
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 (arg1
)->SetMaxPage(arg2
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 Py_INCREF(Py_None
); resultobj
= Py_None
;
20093 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20097 PyObject
* obj0
= 0 ;
20098 PyObject
* obj1
= 0 ;
20099 char *kwnames
[] = {
20100 (char *) "self",(char *) "v", NULL
20103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20106 arg2
= (int) SWIG_AsInt(obj1
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 (arg1
)->SetNoCopies(arg2
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 Py_INCREF(Py_None
); resultobj
= Py_None
;
20122 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
;
20124 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self",(char *) "flag", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20135 arg2
= (bool) SWIG_AsBool(obj1
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 (arg1
)->SetAllPages(arg2
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 Py_INCREF(Py_None
); resultobj
= Py_None
;
20151 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
;
20153 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20155 PyObject
* obj0
= 0 ;
20156 PyObject
* obj1
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self",(char *) "flag", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20164 arg2
= (bool) SWIG_AsBool(obj1
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 (arg1
)->SetSelection(arg2
);
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 Py_INCREF(Py_None
); resultobj
= Py_None
;
20180 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20184 PyObject
* obj0
= 0 ;
20185 PyObject
* obj1
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self",(char *) "flag", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20193 arg2
= (bool) SWIG_AsBool(obj1
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 (arg1
)->SetCollate(arg2
);
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 Py_INCREF(Py_None
); resultobj
= Py_None
;
20209 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 char *kwnames
[] = {
20216 (char *) "self",(char *) "flag", NULL
20219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20222 arg2
= (bool) SWIG_AsBool(obj1
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 (arg1
)->SetPrintToFile(arg2
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 Py_INCREF(Py_None
); resultobj
= Py_None
;
20238 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
;
20240 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20242 PyObject
* obj0
= 0 ;
20243 PyObject
* obj1
= 0 ;
20244 char *kwnames
[] = {
20245 (char *) "self",(char *) "flag", NULL
20248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20251 arg2
= (bool) SWIG_AsBool(obj1
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 (arg1
)->SetSetupDialog(arg2
);
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20260 Py_INCREF(Py_None
); resultobj
= Py_None
;
20267 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
;
20269 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20271 PyObject
* obj0
= 0 ;
20272 PyObject
* obj1
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self",(char *) "flag", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20280 arg2
= (bool) SWIG_AsBool(obj1
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 (arg1
)->EnablePrintToFile(arg2
);
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 Py_INCREF(Py_None
); resultobj
= Py_None
;
20296 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 PyObject
* obj1
= 0 ;
20302 char *kwnames
[] = {
20303 (char *) "self",(char *) "flag", NULL
20306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20309 arg2
= (bool) SWIG_AsBool(obj1
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20313 (arg1
)->EnableSelection(arg2
);
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 Py_INCREF(Py_None
); resultobj
= Py_None
;
20325 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 char *kwnames
[] = {
20332 (char *) "self",(char *) "flag", NULL
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20338 arg2
= (bool) SWIG_AsBool(obj1
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 (arg1
)->EnablePageNumbers(arg2
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 Py_INCREF(Py_None
); resultobj
= Py_None
;
20354 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
;
20356 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20358 PyObject
* obj0
= 0 ;
20359 PyObject
* obj1
= 0 ;
20360 char *kwnames
[] = {
20361 (char *) "self",(char *) "flag", NULL
20364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20367 arg2
= (bool) SWIG_AsBool(obj1
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20371 (arg1
)->EnableHelp(arg2
);
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20376 Py_INCREF(Py_None
); resultobj
= Py_None
;
20383 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20385 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20387 PyObject
* obj0
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20411 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20413 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20415 PyObject
* obj0
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20439 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 char *kwnames
[] = {
20445 (char *) "self", NULL
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20467 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20469 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20471 PyObject
* obj0
= 0 ;
20472 char *kwnames
[] = {
20473 (char *) "self", NULL
20476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20481 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20483 wxPyEndAllowThreads(__tstate
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20495 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20499 PyObject
* obj0
= 0 ;
20500 char *kwnames
[] = {
20501 (char *) "self", NULL
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20523 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20526 wxPrintData
*result
;
20527 PyObject
* obj0
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20539 result
= (wxPrintData
*) &_result_ref
;
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20552 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20553 PyObject
*resultobj
;
20554 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20555 wxPrintData
*arg2
= 0 ;
20556 PyObject
* obj0
= 0 ;
20557 PyObject
* obj1
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self",(char *) "printData", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20568 if (arg2
== NULL
) {
20569 PyErr_SetString(PyExc_TypeError
,"null reference");
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 Py_INCREF(Py_None
); resultobj
= Py_None
;
20586 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20589 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20591 return Py_BuildValue((char *)"");
20593 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
;
20595 wxWindow
*arg1
= (wxWindow
*) 0 ;
20596 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20597 wxPrintDialog
*result
;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "parent",(char *) "data", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20625 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20628 wxPrintDialogData
*result
;
20629 PyObject
* obj0
= 0 ;
20630 char *kwnames
[] = {
20631 (char *) "self", NULL
20634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20641 result
= (wxPrintDialogData
*) &_result_ref
;
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20654 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20658 PyObject
* obj0
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 result
= (wxDC
*)(arg1
)->GetPrintDC();
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= wxPyMake_wxObject(result
);
20682 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20683 PyObject
*resultobj
;
20684 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20686 PyObject
* obj0
= 0 ;
20687 char *kwnames
[] = {
20688 (char *) "self", NULL
20691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 result
= (int)(arg1
)->ShowModal();
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= SWIG_FromInt((int)result
);
20708 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20711 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
20713 return Py_BuildValue((char *)"");
20715 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20719 PyObject
* obj0
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "data", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (wxPrinter
*)new wxPrinter(arg1
);
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20743 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20746 PyObject
* obj0
= 0 ;
20747 char *kwnames
[] = {
20748 (char *) "self", NULL
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 Py_INCREF(Py_None
); resultobj
= Py_None
;
20768 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20771 wxWindow
*arg2
= (wxWindow
*) 0 ;
20772 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20773 PyObject
* obj0
= 0 ;
20774 PyObject
* obj1
= 0 ;
20775 PyObject
* obj2
= 0 ;
20776 char *kwnames
[] = {
20777 (char *) "self",(char *) "parent",(char *) "printout", NULL
20780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 (arg1
)->CreateAbortWindow(arg2
,arg3
);
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 Py_INCREF(Py_None
); resultobj
= Py_None
;
20801 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20803 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20804 wxPrintDialogData
*result
;
20805 PyObject
* obj0
= 0 ;
20806 char *kwnames
[] = {
20807 (char *) "self", NULL
20810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20817 result
= (wxPrintDialogData
*) &_result_ref
;
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20830 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20833 wxWindow
*arg2
= (wxWindow
*) 0 ;
20834 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20835 int arg4
= (int) True
;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 PyObject
* obj2
= 0 ;
20840 PyObject
* obj3
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20850 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 arg4
= (int) SWIG_AsInt(obj3
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20872 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20875 wxWindow
*arg2
= (wxWindow
*) 0 ;
20877 PyObject
* obj0
= 0 ;
20878 PyObject
* obj1
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self",(char *) "parent", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= wxPyMake_wxObject(result
);
20904 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20907 wxWindow
*arg2
= (wxWindow
*) 0 ;
20908 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20909 wxString
*arg4
= 0 ;
20910 bool temp4
= False
;
20911 PyObject
* obj0
= 0 ;
20912 PyObject
* obj1
= 0 ;
20913 PyObject
* obj2
= 0 ;
20914 PyObject
* obj3
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20924 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20927 arg4
= wxString_in_helper(obj3
);
20928 if (arg4
== NULL
) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 Py_INCREF(Py_None
); resultobj
= Py_None
;
20953 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20956 wxWindow
*arg2
= (wxWindow
*) 0 ;
20958 PyObject
* obj0
= 0 ;
20959 PyObject
* obj1
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self",(char *) "parent", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
20965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (bool)(arg1
)->Setup(arg2
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20985 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20989 PyObject
* obj0
= 0 ;
20990 char *kwnames
[] = {
20991 (char *) "self", NULL
20994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
20995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (bool)(arg1
)->GetAbort();
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21013 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21016 char *kwnames
[] = {
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= (int)wxPrinter::GetLastError();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= SWIG_FromInt((int)result
);
21035 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21038 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21040 return Py_BuildValue((char *)"");
21042 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21045 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21046 wxPyPrintout
*result
;
21047 bool temp1
= False
;
21048 PyObject
* obj0
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "title", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21056 arg1
= wxString_in_helper(obj0
);
21057 if (arg1
== NULL
) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= wxPyMake_wxObject(result
);
21085 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21086 PyObject
*resultobj
;
21087 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21088 PyObject
*arg2
= (PyObject
*) 0 ;
21089 PyObject
*arg3
= (PyObject
*) 0 ;
21090 PyObject
* obj0
= 0 ;
21091 PyObject
* obj1
= 0 ;
21092 PyObject
* obj2
= 0 ;
21093 char *kwnames
[] = {
21094 (char *) "self",(char *) "self",(char *) "_class", NULL
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 Py_INCREF(Py_None
); resultobj
= Py_None
;
21116 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21118 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21120 PyObject
* obj0
= 0 ;
21121 char *kwnames
[] = {
21122 (char *) "self", NULL
21125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21148 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21149 PyObject
*resultobj
;
21150 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 char *kwnames
[] = {
21154 (char *) "self", NULL
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (wxDC
*)(arg1
)->GetDC();
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= wxPyMake_wxObject(result
);
21176 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21179 wxDC
*arg2
= (wxDC
*) 0 ;
21180 PyObject
* obj0
= 0 ;
21181 PyObject
* obj1
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self",(char *) "dc", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 (arg1
)->SetDC(arg2
);
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21198 Py_INCREF(Py_None
); resultobj
= Py_None
;
21205 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
;
21207 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 PyObject
* obj2
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "w",(char *) "h", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21220 arg2
= (int) SWIG_AsInt(obj1
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21222 arg3
= (int) SWIG_AsInt(obj2
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 Py_INCREF(Py_None
); resultobj
= Py_None
;
21238 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21240 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21241 int *arg2
= (int *) 0 ;
21242 int *arg3
= (int *) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 Py_INCREF(Py_None
); resultobj
= Py_None
;
21264 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21265 resultobj
= t_output_helper(resultobj
,o
);
21268 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21269 resultobj
= t_output_helper(resultobj
,o
);
21277 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 PyObject
* obj2
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self",(char *) "w",(char *) "h", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21292 arg2
= (int) SWIG_AsInt(obj1
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21294 arg3
= (int) SWIG_AsInt(obj2
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 Py_INCREF(Py_None
); resultobj
= Py_None
;
21310 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21313 int *arg2
= (int *) 0 ;
21314 int *arg3
= (int *) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self", NULL
21324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21329 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21334 Py_INCREF(Py_None
); resultobj
= Py_None
;
21336 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21337 resultobj
= t_output_helper(resultobj
,o
);
21340 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21341 resultobj
= t_output_helper(resultobj
,o
);
21349 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21350 PyObject
*resultobj
;
21351 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 PyObject
* obj2
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "self",(char *) "x",(char *) "y", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21364 arg2
= (int) SWIG_AsInt(obj1
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21366 arg3
= (int) SWIG_AsInt(obj2
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 (arg1
)->SetPPIScreen(arg2
,arg3
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 Py_INCREF(Py_None
); resultobj
= Py_None
;
21382 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
;
21384 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21385 int *arg2
= (int *) 0 ;
21386 int *arg3
= (int *) 0 ;
21389 PyObject
* obj0
= 0 ;
21390 char *kwnames
[] = {
21391 (char *) "self", NULL
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 (arg1
)->GetPPIScreen(arg2
,arg3
);
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21406 Py_INCREF(Py_None
); resultobj
= Py_None
;
21408 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21409 resultobj
= t_output_helper(resultobj
,o
);
21412 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21413 resultobj
= t_output_helper(resultobj
,o
);
21421 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21422 PyObject
*resultobj
;
21423 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21426 PyObject
* obj0
= 0 ;
21427 PyObject
* obj1
= 0 ;
21428 PyObject
* obj2
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self",(char *) "x",(char *) "y", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21436 arg2
= (int) SWIG_AsInt(obj1
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21438 arg3
= (int) SWIG_AsInt(obj2
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21447 Py_INCREF(Py_None
); resultobj
= Py_None
;
21454 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21455 PyObject
*resultobj
;
21456 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21457 int *arg2
= (int *) 0 ;
21458 int *arg3
= (int *) 0 ;
21461 PyObject
* obj0
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self", NULL
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 Py_INCREF(Py_None
); resultobj
= Py_None
;
21480 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21481 resultobj
= t_output_helper(resultobj
,o
);
21484 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21485 resultobj
= t_output_helper(resultobj
,o
);
21493 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21497 PyObject
* obj0
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 result
= (bool)(arg1
)->IsPreview();
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21521 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
;
21523 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 PyObject
* obj1
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "self",(char *) "p", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21534 arg2
= (bool) SWIG_AsBool(obj1
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 (arg1
)->SetIsPreview(arg2
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 Py_INCREF(Py_None
); resultobj
= Py_None
;
21550 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21556 PyObject
* obj0
= 0 ;
21557 PyObject
* obj1
= 0 ;
21558 PyObject
* obj2
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21566 arg2
= (int) SWIG_AsInt(obj1
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21568 arg3
= (int) SWIG_AsInt(obj2
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21586 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 (arg1
)->base_OnEndDocument();
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 Py_INCREF(Py_None
); resultobj
= Py_None
;
21611 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 (arg1
)->base_OnBeginPrinting();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 Py_INCREF(Py_None
); resultobj
= Py_None
;
21636 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
;
21638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21639 PyObject
* obj0
= 0 ;
21640 char *kwnames
[] = {
21641 (char *) "self", NULL
21644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 (arg1
)->base_OnEndPrinting();
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 Py_INCREF(Py_None
); resultobj
= Py_None
;
21661 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
;
21663 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21664 PyObject
* obj0
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 (arg1
)->base_OnPreparePrinting();
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 Py_INCREF(Py_None
); resultobj
= Py_None
;
21686 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21691 PyObject
* obj0
= 0 ;
21692 PyObject
* obj1
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self",(char *) "page", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21700 arg2
= (int) SWIG_AsInt(obj1
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (bool)(arg1
)->base_HasPage(arg2
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21718 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21721 int *arg2
= (int *) 0 ;
21722 int *arg3
= (int *) 0 ;
21723 int *arg4
= (int *) 0 ;
21724 int *arg5
= (int *) 0 ;
21729 PyObject
* obj0
= 0 ;
21730 char *kwnames
[] = {
21731 (char *) "self", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 Py_INCREF(Py_None
); resultobj
= Py_None
;
21750 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21751 resultobj
= t_output_helper(resultobj
,o
);
21754 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21755 resultobj
= t_output_helper(resultobj
,o
);
21758 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21759 resultobj
= t_output_helper(resultobj
,o
);
21762 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21763 resultobj
= t_output_helper(resultobj
,o
);
21771 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
21773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21774 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
21776 return Py_BuildValue((char *)"");
21778 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21781 wxWindow
*arg2
= (wxWindow
*) 0 ;
21782 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21783 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21784 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21785 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21786 long arg5
= (long) 0 ;
21787 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
21788 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21789 wxPreviewCanvas
*result
;
21792 bool temp6
= False
;
21793 PyObject
* obj0
= 0 ;
21794 PyObject
* obj1
= 0 ;
21795 PyObject
* obj2
= 0 ;
21796 PyObject
* obj3
= 0 ;
21797 PyObject
* obj4
= 0 ;
21798 PyObject
* obj5
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21811 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21817 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21821 arg5
= (long) SWIG_AsLong(obj4
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21826 arg6
= wxString_in_helper(obj5
);
21827 if (arg6
== NULL
) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
21853 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
21855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21856 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
21858 return Py_BuildValue((char *)"");
21860 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21861 PyObject
*resultobj
;
21862 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21863 wxFrame
*arg2
= (wxFrame
*) 0 ;
21864 wxString
*arg3
= 0 ;
21865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21869 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21870 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21872 wxPreviewFrame
*result
;
21873 bool temp3
= False
;
21876 bool temp7
= False
;
21877 PyObject
* obj0
= 0 ;
21878 PyObject
* obj1
= 0 ;
21879 PyObject
* obj2
= 0 ;
21880 PyObject
* obj3
= 0 ;
21881 PyObject
* obj4
= 0 ;
21882 PyObject
* obj5
= 0 ;
21883 PyObject
* obj6
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21894 arg3
= wxString_in_helper(obj2
);
21895 if (arg3
== NULL
) SWIG_fail
;
21901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21911 arg6
= (long) SWIG_AsLong(obj5
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21916 arg7
= wxString_in_helper(obj6
);
21917 if (arg7
== NULL
) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
21951 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
;
21953 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21954 PyObject
* obj0
= 0 ;
21955 char *kwnames
[] = {
21956 (char *) "self", NULL
21959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
21960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 (arg1
)->Initialize();
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 Py_INCREF(Py_None
); resultobj
= Py_None
;
21976 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21979 PyObject
* obj0
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
21985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 (arg1
)->CreateControlBar();
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 Py_INCREF(Py_None
); resultobj
= Py_None
;
22001 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22004 PyObject
* obj0
= 0 ;
22005 char *kwnames
[] = {
22006 (char *) "self", NULL
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 (arg1
)->CreateCanvas();
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 Py_INCREF(Py_None
); resultobj
= Py_None
;
22026 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22029 wxPreviewControlBar
*result
;
22030 PyObject
* obj0
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22052 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22055 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22057 return Py_BuildValue((char *)"");
22059 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
;
22061 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22063 wxWindow
*arg3
= (wxWindow
*) 0 ;
22064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22068 long arg6
= (long) wxTAB_TRAVERSAL
;
22069 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22071 wxPreviewControlBar
*result
;
22074 bool temp7
= False
;
22075 PyObject
* obj0
= 0 ;
22076 PyObject
* obj1
= 0 ;
22077 PyObject
* obj2
= 0 ;
22078 PyObject
* obj3
= 0 ;
22079 PyObject
* obj4
= 0 ;
22080 PyObject
* obj5
= 0 ;
22081 PyObject
* obj6
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22089 arg2
= (long) SWIG_AsLong(obj1
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22091 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22096 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22102 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22106 arg6
= (long) SWIG_AsLong(obj5
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22111 arg7
= wxString_in_helper(obj6
);
22112 if (arg7
== NULL
) SWIG_fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22138 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= (int)(arg1
)->GetZoomControl();
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= SWIG_FromInt((int)result
);
22164 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22165 PyObject
*resultobj
;
22166 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22168 PyObject
* obj0
= 0 ;
22169 PyObject
* obj1
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self",(char *) "zoom", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22177 arg2
= (int) SWIG_AsInt(obj1
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 (arg1
)->SetZoomControl(arg2
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 Py_INCREF(Py_None
); resultobj
= Py_None
;
22193 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22195 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22196 wxPrintPreview
*result
;
22197 PyObject
* obj0
= 0 ;
22198 char *kwnames
[] = {
22199 (char *) "self", NULL
22202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22219 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22222 PyObject
* obj0
= 0 ;
22223 char *kwnames
[] = {
22224 (char *) "self", NULL
22227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 Py_INCREF(Py_None
); resultobj
= Py_None
;
22244 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22247 PyObject
* obj0
= 0 ;
22248 char *kwnames
[] = {
22249 (char *) "self", NULL
22252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 (arg1
)->OnPrevious();
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 Py_INCREF(Py_None
); resultobj
= Py_None
;
22269 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22272 PyObject
* obj0
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "self", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 Py_INCREF(Py_None
); resultobj
= Py_None
;
22294 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
;
22296 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22297 PyObject
* obj0
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 Py_INCREF(Py_None
); resultobj
= Py_None
;
22319 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22322 PyObject
* obj0
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 Py_INCREF(Py_None
); resultobj
= Py_None
;
22344 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22347 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22349 return Py_BuildValue((char *)"");
22351 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22352 PyObject
*resultobj
;
22353 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22354 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22355 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22356 wxPrintPreview
*result
;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 PyObject
* obj2
= 0 ;
22361 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22384 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22385 PyObject
*resultobj
;
22386 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22387 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22388 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22389 wxPrintPreview
*result
;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 PyObject
* obj2
= 0 ;
22394 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22399 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22415 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22420 argc
= PyObject_Length(args
);
22421 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22422 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22424 if ((argc
>= 2) && (argc
<= 3)) {
22428 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22438 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22447 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22451 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22459 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22468 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22478 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22488 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22496 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22502 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22507 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22509 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22514 char *kwnames
[] = {
22515 (char *) "self",(char *) "pageNum", NULL
22518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22521 arg2
= (int) SWIG_AsInt(obj1
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22539 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
;
22541 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22543 PyObject
* obj0
= 0 ;
22544 char *kwnames
[] = {
22545 (char *) "self", NULL
22548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 result
= (int)(arg1
)->GetCurrentPage();
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= SWIG_FromInt((int)result
);
22565 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22568 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22569 PyObject
* obj0
= 0 ;
22570 PyObject
* obj1
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "self",(char *) "printout", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 (arg1
)->SetPrintout(arg2
);
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 Py_INCREF(Py_None
); resultobj
= Py_None
;
22594 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22597 wxPyPrintout
*result
;
22598 PyObject
* obj0
= 0 ;
22599 char *kwnames
[] = {
22600 (char *) "self", NULL
22603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 resultobj
= wxPyMake_wxObject(result
);
22622 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22623 PyObject
*resultobj
;
22624 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22625 wxPyPrintout
*result
;
22626 PyObject
* obj0
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= wxPyMake_wxObject(result
);
22650 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22652 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22653 wxFrame
*arg2
= (wxFrame
*) 0 ;
22654 PyObject
* obj0
= 0 ;
22655 PyObject
* obj1
= 0 ;
22656 char *kwnames
[] = {
22657 (char *) "self",(char *) "frame", NULL
22660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 (arg1
)->SetFrame(arg2
);
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 Py_INCREF(Py_None
); resultobj
= Py_None
;
22679 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22680 PyObject
*resultobj
;
22681 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22682 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22683 PyObject
* obj0
= 0 ;
22684 PyObject
* obj1
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "self",(char *) "canvas", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 (arg1
)->SetCanvas(arg2
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 Py_INCREF(Py_None
); resultobj
= Py_None
;
22708 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 result
= (wxFrame
*)(arg1
)->GetFrame();
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= wxPyMake_wxObject(result
);
22736 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22738 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22739 wxPreviewCanvas
*result
;
22740 PyObject
* obj0
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "self", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22762 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22764 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22765 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 PyObject
* obj2
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22780 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22783 if (arg3
== NULL
) {
22784 PyErr_SetString(PyExc_TypeError
,"null reference");
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22803 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22804 PyObject
*resultobj
;
22805 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22806 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22809 PyObject
* obj0
= 0 ;
22810 PyObject
* obj1
= 0 ;
22811 PyObject
* obj2
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22821 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22824 if (arg3
== NULL
) {
22825 PyErr_SetString(PyExc_TypeError
,"null reference");
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22844 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22849 PyObject
* obj0
= 0 ;
22850 PyObject
* obj1
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "self",(char *) "pageNum", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22858 arg2
= (int) SWIG_AsInt(obj1
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 result
= (bool)(arg1
)->RenderPage(arg2
);
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22876 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
;
22878 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22879 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22880 PyObject
* obj0
= 0 ;
22881 PyObject
* obj1
= 0 ;
22882 char *kwnames
[] = {
22883 (char *) "self",(char *) "canvas", NULL
22886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
22887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 (arg1
)->AdjustScrollbars(arg2
);
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 Py_INCREF(Py_None
); resultobj
= Py_None
;
22905 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22908 wxPrintDialogData
*result
;
22909 PyObject
* obj0
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22921 result
= (wxPrintDialogData
*) &_result_ref
;
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22934 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
;
22936 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 PyObject
* obj1
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self",(char *) "percent", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22947 arg2
= (int) SWIG_AsInt(obj1
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 (arg1
)->SetZoom(arg2
);
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 Py_INCREF(Py_None
); resultobj
= Py_None
;
22963 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
;
22965 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22967 PyObject
* obj0
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "self", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
22973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (int)(arg1
)->GetZoom();
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_FromInt((int)result
);
22989 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
;
22991 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22993 PyObject
* obj0
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 result
= (int)(arg1
)->GetMaxPage();
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_FromInt((int)result
);
23015 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23016 PyObject
*resultobj
;
23017 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23019 PyObject
* obj0
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 result
= (int)(arg1
)->GetMinPage();
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= SWIG_FromInt((int)result
);
23041 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
;
23043 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23045 PyObject
* obj0
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "self", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (bool)(arg1
)->Ok();
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23069 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23073 PyObject
* obj0
= 0 ;
23074 PyObject
* obj1
= 0 ;
23075 char *kwnames
[] = {
23076 (char *) "self",(char *) "ok", NULL
23079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23082 arg2
= (bool) SWIG_AsBool(obj1
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 (arg1
)->SetOk(arg2
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 Py_INCREF(Py_None
); resultobj
= Py_None
;
23098 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23100 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23103 PyObject
* obj0
= 0 ;
23104 PyObject
* obj1
= 0 ;
23105 char *kwnames
[] = {
23106 (char *) "self",(char *) "interactive", NULL
23109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23112 arg2
= (bool) SWIG_AsBool(obj1
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= (bool)(arg1
)->Print(arg2
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23130 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23133 PyObject
* obj0
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 (arg1
)->DetermineScaling();
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 Py_INCREF(Py_None
); resultobj
= Py_None
;
23155 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23158 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23160 return Py_BuildValue((char *)"");
23162 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23163 PyObject
*resultobj
;
23164 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23165 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23166 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23167 wxPyPrintPreview
*result
;
23168 PyObject
* obj0
= 0 ;
23169 PyObject
* obj1
= 0 ;
23170 PyObject
* obj2
= 0 ;
23172 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23178 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23195 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23196 PyObject
*resultobj
;
23197 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23198 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23199 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23200 wxPyPrintPreview
*result
;
23201 PyObject
* obj0
= 0 ;
23202 PyObject
* obj1
= 0 ;
23203 PyObject
* obj2
= 0 ;
23205 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23210 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23226 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23231 argc
= PyObject_Length(args
);
23232 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23233 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23235 if ((argc
>= 2) && (argc
<= 3)) {
23239 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23249 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23258 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23262 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23270 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23279 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23289 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23299 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23307 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23313 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23318 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23319 PyObject
*resultobj
;
23320 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23321 PyObject
*arg2
= (PyObject
*) 0 ;
23322 PyObject
*arg3
= (PyObject
*) 0 ;
23323 PyObject
* obj0
= 0 ;
23324 PyObject
* obj1
= 0 ;
23325 PyObject
* obj2
= 0 ;
23326 char *kwnames
[] = {
23327 (char *) "self",(char *) "self",(char *) "_class", NULL
23330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 Py_INCREF(Py_None
); resultobj
= Py_None
;
23349 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
;
23351 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self",(char *) "pageNum", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23363 arg2
= (int) SWIG_AsInt(obj1
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23381 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23384 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23387 PyObject
* obj0
= 0 ;
23388 PyObject
* obj1
= 0 ;
23389 PyObject
* obj2
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23399 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23402 if (arg3
== NULL
) {
23403 PyErr_SetString(PyExc_TypeError
,"null reference");
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23422 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23425 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 PyObject
* obj2
= 0 ;
23431 char *kwnames
[] = {
23432 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23440 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23443 if (arg3
== NULL
) {
23444 PyErr_SetString(PyExc_TypeError
,"null reference");
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23463 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 PyObject
* obj1
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self",(char *) "pageNum", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23477 arg2
= (int) SWIG_AsInt(obj1
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23495 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
;
23497 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self",(char *) "percent", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23508 arg2
= (int) SWIG_AsInt(obj1
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 (arg1
)->base_SetZoom(arg2
);
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 Py_INCREF(Py_None
); resultobj
= Py_None
;
23524 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23529 PyObject
* obj0
= 0 ;
23530 PyObject
* obj1
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self",(char *) "interactive", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23538 arg2
= (bool) SWIG_AsBool(obj1
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= (bool)(arg1
)->base_Print(arg2
);
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23556 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23557 PyObject
*resultobj
;
23558 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23559 PyObject
* obj0
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 (arg1
)->base_DetermineScaling();
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23574 Py_INCREF(Py_None
); resultobj
= Py_None
;
23581 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23584 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23586 return Py_BuildValue((char *)"");
23588 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23591 wxFrame
*arg2
= (wxFrame
*) 0 ;
23592 wxString
*arg3
= 0 ;
23593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23597 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23598 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23599 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23600 wxPyPreviewFrame
*result
;
23601 bool temp3
= False
;
23604 bool temp7
= False
;
23605 PyObject
* obj0
= 0 ;
23606 PyObject
* obj1
= 0 ;
23607 PyObject
* obj2
= 0 ;
23608 PyObject
* obj3
= 0 ;
23609 PyObject
* obj4
= 0 ;
23610 PyObject
* obj5
= 0 ;
23611 PyObject
* obj6
= 0 ;
23612 char *kwnames
[] = {
23613 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23622 arg3
= wxString_in_helper(obj2
);
23623 if (arg3
== NULL
) SWIG_fail
;
23629 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23635 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23639 arg6
= (long) SWIG_AsLong(obj5
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23644 arg7
= wxString_in_helper(obj6
);
23645 if (arg7
== NULL
) SWIG_fail
;
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
23679 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23682 PyObject
*arg2
= (PyObject
*) 0 ;
23683 PyObject
*arg3
= (PyObject
*) 0 ;
23684 PyObject
* obj0
= 0 ;
23685 PyObject
* obj1
= 0 ;
23686 PyObject
* obj2
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "self",(char *) "_class", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23703 Py_INCREF(Py_None
); resultobj
= Py_None
;
23710 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23711 PyObject
*resultobj
;
23712 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23713 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23714 PyObject
* obj0
= 0 ;
23715 PyObject
* obj1
= 0 ;
23716 char *kwnames
[] = {
23717 (char *) "self",(char *) "canvas", NULL
23720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 (arg1
)->SetPreviewCanvas(arg2
);
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 Py_INCREF(Py_None
); resultobj
= Py_None
;
23739 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23742 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23743 PyObject
* obj0
= 0 ;
23744 PyObject
* obj1
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self",(char *) "bar", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23756 (arg1
)->SetControlBar(arg2
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 Py_INCREF(Py_None
); resultobj
= Py_None
;
23768 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
;
23770 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23771 PyObject
* obj0
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "self", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
23777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 (arg1
)->base_Initialize();
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23786 Py_INCREF(Py_None
); resultobj
= Py_None
;
23793 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23795 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23796 PyObject
* obj0
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "self", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 (arg1
)->base_CreateCanvas();
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 Py_INCREF(Py_None
); resultobj
= Py_None
;
23818 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23821 PyObject
* obj0
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 (arg1
)->base_CreateControlBar();
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 Py_INCREF(Py_None
); resultobj
= Py_None
;
23843 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
23845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23846 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
23848 return Py_BuildValue((char *)"");
23850 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
;
23852 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23854 wxWindow
*arg3
= (wxWindow
*) 0 ;
23855 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23856 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23857 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23858 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23859 long arg6
= (long) 0 ;
23860 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23861 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23862 wxPyPreviewControlBar
*result
;
23865 bool temp7
= False
;
23866 PyObject
* obj0
= 0 ;
23867 PyObject
* obj1
= 0 ;
23868 PyObject
* obj2
= 0 ;
23869 PyObject
* obj3
= 0 ;
23870 PyObject
* obj4
= 0 ;
23871 PyObject
* obj5
= 0 ;
23872 PyObject
* obj6
= 0 ;
23873 char *kwnames
[] = {
23874 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23880 arg2
= (long) SWIG_AsLong(obj1
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23882 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23887 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23893 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23897 arg6
= (long) SWIG_AsLong(obj5
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23902 arg7
= wxString_in_helper(obj6
);
23903 if (arg7
== NULL
) SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
23929 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23932 PyObject
*arg2
= (PyObject
*) 0 ;
23933 PyObject
*arg3
= (PyObject
*) 0 ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 PyObject
* obj2
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self",(char *) "self",(char *) "_class", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 Py_INCREF(Py_None
); resultobj
= Py_None
;
23960 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23963 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 char *kwnames
[] = {
23967 (char *) "self",(char *) "preview", NULL
23970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
23971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
23974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 (arg1
)->SetPrintPreview(arg2
);
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 Py_INCREF(Py_None
); resultobj
= Py_None
;
23989 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
;
23991 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23992 PyObject
* obj0
= 0 ;
23993 char *kwnames
[] = {
23994 (char *) "self", NULL
23997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
23998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 (arg1
)->base_CreateButtons();
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 Py_INCREF(Py_None
); resultobj
= Py_None
;
24014 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
;
24016 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24018 PyObject
* obj0
= 0 ;
24019 PyObject
* obj1
= 0 ;
24020 char *kwnames
[] = {
24021 (char *) "self",(char *) "zoom", NULL
24024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24027 arg2
= (int) SWIG_AsInt(obj1
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 (arg1
)->base_SetZoomControl(arg2
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 Py_INCREF(Py_None
); resultobj
= Py_None
;
24043 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24046 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24048 return Py_BuildValue((char *)"");
24050 static PyMethodDef SwigMethods
[] = {
24051 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24052 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24053 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24054 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24055 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24056 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24057 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24058 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24059 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24060 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24061 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24062 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24063 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24064 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24065 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24066 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24067 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24068 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24069 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24070 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24071 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24072 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24073 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24074 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24075 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24076 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24077 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24078 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24079 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24080 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24081 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24082 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24083 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24084 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24085 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24086 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24087 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24088 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24089 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24090 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24091 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24092 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24093 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24094 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24095 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24096 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24097 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24098 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24099 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24100 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24101 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24102 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24103 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24104 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24105 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24106 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24107 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24108 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24109 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24110 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24111 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24112 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24113 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24114 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24115 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24116 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24117 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24118 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24119 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24120 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24121 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24122 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24123 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24124 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24125 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24126 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24127 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24128 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24129 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24130 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24131 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24132 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24133 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24134 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24135 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24136 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24137 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24138 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24139 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24140 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24141 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24142 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24143 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24144 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24145 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24146 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24147 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24148 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24149 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24150 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24151 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24152 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24153 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24154 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24155 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24156 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24157 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24158 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24159 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24160 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24161 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24162 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24163 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24164 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24165 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24166 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24167 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24168 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24169 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24170 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24171 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24172 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24173 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24174 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24175 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24176 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24177 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24178 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24179 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24180 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24181 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24182 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24183 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24184 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24185 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24186 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24187 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24188 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24189 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24190 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24191 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24192 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24193 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24194 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24195 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24196 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24197 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24198 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24199 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24200 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24201 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24202 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24203 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24204 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24205 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24206 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24207 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24208 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24209 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24210 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24211 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24212 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24213 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24214 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24215 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24216 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24217 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24218 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24219 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24220 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24221 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24222 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24223 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24224 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24225 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24226 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24227 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24228 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24229 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24230 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24231 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24232 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24233 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24234 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24235 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24236 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24237 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24238 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24239 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24240 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24241 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24242 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24243 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24244 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24245 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24246 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24247 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24248 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24249 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24250 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24251 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24252 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24253 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24254 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24255 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24256 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24257 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24258 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24259 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24260 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24261 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24262 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24263 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24264 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24265 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24266 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24267 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24268 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24269 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24270 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24271 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24272 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24273 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24274 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24275 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24276 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24277 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24278 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24279 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24280 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24281 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24282 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24283 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24284 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24285 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24286 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24287 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24288 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24289 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24290 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24291 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24292 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24293 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24294 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24295 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24296 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24297 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24298 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24299 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24300 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24301 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24302 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24303 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24304 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24305 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24306 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24307 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24308 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24309 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24310 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24311 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24312 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24313 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24314 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24315 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
24316 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24317 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24318 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24319 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24320 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24321 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24322 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24323 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24324 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24325 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24326 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24327 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24328 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24329 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24330 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24331 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24332 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24333 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24334 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24335 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24336 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24337 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24338 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24339 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24340 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24341 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24342 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24343 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24344 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24345 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24346 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24347 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24348 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24349 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24350 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24351 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24352 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24353 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24354 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24355 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24356 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24357 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24358 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24359 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24360 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24361 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24362 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24363 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24364 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24365 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24366 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24367 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24368 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24369 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24370 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24371 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24372 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24373 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24374 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24375 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24376 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24377 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24378 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24379 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24380 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24381 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24382 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24383 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24384 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24389 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24391 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24392 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24394 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24396 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24398 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24402 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24404 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24405 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24406 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24407 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24408 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24409 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24410 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24412 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24413 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24415 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24416 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24418 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24419 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24421 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24422 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24424 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24425 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24426 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24428 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24431 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24434 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24436 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24437 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24441 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24443 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24445 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24448 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24454 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24458 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24465 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24468 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24469 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24473 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24493 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24502 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24516 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24517 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
24563 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
24595 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
24599 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
24600 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
24633 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
24638 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
24649 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
24672 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
24674 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
24680 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
24690 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
24691 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
24714 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
24715 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
24724 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
24732 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
24742 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24744 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24745 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24747 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24748 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24750 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24751 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24753 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24754 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24756 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24757 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24759 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24760 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24762 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24763 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24765 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24766 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24768 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
24769 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
24771 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
24772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
24774 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
24775 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24777 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
24778 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
24780 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
24781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24783 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
24784 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24786 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
24787 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
24789 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
24790 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24792 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
24793 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24795 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
24796 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
24798 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
24799 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
24801 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
24802 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
24804 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
24805 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
24807 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
24808 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
24810 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
24811 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
24813 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
24814 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
24816 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
24817 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24819 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
24820 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
24822 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
24823 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
24825 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
24826 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
24828 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
24829 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
24831 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
24832 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
24834 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
24835 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
24837 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
24838 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24840 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
24841 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
24843 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
24844 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
24846 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
24847 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
24849 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
24850 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
24852 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
24853 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24855 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
24856 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24858 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
24859 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
24861 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
24862 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
24864 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
24865 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
24867 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
24868 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
24870 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
24871 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24873 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
24874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24876 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
24877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24879 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
24880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
24882 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
24883 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
24885 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
24886 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
24888 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
24889 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
24891 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
24892 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
24894 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
24895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24897 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
24898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24900 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
24901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24903 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
24904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24906 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
24907 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24909 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
24910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24912 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
24913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24915 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
24916 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
24918 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
24919 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
24921 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
24922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24924 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
24925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
24927 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
24928 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24930 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
24931 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
24933 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
24934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24936 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
24937 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
24939 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
24940 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
24942 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
24943 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
24945 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
24946 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
24948 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
24949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24951 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
24952 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
24954 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
24955 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
24957 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
24958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
24960 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
24961 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
24963 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
24964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24966 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
24967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24969 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
24970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24972 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
24973 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
24975 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
24976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24978 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
24979 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
24981 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
24982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24984 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
24985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24987 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
24988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24990 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24993 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24996 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
24997 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
24999 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25002 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25005 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25008 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25011 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25014 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25017 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25020 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25021 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25023 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25024 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25026 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25027 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25029 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25030 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25032 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
25033 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
25035 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25036 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25038 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25039 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25041 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25042 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25044 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25045 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25047 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25048 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25050 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25051 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25053 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25054 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25056 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25059 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25062 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25063 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25065 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25066 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25068 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25069 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25071 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25072 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25074 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25075 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25077 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25078 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25080 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25081 return (void *)((wxObject
*) ((wxSizer
*) x
));
25083 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25084 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25086 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25087 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25089 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25090 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25092 static void *_p_wxEventTo_p_wxObject(void *x
) {
25093 return (void *)((wxObject
*) ((wxEvent
*) x
));
25095 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25096 return (void *)((wxObject
*) ((wxFontData
*) x
));
25098 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25099 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25101 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25102 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25104 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25105 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25107 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25108 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25110 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25111 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25113 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25114 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25116 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25117 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25119 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25120 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25122 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25123 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25125 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25126 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25128 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25129 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25131 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25132 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25134 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25135 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25137 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25140 static void *_p_wxControlTo_p_wxObject(void *x
) {
25141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25143 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25144 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25146 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25147 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25149 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25150 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25152 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25153 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25155 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25156 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25158 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25161 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25162 return (void *)((wxObject
*) ((wxColourData
*) x
));
25164 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25165 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25167 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25168 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25170 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25173 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25176 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25179 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25182 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25185 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25188 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25191 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25194 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25197 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25198 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25200 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25201 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25203 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25204 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25206 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25207 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25209 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25210 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25212 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25213 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25215 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25216 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25218 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25219 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25221 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25222 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25224 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25225 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25227 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25228 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25230 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25231 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25233 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25234 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25236 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25237 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25239 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25240 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25242 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25243 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25245 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25246 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25248 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25249 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25251 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25252 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25254 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25255 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25257 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25258 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25260 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25261 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25263 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25264 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25266 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25267 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25269 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25270 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25272 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25275 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25278 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25279 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25281 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25284 static void *_p_wxImageTo_p_wxObject(void *x
) {
25285 return (void *)((wxObject
*) ((wxImage
*) x
));
25287 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25290 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25291 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25293 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25294 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25296 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25297 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25299 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25302 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25305 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25308 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25309 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25311 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25312 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25314 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25315 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25317 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25318 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25320 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25323 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25326 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25329 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25332 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25335 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25338 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25341 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25344 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25347 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25350 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25353 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25356 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25359 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25362 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25363 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25365 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25366 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25368 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25371 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25374 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25377 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25380 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25383 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25386 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25389 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25390 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25392 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25395 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25396 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25398 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25399 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25401 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25402 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25404 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25405 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25407 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25408 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25410 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25413 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25414 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25416 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25419 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25422 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25423 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25425 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25426 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25428 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25429 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25431 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25434 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25435 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25437 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25438 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25440 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25443 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25444 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25446 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25447 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25449 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25450 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25452 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25453 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25455 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25456 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25458 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25459 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25461 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25462 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25464 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25465 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25467 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25468 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25470 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25471 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25473 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25474 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25476 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25477 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25479 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25480 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25482 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25483 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25485 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
25486 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
25488 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25489 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25491 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25492 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25494 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25495 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25497 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25498 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25500 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25501 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25503 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25504 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25506 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25507 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25509 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25510 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25512 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25513 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25515 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25516 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25518 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25519 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25521 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25522 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25524 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25525 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25527 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25528 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25530 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25531 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25533 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25534 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25536 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25537 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25539 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25540 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25542 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25543 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25545 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25546 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25548 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25549 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25551 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25552 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25554 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25555 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25557 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25558 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25560 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25561 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25563 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25564 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25566 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25567 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25569 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25570 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25572 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25573 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25575 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25576 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25578 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25579 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25581 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25582 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25584 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25585 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25587 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25588 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25590 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25591 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25593 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25594 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25596 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25597 return (void *)((wxWindow
*) ((wxControl
*) x
));
25599 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25600 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25602 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25603 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25605 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25606 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25608 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25609 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25611 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25612 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25614 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25615 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25617 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25618 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25620 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25621 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25623 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25624 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25626 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25627 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25629 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25630 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25632 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25633 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25635 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25636 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25638 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25639 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25641 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25642 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25644 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25645 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25647 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25648 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25650 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25651 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25653 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25654 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25656 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
25657 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25659 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
25660 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25662 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
25663 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
25665 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
25666 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
25668 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
25669 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
25671 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
25672 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
25674 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
25675 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
25677 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
25678 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
25680 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
25681 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25683 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
25684 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25686 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
25687 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
25689 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
25690 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
25692 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
25693 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
25695 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
25696 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
25698 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
25699 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25701 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
25702 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25704 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
25705 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25707 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
25708 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25710 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
25711 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
25713 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
25714 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25716 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
25717 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
25719 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
25720 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25722 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
25723 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25725 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
25726 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
25728 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
25729 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25731 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
25732 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25734 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
25735 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25737 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
25738 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25740 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
25741 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25743 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
25744 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25746 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
25747 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25749 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25750 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25752 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25753 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25755 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25756 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25758 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}};
25759 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}};
25760 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}};
25761 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}};
25762 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}};
25763 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}};
25764 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}};
25765 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}};
25766 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}};
25767 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}};
25768 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}};
25769 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}};
25770 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}};
25771 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}};
25772 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}};
25773 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}};
25774 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}};
25775 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}};
25776 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}};
25777 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}};
25778 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}};
25779 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}};
25780 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}};
25781 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}};
25782 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}};
25783 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}};
25784 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}};
25785 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}};
25786 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}};
25787 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}};
25788 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}};
25789 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}};
25790 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}};
25791 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}};
25792 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}};
25793 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25794 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}};
25795 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}};
25796 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}};
25797 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}};
25798 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}};
25799 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}};
25800 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25801 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}};
25802 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}};
25803 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}};
25804 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}};
25805 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}};
25806 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}};
25807 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_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25808 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}};
25809 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}};
25810 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}};
25811 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}};
25812 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}};
25813 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25814 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}};
25815 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}};
25816 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}};
25817 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25818 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}};
25819 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25820 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25821 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}};
25822 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}};
25823 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}};
25824 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}};
25825 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}};
25826 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}};
25827 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}};
25828 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}};
25829 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}};
25830 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}};
25831 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}};
25832 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}};
25833 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}};
25834 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}};
25835 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}};
25836 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}};
25837 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}};
25838 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}};
25839 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}};
25840 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}};
25841 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}};
25842 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}};
25843 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}};
25845 static swig_type_info
*swig_types_initial
[] = {
25846 _swigt__p_wxQueryLayoutInfoEvent
,
25847 _swigt__p_wxPreviewFrame
,
25848 _swigt__p_wxPyPreviewFrame
,
25849 _swigt__p_wxPyPanel
,
25851 _swigt__p_wxPrintData
,
25852 _swigt__p_wxFontData
,
25854 _swigt__p_wxTaskBarIcon
,
25855 _swigt__p_wxIconBundle
,
25856 _swigt__p_wxLayoutAlgorithm
,
25857 _swigt__p_wxFindDialogEvent
,
25858 _swigt__p_wxPreviewCanvas
,
25860 _swigt__p_wxSplitterEvent
,
25861 _swigt__p_wxRegion
,
25862 _swigt__p_wxFindReplaceData
,
25867 _swigt__p_wxMDIChildFrame
,
25868 _swigt__p_wxColourData
,
25869 _swigt__p_wxNotifyEvent
,
25870 _swigt__p_wxPyWindow
,
25871 _swigt__p_wxSplashScreen
,
25872 _swigt__p_wxFindReplaceDialog
,
25873 _swigt__p_wxProgressDialog
,
25874 _swigt__p_wxMessageDialog
,
25875 _swigt__p_wxTextEntryDialog
,
25876 _swigt__p_wxSingleChoiceDialog
,
25877 _swigt__p_wxMultiChoiceDialog
,
25878 _swigt__p_wxFileDialog
,
25879 _swigt__p_wxPrinter
,
25880 _swigt__p_wxArrayInt
,
25881 _swigt__p_wxEvtHandler
,
25882 _swigt__p_wxCalculateLayoutEvent
,
25883 _swigt__p_wxPyHtmlListBox
,
25884 _swigt__p_wxPyVListBox
,
25887 _swigt__p_wxMiniFrame
,
25889 _swigt__p_wxPyPrintout
,
25890 _swigt__p_wxTaskBarIconEvent
,
25891 _swigt__p_wxScrollWinEvent
,
25892 _swigt__p_wxStatusBar
,
25893 _swigt__p_wxMDIParentFrame
,
25895 _swigt__p_wxObject
,
25896 _swigt__p_wxOutputStream
,
25897 _swigt__p_unsigned_long
,
25898 _swigt__p_wxPyScrolledWindow
,
25899 _swigt__p_wxMDIClientWindow
,
25900 _swigt__p_wxTipWindow
,
25901 _swigt__p_wxPyPopupTransientWindow
,
25902 _swigt__p_wxSashLayoutWindow
,
25903 _swigt__p_wxSplitterWindow
,
25904 _swigt__p_wxPyVScrolledWindow
,
25905 _swigt__p_wxPopupWindow
,
25906 _swigt__p_wxSashWindow
,
25907 _swigt__p_wxTopLevelWindow
,
25908 _swigt__p_wxWindow
,
25909 _swigt__p_wxScrolledWindow
,
25910 _swigt__p_wxSplashScreenWindow
,
25911 _swigt__p_wxMenuBar
,
25912 _swigt__p_wxPrintPreview
,
25913 _swigt__p_wxSashEvent
,
25914 _swigt__p_wxString
,
25915 _swigt__p_wxPyPrintPreview
,
25916 _swigt__p_wxFontDialog
,
25917 _swigt__p_wxDirDialog
,
25918 _swigt__p_wxColourDialog
,
25919 _swigt__p_wxDialog
,
25921 _swigt__p_wxPageSetupDialog
,
25922 _swigt__p_wxPrintDialog
,
25923 _swigt__p_wxFileSystem
,
25924 _swigt__p_wxBitmap
,
25925 _swigt__p_wxCommandEvent
,
25926 _swigt__p_wxPreviewControlBar
,
25927 _swigt__p_wxPyPreviewControlBar
,
25928 _swigt__p_wxColour
,
25929 _swigt__p_wxToolBar
,
25930 _swigt__p_wxPageSetupDialogData
,
25931 _swigt__p_wxPrintDialogData
,
25936 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25938 static swig_const_info swig_const_table
[] = {
25948 SWIGEXPORT(void) SWIG_init(void) {
25949 static PyObject
*SWIG_globals
= 0;
25950 static int typeinit
= 0;
25953 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
25954 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
25955 d
= PyModule_GetDict(m
);
25958 for (i
= 0; swig_types_initial
[i
]; i
++) {
25959 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
25963 SWIG_InstallConstants(d
,swig_const_table
);
25965 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
25966 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
25967 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
25968 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
25969 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
25970 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
25971 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
25972 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
25973 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
25974 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
25975 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
25976 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
25977 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
25978 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
25979 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
25980 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
25981 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
25982 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
25983 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
25984 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
25985 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
25986 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
25987 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
25988 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
25989 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
25990 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
25991 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
25992 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
25993 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
25994 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
25995 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
25996 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
25997 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
25998 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
25999 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26000 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26001 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26002 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26003 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26004 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26005 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26006 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26007 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26008 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26009 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26010 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26011 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26012 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26013 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26014 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26015 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26016 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26017 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26018 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26019 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26020 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26021 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26022 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26023 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26024 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26025 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26026 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26027 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26028 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26029 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26030 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26031 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26032 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26033 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26034 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26035 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26036 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26037 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26038 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26039 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26040 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26041 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26042 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26043 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26044 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26045 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26046 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26047 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26048 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26049 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26050 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26051 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26052 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26053 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26054 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26055 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26056 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26057 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26059 // Map renamed classes back to their common name for OOR
26060 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26061 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26062 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26064 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26065 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26066 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26067 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26068 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26069 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26070 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26071 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26072 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26073 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26074 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26075 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26076 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26077 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26078 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26079 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26080 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26081 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26082 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26083 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26084 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26085 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26086 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26087 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26088 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26089 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26090 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26091 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26092 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26093 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26094 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26095 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26096 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26097 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26098 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26099 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26100 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26101 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26102 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26103 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26104 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26105 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26106 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26107 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26108 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26109 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26110 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26111 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26112 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26113 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26114 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26115 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26116 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26117 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26118 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26119 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26120 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26121 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26122 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26123 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26125 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");