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_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
304 #define SWIG_name "_windows"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
426 SWIGSTATICINLINE(int)
427 SWIG_CheckLong(PyObject
* obj
)
430 if (PyErr_Occurred()) {
439 SWIGSTATICINLINE(bool)
440 SWIG_AsBool(PyObject
*obj
)
442 return PyObject_IsTrue(obj
) ? true : false;
446 SWIGSTATICINLINE(int)
447 SWIG_CheckBool(PyObject
* obj
)
450 if (PyErr_Occurred()) {
459 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
465 } else if (target
== Py_None
) {
469 if (!PyTuple_Check(target
)) {
471 target
= PyTuple_New(1);
472 PyTuple_SetItem(target
, 0, o2
);
475 PyTuple_SetItem(o3
, 0, o
);
478 target
= PySequence_Concat(o2
, o3
);
486 SWIGSTATICINLINE(double)
487 SWIG_AsDouble(PyObject
*obj
)
489 if (PyNumber_Check(obj
))
490 return PyFloat_AsDouble(obj
);
492 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
493 obj
->ob_type
->tp_name
);
494 PyErr_SetObject(PyExc_TypeError
, errmsg
);
501 SWIGSTATICINLINE(int)
502 SWIG_CheckDouble(PyObject
* obj
)
505 if (PyErr_Occurred()) {
513 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
514 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
515 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
516 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
517 bool wxDialog_IsModalShowing(wxDialog
*self
){
521 return self
->IsModalShowing();
526 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
528 self
->GetFieldRect(i
, r
);
531 static const wxString
wxPySplitterNameStr(wxT("splitter"));
532 static const wxString
wxPySashNameStr(wxT("sashWindow"));
533 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
535 #include <wx/popupwin.h>
538 class wxPopupWindow
: public wxWindow
{
540 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
541 wxPopupWindow() { wxPyRaiseNotImplemented(); }
544 class wxPyPopupTransientWindow
: public wxPopupWindow
547 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
548 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
552 #include <wx/tipwin.h>
554 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
555 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
558 #include <wx/tipwin.h>
561 #include <wx/vscroll.h>
564 class wxPyVScrolledWindow
: public wxVScrolledWindow
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
570 wxPyVScrolledWindow(wxWindow
*parent
,
571 wxWindowID id
= wxID_ANY
,
572 const wxPoint
& pos
= wxDefaultPosition
,
573 const wxSize
& size
= wxDefaultSize
,
575 const wxString
& name
= wxPyPanelNameStr
)
576 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
579 // Overridable virtuals
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
608 // this function should return the best guess for the total height it may
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
613 // Also expose some other interesting protected methods
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
637 SWIGSTATICINLINE(unsigned long)
638 SWIG_AsUnsignedLong(PyObject
* obj
)
640 if (PyLong_Check(obj
)) {
641 return PyLong_AsUnsignedLong(obj
);
643 long i
= SWIG_AsLong(obj
);
644 if ( !PyErr_Occurred() && (i
< 0)) {
645 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
652 SWIGSTATICINLINE(int)
653 SWIG_CheckUnsignedLong(PyObject
* obj
)
655 SWIG_AsUnsignedLong(obj
);
656 if (PyErr_Occurred()) {
665 SWIGSTATICINLINE(PyObject
* )
666 SWIG_FromUnsignedLong(unsigned long value
)
668 return (value
> LONG_MAX
) ?
669 PyLong_FromUnsignedLong(value
)
670 : PyInt_FromLong(swig_numeric_cast(long,value
));
674 #include <wx/vlbox.h>
676 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
678 class wxPyVListBox
: public wxVListBox
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
682 wxPyVListBox() : wxVListBox() {}
684 wxPyVListBox(wxWindow
*parent
,
685 wxWindowID id
= wxID_ANY
,
686 const wxPoint
& pos
= wxDefaultPosition
,
687 const wxSize
& size
= wxDefaultSize
,
689 const wxString
& name
= wxPyVListBoxNameStr
)
690 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
693 // Overridable virtuals
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
701 // the derived class must implement this method to return the height of the
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
716 // this method is used to draw the items background and, maybe, a border
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
730 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
733 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
734 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
735 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
739 #include <wx/htmllbox.h>
742 class wxPyHtmlListBox
: public wxHtmlListBox
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
746 wxPyHtmlListBox() : wxHtmlListBox() {}
748 wxPyHtmlListBox(wxWindow
*parent
,
749 wxWindowID id
= wxID_ANY
,
750 const wxPoint
& pos
= wxDefaultPosition
,
751 const wxSize
& size
= wxDefaultSize
,
753 const wxString
& name
= wxPyVListBoxNameStr
)
754 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
757 // Overridable virtuals
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
767 // // this method allows to customize the selection appearance: it may be used
768 // // to specify the colour of the text which normally has the given colour
769 // // colFg when it is inside the selection
771 // // by default, the original colour is not used at all and all text has the
772 // // same (default for this system) colour inside selection
773 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
775 // // this is the same as GetSelectedTextColour() but allows to customize the
776 // // background colour -- this is even more rarely used as you can change it
777 // // globally using SetSelectionBackground()
778 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
785 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
787 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
788 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
795 // implement dummy classes and such for wxMac
797 class wxTaskBarIcon
: public wxEvtHandler
800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
804 class wxTaskBarIconEvent
: public wxEvent
807 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
808 { wxPyRaiseNotImplemented(); }
809 virtual wxEvent
* Clone() const { return NULL
; }
813 wxEVT_TASKBAR_MOVE
= 0,
814 wxEVT_TASKBAR_LEFT_DOWN
= 0,
815 wxEVT_TASKBAR_LEFT_UP
= 0,
816 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
817 wxEVT_TASKBAR_RIGHT_UP
= 0,
818 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
823 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
828 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
829 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
830 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
831 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
832 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
833 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
834 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
836 self
->GetFilenames(arr
);
837 return wxArrayString2PyList_helper(arr
);
839 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
842 return wxArrayString2PyList_helper(arr
);
844 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
845 return wxArrayInt2PyList_helper(self
->GetSelections());
847 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
848 return new wxSingleChoiceDialog(parent
, message
, caption
,
849 choices
, choices_array
, NULL
, style
, pos
);
854 // C++ version of Python aware wxWindow
855 class wxPyWindow
: public wxWindow
857 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
859 wxPyWindow() : wxWindow() {}
860 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
861 const wxPoint
& pos
= wxDefaultPosition
,
862 const wxSize
& size
= wxDefaultSize
,
864 const wxString
& name
= wxPyPanelNameStr
)
865 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
868 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
869 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
870 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
877 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
878 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
880 DEC_PYCALLBACK__(InitDialog
);
881 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
882 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
883 DEC_PYCALLBACK_BOOL_(Validate
);
885 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
887 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
889 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
890 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
892 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
893 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
898 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
900 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
901 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
902 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
903 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
905 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
906 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
907 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
909 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
910 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
912 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
914 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
915 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
917 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
918 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
919 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
921 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
922 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
924 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
925 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
928 // C++ version of Python aware wxPanel
929 class wxPyPanel
: public wxPanel
931 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
933 wxPyPanel() : wxPanel() {}
934 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
935 const wxPoint
& pos
= wxDefaultPosition
,
936 const wxSize
& size
= wxDefaultSize
,
938 const wxString
& name
= wxPyPanelNameStr
)
939 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
942 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
943 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
944 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
951 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
952 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
954 DEC_PYCALLBACK__(InitDialog
);
955 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
956 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
957 DEC_PYCALLBACK_BOOL_(Validate
);
959 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
961 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
963 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
964 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
966 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
967 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
972 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
974 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
975 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
976 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
983 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
984 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
986 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
988 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
989 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
991 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
992 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
993 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
995 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
998 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
999 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1001 // C++ version of Python aware wxScrolledWindow
1002 class wxPyScrolledWindow
: public wxScrolledWindow
1004 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1006 wxPyScrolledWindow() : wxScrolledWindow() {}
1007 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1008 const wxPoint
& pos
= wxDefaultPosition
,
1009 const wxSize
& size
= wxDefaultSize
,
1011 const wxString
& name
= wxPyPanelNameStr
)
1012 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1015 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1016 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1017 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1018 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1021 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1022 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1024 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1025 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1027 DEC_PYCALLBACK__(InitDialog
);
1028 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1029 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1030 DEC_PYCALLBACK_BOOL_(Validate
);
1032 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1033 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1034 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1036 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1037 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1039 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1040 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1045 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1047 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1048 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1049 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1050 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1052 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1053 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1054 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1056 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1057 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1059 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1061 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1062 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1064 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1065 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1066 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1068 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1069 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1071 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1072 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1075 #include "wx/wxPython/printfw.h"
1078 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1079 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1083 // Since this one would be tough and ugly to do with the Macros...
1084 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1085 bool hadErr
= False
;
1088 bool blocked
= wxPyBeginBlockThreads();
1089 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1090 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1091 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1094 val
= PyTuple_GetItem(result
, 0);
1095 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1098 val
= PyTuple_GetItem(result
, 1);
1099 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1102 val
= PyTuple_GetItem(result
, 2);
1103 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1106 val
= PyTuple_GetItem(result
, 3);
1107 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1114 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1119 wxPyEndBlockThreads(blocked
);
1121 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1124 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1125 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1129 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1130 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1131 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1132 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1133 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1134 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1135 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1141 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1142 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1143 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1146 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1147 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1150 bool blocked = wxPyBeginBlockThreads(); \
1151 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1152 PyObject* win = wxPyMake_wxObject(a); \
1153 PyObject* dc = wxPyMake_wxObject(&b); \
1154 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1158 wxPyEndBlockThreads(blocked); \
1160 rval = PCLASS::CBNAME(a, b); \
1163 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1164 return PCLASS::CBNAME(a, b); \
1170 class wxPyPrintPreview
: public wxPrintPreview
1172 DECLARE_CLASS(wxPyPrintPreview
)
1174 wxPyPrintPreview(wxPyPrintout
* printout
,
1175 wxPyPrintout
* printoutForPrinting
,
1176 wxPrintDialogData
* data
=NULL
)
1177 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1179 wxPyPrintPreview(wxPyPrintout
* printout
,
1180 wxPyPrintout
* printoutForPrinting
,
1181 wxPrintData
* data
=NULL
)
1182 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1185 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1186 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1187 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1188 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1189 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1190 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1191 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1196 // Stupid renamed classes... Fix this in 2.5...
1197 #if defined(__WXMSW__)
1198 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1199 #elif defined(__WXMAC__)
1200 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1202 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1205 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1206 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1207 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1208 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1209 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1210 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1211 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1214 class wxPyPreviewFrame
: public wxPreviewFrame
1216 DECLARE_CLASS(wxPyPreviewFrame
);
1218 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1219 const wxString
& title
,
1220 const wxPoint
& pos
= wxDefaultPosition
,
1221 const wxSize
& size
= wxDefaultSize
,
1222 long style
= wxDEFAULT_FRAME_STYLE
,
1223 const wxString
& name
= wxPyFrameNameStr
)
1224 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1227 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1228 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1230 DEC_PYCALLBACK_VOID_(Initialize
);
1231 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1232 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1237 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1239 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1240 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1241 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1244 class wxPyPreviewControlBar
: public wxPreviewControlBar
1246 DECLARE_CLASS(wxPyPreviewControlBar
);
1248 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1251 const wxPoint
& pos
= wxDefaultPosition
,
1252 const wxSize
& size
= wxDefaultSize
,
1254 const wxString
& name
= wxPyPanelNameStr
)
1255 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1258 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1260 DEC_PYCALLBACK_VOID_(CreateButtons
);
1261 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1266 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1267 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1268 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1273 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
*resultobj
;
1275 wxWindow
*arg1
= (wxWindow
*) 0 ;
1276 int arg2
= (int) (int)-1 ;
1277 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1278 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1279 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1280 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1281 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1282 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1283 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1287 bool temp6
= False
;
1288 PyObject
* obj0
= 0 ;
1289 PyObject
* obj1
= 0 ;
1290 PyObject
* obj2
= 0 ;
1291 PyObject
* obj3
= 0 ;
1292 PyObject
* obj4
= 0 ;
1293 PyObject
* obj5
= 0 ;
1295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1302 arg2
= (int const) SWIG_AsInt(obj1
);
1303 if (PyErr_Occurred()) SWIG_fail
;
1308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1314 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1318 arg5
= (long) SWIG_AsLong(obj4
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1323 arg6
= wxString_in_helper(obj5
);
1324 if (arg6
== NULL
) SWIG_fail
;
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1350 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
*resultobj
;
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 result
= (wxPanel
*)new wxPanel();
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) SWIG_fail
;
1365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1372 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
*resultobj
;
1374 wxPanel
*arg1
= (wxPanel
*) 0 ;
1375 wxWindow
*arg2
= (wxWindow
*) 0 ;
1376 int arg3
= (int) (int)-1 ;
1377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1381 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1382 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1383 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1387 bool temp7
= False
;
1388 PyObject
* obj0
= 0 ;
1389 PyObject
* obj1
= 0 ;
1390 PyObject
* obj2
= 0 ;
1391 PyObject
* obj3
= 0 ;
1392 PyObject
* obj4
= 0 ;
1393 PyObject
* obj5
= 0 ;
1394 PyObject
* obj6
= 0 ;
1396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1405 arg3
= (int const) SWIG_AsInt(obj2
);
1406 if (PyErr_Occurred()) SWIG_fail
;
1411 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1417 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1421 arg6
= (long) SWIG_AsLong(obj5
);
1422 if (PyErr_Occurred()) SWIG_fail
;
1426 arg7
= wxString_in_helper(obj6
);
1427 if (arg7
== NULL
) SWIG_fail
;
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) SWIG_fail
;
1439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1455 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1457 wxPanel
*arg1
= (wxPanel
*) 0 ;
1458 PyObject
* obj0
= 0 ;
1460 (char *) "self", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 (arg1
)->InitDialog();
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) SWIG_fail
;
1473 Py_INCREF(Py_None
); resultobj
= Py_None
;
1480 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1483 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1485 return Py_BuildValue((char *)"");
1487 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
*resultobj
;
1489 wxWindow
*arg1
= (wxWindow
*) 0 ;
1490 int arg2
= (int) (int)-1 ;
1491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1493 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1494 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1495 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1496 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1497 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1498 wxScrolledWindow
*result
;
1501 bool temp6
= False
;
1502 PyObject
* obj0
= 0 ;
1503 PyObject
* obj1
= 0 ;
1504 PyObject
* obj2
= 0 ;
1505 PyObject
* obj3
= 0 ;
1506 PyObject
* obj4
= 0 ;
1507 PyObject
* obj5
= 0 ;
1509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1516 arg2
= (int const) SWIG_AsInt(obj1
);
1517 if (PyErr_Occurred()) SWIG_fail
;
1522 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1528 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1532 arg5
= (long) SWIG_AsLong(obj4
);
1533 if (PyErr_Occurred()) SWIG_fail
;
1537 arg6
= wxString_in_helper(obj5
);
1538 if (arg6
== NULL
) SWIG_fail
;
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1564 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
*resultobj
;
1566 wxScrolledWindow
*result
;
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1586 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
*resultobj
;
1588 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1589 wxWindow
*arg2
= (wxWindow
*) 0 ;
1590 int arg3
= (int) (int)-1 ;
1591 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1592 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1593 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1594 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1595 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1596 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1597 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1601 bool temp7
= False
;
1602 PyObject
* obj0
= 0 ;
1603 PyObject
* obj1
= 0 ;
1604 PyObject
* obj2
= 0 ;
1605 PyObject
* obj3
= 0 ;
1606 PyObject
* obj4
= 0 ;
1607 PyObject
* obj5
= 0 ;
1608 PyObject
* obj6
= 0 ;
1610 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1619 arg3
= (int const) SWIG_AsInt(obj2
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1625 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1631 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1635 arg6
= (long) SWIG_AsLong(obj5
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1640 arg7
= wxString_in_helper(obj6
);
1641 if (arg7
== NULL
) SWIG_fail
;
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1669 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1671 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1676 int arg6
= (int) 0 ;
1677 int arg7
= (int) 0 ;
1678 bool arg8
= (bool) False
;
1679 PyObject
* obj0
= 0 ;
1680 PyObject
* obj1
= 0 ;
1681 PyObject
* obj2
= 0 ;
1682 PyObject
* obj3
= 0 ;
1683 PyObject
* obj4
= 0 ;
1684 PyObject
* obj5
= 0 ;
1685 PyObject
* obj6
= 0 ;
1686 PyObject
* obj7
= 0 ;
1688 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1694 arg2
= (int) SWIG_AsInt(obj1
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1696 arg3
= (int) SWIG_AsInt(obj2
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1698 arg4
= (int) SWIG_AsInt(obj3
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1700 arg5
= (int) SWIG_AsInt(obj4
);
1701 if (PyErr_Occurred()) SWIG_fail
;
1703 arg6
= (int) SWIG_AsInt(obj5
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1707 arg7
= (int) SWIG_AsInt(obj6
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1711 arg8
= (bool) SWIG_AsBool(obj7
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1716 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1718 wxPyEndAllowThreads(__tstate
);
1719 if (PyErr_Occurred()) SWIG_fail
;
1721 Py_INCREF(Py_None
); resultobj
= Py_None
;
1728 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
*resultobj
;
1730 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1733 PyObject
* obj0
= 0 ;
1734 PyObject
* obj1
= 0 ;
1735 PyObject
* obj2
= 0 ;
1737 (char *) "self",(char *) "x",(char *) "y", NULL
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1743 arg2
= (int) SWIG_AsInt(obj1
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1745 arg3
= (int) SWIG_AsInt(obj2
);
1746 if (PyErr_Occurred()) SWIG_fail
;
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 (arg1
)->Scroll(arg2
,arg3
);
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 Py_INCREF(Py_None
); resultobj
= Py_None
;
1761 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1766 PyObject
* obj0
= 0 ;
1767 PyObject
* obj1
= 0 ;
1769 (char *) "self",(char *) "orient", NULL
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1775 arg2
= (int) SWIG_AsInt(obj1
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) SWIG_fail
;
1784 resultobj
= SWIG_FromInt((int)result
);
1791 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
*resultobj
;
1793 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1796 PyObject
* obj0
= 0 ;
1797 PyObject
* obj1
= 0 ;
1798 PyObject
* obj2
= 0 ;
1800 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1806 arg2
= (int) SWIG_AsInt(obj1
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1808 arg3
= (int) SWIG_AsInt(obj2
);
1809 if (PyErr_Occurred()) SWIG_fail
;
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1817 Py_INCREF(Py_None
); resultobj
= Py_None
;
1824 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
*resultobj
;
1826 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1829 PyObject
* obj0
= 0 ;
1830 PyObject
* obj1
= 0 ;
1831 PyObject
* obj2
= 0 ;
1833 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1839 arg2
= (int) SWIG_AsInt(obj1
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1841 arg3
= (int) SWIG_AsInt(obj2
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 (arg1
)->SetScrollRate(arg2
,arg3
);
1847 wxPyEndAllowThreads(__tstate
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1850 Py_INCREF(Py_None
); resultobj
= Py_None
;
1857 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
*resultobj
;
1859 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1860 int *arg2
= (int *) 0 ;
1861 int *arg3
= (int *) 0 ;
1864 PyObject
* obj0
= 0 ;
1866 (char *) "self", NULL
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1881 Py_INCREF(Py_None
); resultobj
= Py_None
;
1883 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1884 resultobj
= t_output_helper(resultobj
,o
);
1887 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1888 resultobj
= t_output_helper(resultobj
,o
);
1896 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
*resultobj
;
1898 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1901 PyObject
* obj0
= 0 ;
1902 PyObject
* obj1
= 0 ;
1903 PyObject
* obj2
= 0 ;
1905 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 arg2
= (bool) SWIG_AsBool(obj1
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1913 arg3
= (bool) SWIG_AsBool(obj2
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 (arg1
)->EnableScrolling(arg2
,arg3
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1922 Py_INCREF(Py_None
); resultobj
= Py_None
;
1929 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
*resultobj
;
1931 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1932 int *arg2
= (int *) 0 ;
1933 int *arg3
= (int *) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 Py_INCREF(Py_None
); resultobj
= Py_None
;
1955 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1956 resultobj
= t_output_helper(resultobj
,o
);
1959 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1960 resultobj
= t_output_helper(resultobj
,o
);
1968 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1970 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1973 PyObject
* obj0
= 0 ;
1974 PyObject
* obj1
= 0 ;
1975 PyObject
* obj2
= 0 ;
1977 (char *) "self",(char *) "xs",(char *) "ys", NULL
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1983 arg2
= (double) SWIG_AsDouble(obj1
);
1984 if (PyErr_Occurred()) SWIG_fail
;
1985 arg3
= (double) SWIG_AsDouble(obj2
);
1986 if (PyErr_Occurred()) SWIG_fail
;
1988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1989 (arg1
)->SetScale(arg2
,arg3
);
1991 wxPyEndAllowThreads(__tstate
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1994 Py_INCREF(Py_None
); resultobj
= Py_None
;
2001 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
*resultobj
;
2003 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2005 PyObject
* obj0
= 0 ;
2007 (char *) "self", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 resultobj
= SWIG_FromDouble((double)result
);
2027 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2029 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2031 PyObject
* obj0
= 0 ;
2033 (char *) "self", NULL
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) SWIG_fail
;
2046 resultobj
= SWIG_FromDouble((double)result
);
2053 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2054 PyObject
*resultobj
;
2055 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2059 PyObject
* obj0
= 0 ;
2060 PyObject
* obj1
= 0 ;
2062 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2077 wxPoint
* resultptr
;
2078 resultptr
= new wxPoint((wxPoint
&) result
);
2079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2087 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2088 PyObject
*resultobj
;
2089 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2092 int *arg4
= (int *) 0 ;
2093 int *arg5
= (int *) 0 ;
2096 PyObject
* obj0
= 0 ;
2097 PyObject
* obj1
= 0 ;
2098 PyObject
* obj2
= 0 ;
2102 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2105 arg2
= (int) SWIG_AsInt(obj1
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2107 arg3
= (int) SWIG_AsInt(obj2
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2116 Py_INCREF(Py_None
); resultobj
= Py_None
;
2118 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2119 resultobj
= t_output_helper(resultobj
,o
);
2122 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2123 resultobj
= t_output_helper(resultobj
,o
);
2131 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2136 argc
= PyObject_Length(args
);
2137 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2138 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2144 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2153 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2156 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2164 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2172 _v
= SWIG_CheckInt(argv
[1]);
2174 _v
= SWIG_CheckInt(argv
[2]);
2176 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2182 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2187 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2188 PyObject
*resultobj
;
2189 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2194 PyObject
* obj1
= 0 ;
2196 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2211 wxPoint
* resultptr
;
2212 resultptr
= new wxPoint((wxPoint
&) result
);
2213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2221 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2222 PyObject
*resultobj
;
2223 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2226 int *arg4
= (int *) 0 ;
2227 int *arg5
= (int *) 0 ;
2230 PyObject
* obj0
= 0 ;
2231 PyObject
* obj1
= 0 ;
2232 PyObject
* obj2
= 0 ;
2236 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2239 arg2
= (int) SWIG_AsInt(obj1
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2241 arg3
= (int) SWIG_AsInt(obj2
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2250 Py_INCREF(Py_None
); resultobj
= Py_None
;
2252 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2253 resultobj
= t_output_helper(resultobj
,o
);
2256 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2257 resultobj
= t_output_helper(resultobj
,o
);
2265 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2270 argc
= PyObject_Length(args
);
2271 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2272 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2278 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2287 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2290 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2298 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2306 _v
= SWIG_CheckInt(argv
[1]);
2308 _v
= SWIG_CheckInt(argv
[2]);
2310 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2316 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2321 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2323 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2324 PyObject
* obj0
= 0 ;
2326 (char *) "self", NULL
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 (arg1
)->AdjustScrollbars();
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2339 Py_INCREF(Py_None
); resultobj
= Py_None
;
2346 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2349 wxScrollWinEvent
*arg2
= 0 ;
2351 PyObject
* obj0
= 0 ;
2352 PyObject
* obj1
= 0 ;
2354 (char *) "self",(char *) "event", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2364 PyErr_SetString(PyExc_TypeError
,"null reference");
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2374 resultobj
= SWIG_FromInt((int)result
);
2381 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2383 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2384 wxWindow
*arg2
= (wxWindow
*) 0 ;
2385 PyObject
* obj0
= 0 ;
2386 PyObject
* obj1
= 0 ;
2388 (char *) "self",(char *) "target", NULL
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 (arg1
)->SetTargetWindow(arg2
);
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 Py_INCREF(Py_None
); resultobj
= Py_None
;
2410 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
*resultobj
;
2412 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2414 PyObject
* obj0
= 0 ;
2416 (char *) "self", NULL
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2430 resultobj
= wxPyMake_wxObject(result
);
2438 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2440 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2446 (char *) "self",(char *) "rect", NULL
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2463 Py_INCREF(Py_None
); resultobj
= Py_None
;
2470 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
*resultobj
;
2472 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2474 PyObject
* obj0
= 0 ;
2476 (char *) "self", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2491 resultptr
= new wxRect((wxRect
&) result
);
2492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2500 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2503 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2505 return Py_BuildValue((char *)"");
2507 static int _wrap_FrameNameStr_set(PyObject
*) {
2508 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2513 static PyObject
*_wrap_FrameNameStr_get() {
2518 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2520 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2527 static int _wrap_DialogNameStr_set(PyObject
*) {
2528 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2533 static PyObject
*_wrap_DialogNameStr_get() {
2538 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2540 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2547 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2548 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2553 static PyObject
*_wrap_StatusLineNameStr_get() {
2558 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2560 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2567 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2568 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2573 static PyObject
*_wrap_ToolBarNameStr_get() {
2578 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2580 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2587 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
*resultobj
;
2589 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2590 bool arg2
= (bool) True
;
2591 PyObject
* obj0
= 0 ;
2592 PyObject
* obj1
= 0 ;
2594 (char *) "self",(char *) "maximize", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2601 arg2
= (bool) SWIG_AsBool(obj1
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2606 (arg1
)->Maximize(arg2
);
2608 wxPyEndAllowThreads(__tstate
);
2609 if (PyErr_Occurred()) SWIG_fail
;
2611 Py_INCREF(Py_None
); resultobj
= Py_None
;
2618 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2621 PyObject
* obj0
= 0 ;
2623 (char *) "self", NULL
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2636 Py_INCREF(Py_None
); resultobj
= Py_None
;
2643 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
*resultobj
;
2645 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2646 bool arg2
= (bool) True
;
2647 PyObject
* obj0
= 0 ;
2648 PyObject
* obj1
= 0 ;
2650 (char *) "self",(char *) "iconize", NULL
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2657 arg2
= (bool) SWIG_AsBool(obj1
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 (arg1
)->Iconize(arg2
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2667 Py_INCREF(Py_None
); resultobj
= Py_None
;
2674 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2678 PyObject
* obj0
= 0 ;
2680 (char *) "self", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2702 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2706 PyObject
* obj0
= 0 ;
2708 (char *) "self", NULL
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2730 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2732 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2734 PyObject
* obj0
= 0 ;
2736 (char *) "self", NULL
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2744 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2746 wxPyEndAllowThreads(__tstate
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2751 resultptr
= new wxIcon((wxIcon
&) result
);
2752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2760 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2764 PyObject
* obj0
= 0 ;
2765 PyObject
* obj1
= 0 ;
2767 (char *) "self",(char *) "icon", NULL
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2777 PyErr_SetString(PyExc_TypeError
,"null reference");
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2787 Py_INCREF(Py_None
); resultobj
= Py_None
;
2794 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2796 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2797 wxIconBundle
*arg2
= 0 ;
2798 PyObject
* obj0
= 0 ;
2799 PyObject
* obj1
= 0 ;
2801 (char *) "self",(char *) "icons", NULL
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2811 PyErr_SetString(PyExc_TypeError
,"null reference");
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 Py_INCREF(Py_None
); resultobj
= Py_None
;
2828 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2832 long arg3
= (long) wxFULLSCREEN_ALL
;
2834 PyObject
* obj0
= 0 ;
2835 PyObject
* obj1
= 0 ;
2836 PyObject
* obj2
= 0 ;
2838 (char *) "self",(char *) "show",(char *) "style", NULL
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2844 arg2
= (bool) SWIG_AsBool(obj1
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 arg3
= (long) SWIG_AsLong(obj2
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2866 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
*resultobj
;
2868 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2870 PyObject
* obj0
= 0 ;
2872 (char *) "self", NULL
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2894 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2897 wxString
*arg2
= 0 ;
2898 bool temp2
= False
;
2899 PyObject
* obj0
= 0 ;
2900 PyObject
* obj1
= 0 ;
2902 (char *) "self",(char *) "title", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2909 arg2
= wxString_in_helper(obj1
);
2910 if (arg2
== NULL
) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 (arg1
)->SetTitle((wxString
const &)*arg2
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2920 Py_INCREF(Py_None
); resultobj
= Py_None
;
2935 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
*resultobj
;
2937 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2939 PyObject
* obj0
= 0 ;
2941 (char *) "self", NULL
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) SWIG_fail
;
2956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2967 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2970 wxRegion
*arg2
= 0 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2975 (char *) "self",(char *) "region", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2985 PyErr_SetString(PyExc_TypeError
,"null reference");
2989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2990 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2992 wxPyEndAllowThreads(__tstate
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3004 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3006 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3008 PyObject
* obj0
= 0 ;
3009 PyObject
* obj1
= 0 ;
3011 (char *) "self",(char *) "on", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3017 arg2
= (bool) SWIG_AsBool(obj1
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 (arg1
)->MacSetMetalAppearance(arg2
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3026 Py_INCREF(Py_None
); resultobj
= Py_None
;
3033 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3037 PyObject
* obj0
= 0 ;
3039 (char *) "self", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3061 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3064 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3066 return Py_BuildValue((char *)"");
3068 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxWindow
*arg1
= (wxWindow
*) 0 ;
3072 wxString
*arg3
= 0 ;
3073 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3074 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3075 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3076 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3077 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3078 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3079 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3081 bool temp3
= False
;
3084 bool temp7
= False
;
3085 PyObject
* obj0
= 0 ;
3086 PyObject
* obj1
= 0 ;
3087 PyObject
* obj2
= 0 ;
3088 PyObject
* obj3
= 0 ;
3089 PyObject
* obj4
= 0 ;
3090 PyObject
* obj5
= 0 ;
3091 PyObject
* obj6
= 0 ;
3093 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3099 arg2
= (int const) SWIG_AsInt(obj1
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3102 arg3
= wxString_in_helper(obj2
);
3103 if (arg3
== NULL
) SWIG_fail
;
3109 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3115 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3119 arg6
= (long) SWIG_AsLong(obj5
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3124 arg7
= wxString_in_helper(obj6
);
3125 if (arg7
== NULL
) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3137 resultobj
= wxPyMake_wxObject(result
);
3161 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 result
= (wxFrame
*)new wxFrame();
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3177 resultobj
= wxPyMake_wxObject(result
);
3185 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxFrame
*arg1
= (wxFrame
*) 0 ;
3188 wxWindow
*arg2
= (wxWindow
*) 0 ;
3190 wxString
*arg4
= 0 ;
3191 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3192 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3193 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3194 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3195 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3196 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3197 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3199 bool temp4
= False
;
3202 bool temp8
= False
;
3203 PyObject
* obj0
= 0 ;
3204 PyObject
* obj1
= 0 ;
3205 PyObject
* obj2
= 0 ;
3206 PyObject
* obj3
= 0 ;
3207 PyObject
* obj4
= 0 ;
3208 PyObject
* obj5
= 0 ;
3209 PyObject
* obj6
= 0 ;
3210 PyObject
* obj7
= 0 ;
3212 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3220 arg3
= (int const) SWIG_AsInt(obj2
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3223 arg4
= wxString_in_helper(obj3
);
3224 if (arg4
== NULL
) SWIG_fail
;
3230 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3236 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3240 arg7
= (long) SWIG_AsLong(obj6
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3245 arg8
= wxString_in_helper(obj7
);
3246 if (arg8
== NULL
) SWIG_fail
;
3251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3254 wxPyEndAllowThreads(__tstate
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3282 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxFrame
*arg1
= (wxFrame
*) 0 ;
3286 PyObject
* obj0
= 0 ;
3288 (char *) "self", NULL
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3302 wxPoint
* resultptr
;
3303 resultptr
= new wxPoint((wxPoint
&) result
);
3304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3312 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxFrame
*arg1
= (wxFrame
*) 0 ;
3315 PyObject
* obj0
= 0 ;
3317 (char *) "self", NULL
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 (arg1
)->SendSizeEvent();
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3330 Py_INCREF(Py_None
); resultobj
= Py_None
;
3337 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxFrame
*arg1
= (wxFrame
*) 0 ;
3340 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3341 PyObject
* obj0
= 0 ;
3342 PyObject
* obj1
= 0 ;
3344 (char *) "self",(char *) "menubar", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 (arg1
)->SetMenuBar(arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxFrame
*arg1
= (wxFrame
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3372 (char *) "self", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3386 resultobj
= wxPyMake_wxObject(result
);
3394 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxFrame
*arg1
= (wxFrame
*) 0 ;
3399 PyObject
* obj0
= 0 ;
3400 PyObject
* obj1
= 0 ;
3402 (char *) "self",(char *) "winid", NULL
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3408 arg2
= (int) SWIG_AsInt(obj1
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3426 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 wxFrame
*arg1
= (wxFrame
*) 0 ;
3429 int arg2
= (int) 1 ;
3430 long arg3
= (long) wxST_SIZEGRIP
;
3431 int arg4
= (int) 0 ;
3432 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3433 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3434 wxStatusBar
*result
;
3435 bool temp5
= False
;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3438 PyObject
* obj2
= 0 ;
3439 PyObject
* obj3
= 0 ;
3440 PyObject
* obj4
= 0 ;
3442 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3449 arg2
= (int) SWIG_AsInt(obj1
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3453 arg3
= (long) SWIG_AsLong(obj2
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3457 arg4
= (int) SWIG_AsInt(obj3
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3462 arg5
= wxString_in_helper(obj4
);
3463 if (arg5
== NULL
) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= wxPyMake_wxObject(result
);
3491 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
*resultobj
;
3493 wxFrame
*arg1
= (wxFrame
*) 0 ;
3494 wxStatusBar
*result
;
3495 PyObject
* obj0
= 0 ;
3497 (char *) "self", NULL
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= wxPyMake_wxObject(result
);
3519 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxFrame
*arg1
= (wxFrame
*) 0 ;
3522 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3523 PyObject
* obj0
= 0 ;
3524 PyObject
* obj1
= 0 ;
3526 (char *) "self",(char *) "statBar", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 (arg1
)->SetStatusBar(arg2
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 Py_INCREF(Py_None
); resultobj
= Py_None
;
3548 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxFrame
*arg1
= (wxFrame
*) 0 ;
3551 wxString
*arg2
= 0 ;
3552 int arg3
= (int) 0 ;
3553 bool temp2
= False
;
3554 PyObject
* obj0
= 0 ;
3555 PyObject
* obj1
= 0 ;
3556 PyObject
* obj2
= 0 ;
3558 (char *) "self",(char *) "text",(char *) "number", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 arg2
= wxString_in_helper(obj1
);
3566 if (arg2
== NULL
) SWIG_fail
;
3570 arg3
= (int) SWIG_AsInt(obj2
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 Py_INCREF(Py_None
); resultobj
= Py_None
;
3595 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxFrame
*arg1
= (wxFrame
*) 0 ;
3599 int *arg3
= (int *) 0 ;
3600 PyObject
* obj0
= 0 ;
3601 PyObject
* obj1
= 0 ;
3603 (char *) "self",(char *) "widths", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 arg2
= PyList_Size(obj1
);
3611 arg3
= int_LIST_helper(obj1
);
3612 if (arg3
== NULL
) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 Py_INCREF(Py_None
); resultobj
= Py_None
;
3623 if (arg3
) delete [] arg3
;
3628 if (arg3
) delete [] arg3
;
3634 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
*resultobj
;
3636 wxFrame
*arg1
= (wxFrame
*) 0 ;
3637 wxString
*arg2
= 0 ;
3638 int arg3
= (int) 0 ;
3639 bool temp2
= False
;
3640 PyObject
* obj0
= 0 ;
3641 PyObject
* obj1
= 0 ;
3642 PyObject
* obj2
= 0 ;
3644 (char *) "self",(char *) "text",(char *) "number", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 arg2
= wxString_in_helper(obj1
);
3652 if (arg2
== NULL
) SWIG_fail
;
3656 arg3
= (int) SWIG_AsInt(obj2
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 Py_INCREF(Py_None
); resultobj
= Py_None
;
3681 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxFrame
*arg1
= (wxFrame
*) 0 ;
3684 int arg2
= (int) 0 ;
3685 PyObject
* obj0
= 0 ;
3686 PyObject
* obj1
= 0 ;
3688 (char *) "self",(char *) "number", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3695 arg2
= (int) SWIG_AsInt(obj1
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 (arg1
)->PopStatusText(arg2
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 Py_INCREF(Py_None
); resultobj
= Py_None
;
3712 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxFrame
*arg1
= (wxFrame
*) 0 ;
3716 PyObject
* obj0
= 0 ;
3717 PyObject
* obj1
= 0 ;
3719 (char *) "self",(char *) "n", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3725 arg2
= (int) SWIG_AsInt(obj1
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 (arg1
)->SetStatusBarPane(arg2
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 Py_INCREF(Py_None
); resultobj
= Py_None
;
3741 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxFrame
*arg1
= (wxFrame
*) 0 ;
3745 PyObject
* obj0
= 0 ;
3747 (char *) "self", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 resultobj
= SWIG_FromInt((int)result
);
3767 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 wxFrame
*arg1
= (wxFrame
*) 0 ;
3770 long arg2
= (long) -1 ;
3771 int arg3
= (int) -1 ;
3772 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3773 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3775 bool temp4
= False
;
3776 PyObject
* obj0
= 0 ;
3777 PyObject
* obj1
= 0 ;
3778 PyObject
* obj2
= 0 ;
3779 PyObject
* obj3
= 0 ;
3781 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3788 arg2
= (long) SWIG_AsLong(obj1
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3792 arg3
= (int) SWIG_AsInt(obj2
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3797 arg4
= wxString_in_helper(obj3
);
3798 if (arg4
== NULL
) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= wxPyMake_wxObject(result
);
3826 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxFrame
*arg1
= (wxFrame
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3832 (char *) "self", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= wxPyMake_wxObject(result
);
3854 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxFrame
*arg1
= (wxFrame
*) 0 ;
3857 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3861 (char *) "self",(char *) "toolbar", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 (arg1
)->SetToolBar(arg2
);
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 Py_INCREF(Py_None
); resultobj
= Py_None
;
3883 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxFrame
*arg1
= (wxFrame
*) 0 ;
3886 wxString
*arg2
= 0 ;
3888 bool temp2
= False
;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3891 PyObject
* obj2
= 0 ;
3893 (char *) "self",(char *) "text",(char *) "show", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 arg2
= wxString_in_helper(obj1
);
3901 if (arg2
== NULL
) SWIG_fail
;
3904 arg3
= (bool) SWIG_AsBool(obj2
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 Py_INCREF(Py_None
); resultobj
= Py_None
;
3928 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3930 wxFrame
*arg1
= (wxFrame
*) 0 ;
3931 wxMenu
*arg2
= (wxMenu
*) NULL
;
3932 PyObject
* obj0
= 0 ;
3933 PyObject
* obj1
= 0 ;
3935 (char *) "self",(char *) "menu", NULL
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 (arg1
)->DoMenuUpdates(arg2
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 Py_INCREF(Py_None
); resultobj
= Py_None
;
3959 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
3961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3962 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3964 return Py_BuildValue((char *)"");
3966 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxWindow
*arg1
= (wxWindow
*) 0 ;
3970 wxString
*arg3
= 0 ;
3971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3975 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3976 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3977 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3979 bool temp3
= False
;
3982 bool temp7
= False
;
3983 PyObject
* obj0
= 0 ;
3984 PyObject
* obj1
= 0 ;
3985 PyObject
* obj2
= 0 ;
3986 PyObject
* obj3
= 0 ;
3987 PyObject
* obj4
= 0 ;
3988 PyObject
* obj5
= 0 ;
3989 PyObject
* obj6
= 0 ;
3991 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3997 arg2
= (int const) SWIG_AsInt(obj1
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4000 arg3
= wxString_in_helper(obj2
);
4001 if (arg3
== NULL
) SWIG_fail
;
4007 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4013 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4017 arg6
= (long) SWIG_AsLong(obj5
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4022 arg7
= wxString_in_helper(obj6
);
4023 if (arg7
== NULL
) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4057 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (wxDialog
*)new wxDialog();
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4079 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxDialog
*arg1
= (wxDialog
*) 0 ;
4082 wxWindow
*arg2
= (wxWindow
*) 0 ;
4084 wxString
*arg4
= 0 ;
4085 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4086 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4087 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4088 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4089 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4090 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4091 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4093 bool temp4
= False
;
4096 bool temp8
= False
;
4097 PyObject
* obj0
= 0 ;
4098 PyObject
* obj1
= 0 ;
4099 PyObject
* obj2
= 0 ;
4100 PyObject
* obj3
= 0 ;
4101 PyObject
* obj4
= 0 ;
4102 PyObject
* obj5
= 0 ;
4103 PyObject
* obj6
= 0 ;
4104 PyObject
* obj7
= 0 ;
4106 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 arg3
= (int const) SWIG_AsInt(obj2
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 arg4
= wxString_in_helper(obj3
);
4118 if (arg4
== NULL
) SWIG_fail
;
4124 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4130 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4134 arg7
= (long) SWIG_AsLong(obj6
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4139 arg8
= wxString_in_helper(obj7
);
4140 if (arg8
== NULL
) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4176 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxDialog
*arg1
= (wxDialog
*) 0 ;
4180 PyObject
* obj0
= 0 ;
4181 PyObject
* obj1
= 0 ;
4183 (char *) "self",(char *) "returnCode", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4189 arg2
= (int) SWIG_AsInt(obj1
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 (arg1
)->SetReturnCode(arg2
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 Py_INCREF(Py_None
); resultobj
= Py_None
;
4205 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxDialog
*arg1
= (wxDialog
*) 0 ;
4209 PyObject
* obj0
= 0 ;
4211 (char *) "self", NULL
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= SWIG_FromInt((int)result
);
4231 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
;
4233 wxDialog
*arg1
= (wxDialog
*) 0 ;
4234 wxString
*arg2
= 0 ;
4236 bool temp2
= False
;
4237 PyObject
* obj0
= 0 ;
4238 PyObject
* obj1
= 0 ;
4240 (char *) "self",(char *) "message", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4247 arg2
= wxString_in_helper(obj1
);
4248 if (arg2
== NULL
) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= wxPyMake_wxSizer(result
);
4275 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxDialog
*arg1
= (wxDialog
*) 0 ;
4280 PyObject
* obj0
= 0 ;
4281 PyObject
* obj1
= 0 ;
4283 (char *) "self",(char *) "flags", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4289 arg2
= (long) SWIG_AsLong(obj1
);
4290 if (PyErr_Occurred()) SWIG_fail
;
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) SWIG_fail
;
4299 resultobj
= wxPyMake_wxSizer(result
);
4307 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4309 wxDialog
*arg1
= (wxDialog
*) 0 ;
4311 PyObject
* obj0
= 0 ;
4313 (char *) "self", NULL
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4335 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxDialog
*arg1
= (wxDialog
*) 0 ;
4339 PyObject
* obj0
= 0 ;
4341 (char *) "self", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (int)(arg1
)->ShowModal();
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= SWIG_FromInt((int)result
);
4361 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxDialog
*arg1
= (wxDialog
*) 0 ;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4368 (char *) "self",(char *) "retCode", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4374 arg2
= (int) SWIG_AsInt(obj1
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 (arg1
)->EndModal(arg2
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 Py_INCREF(Py_None
); resultobj
= Py_None
;
4390 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxDialog
*arg1
= (wxDialog
*) 0 ;
4394 PyObject
* obj0
= 0 ;
4396 (char *) "self", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (bool)wxDialog_IsModalShowing(arg1
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4418 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4421 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4423 return Py_BuildValue((char *)"");
4425 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 wxWindow
*arg1
= (wxWindow
*) 0 ;
4429 wxString
*arg3
= 0 ;
4430 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4431 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4432 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4433 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4434 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4435 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4436 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4437 wxMiniFrame
*result
;
4438 bool temp3
= False
;
4441 bool temp7
= False
;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 PyObject
* obj3
= 0 ;
4446 PyObject
* obj4
= 0 ;
4447 PyObject
* obj5
= 0 ;
4448 PyObject
* obj6
= 0 ;
4450 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4456 arg2
= (int const) SWIG_AsInt(obj1
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 arg3
= wxString_in_helper(obj2
);
4460 if (arg3
== NULL
) SWIG_fail
;
4466 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4472 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4476 arg6
= (long) SWIG_AsLong(obj5
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4481 arg7
= wxString_in_helper(obj6
);
4482 if (arg7
== NULL
) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4516 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxMiniFrame
*result
;
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 result
= (wxMiniFrame
*)new wxMiniFrame();
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4538 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
;
4540 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4541 wxWindow
*arg2
= (wxWindow
*) 0 ;
4543 wxString
*arg4
= 0 ;
4544 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4545 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4546 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4547 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4548 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4549 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4550 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4552 bool temp4
= False
;
4555 bool temp8
= False
;
4556 PyObject
* obj0
= 0 ;
4557 PyObject
* obj1
= 0 ;
4558 PyObject
* obj2
= 0 ;
4559 PyObject
* obj3
= 0 ;
4560 PyObject
* obj4
= 0 ;
4561 PyObject
* obj5
= 0 ;
4562 PyObject
* obj6
= 0 ;
4563 PyObject
* obj7
= 0 ;
4565 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4573 arg3
= (int const) SWIG_AsInt(obj2
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 arg4
= wxString_in_helper(obj3
);
4577 if (arg4
== NULL
) SWIG_fail
;
4583 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4589 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4593 arg7
= (long) SWIG_AsLong(obj6
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4598 arg8
= wxString_in_helper(obj7
);
4599 if (arg8
== NULL
) SWIG_fail
;
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4635 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4638 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4640 return Py_BuildValue((char *)"");
4642 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4644 wxBitmap
*arg1
= 0 ;
4645 wxWindow
*arg2
= (wxWindow
*) 0 ;
4647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4649 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4650 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4651 long arg6
= (long) wxNO_BORDER
;
4652 wxSplashScreenWindow
*result
;
4655 PyObject
* obj0
= 0 ;
4656 PyObject
* obj1
= 0 ;
4657 PyObject
* obj2
= 0 ;
4658 PyObject
* obj3
= 0 ;
4659 PyObject
* obj4
= 0 ;
4660 PyObject
* obj5
= 0 ;
4662 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4670 PyErr_SetString(PyExc_TypeError
,"null reference");
4673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4675 arg3
= (int) SWIG_AsInt(obj2
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4686 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4690 arg6
= (long) SWIG_AsLong(obj5
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4707 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
;
4709 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4710 wxBitmap
*arg2
= 0 ;
4711 PyObject
* obj0
= 0 ;
4712 PyObject
* obj1
= 0 ;
4714 (char *) "self",(char *) "bitmap", NULL
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4724 PyErr_SetString(PyExc_TypeError
,"null reference");
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 Py_INCREF(Py_None
); resultobj
= Py_None
;
4741 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4747 (char *) "self", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4757 result
= (wxBitmap
*) &_result_ref
;
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4764 wxBitmap
* resultptr
= new wxBitmap(*result
);
4765 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4773 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
4775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4776 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4778 return Py_BuildValue((char *)"");
4780 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxBitmap
*arg1
= 0 ;
4785 wxWindow
*arg4
= (wxWindow
*) 0 ;
4787 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4788 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4789 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4790 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4791 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4792 wxSplashScreen
*result
;
4795 PyObject
* obj0
= 0 ;
4796 PyObject
* obj1
= 0 ;
4797 PyObject
* obj2
= 0 ;
4798 PyObject
* obj3
= 0 ;
4799 PyObject
* obj4
= 0 ;
4800 PyObject
* obj5
= 0 ;
4801 PyObject
* obj6
= 0 ;
4802 PyObject
* obj7
= 0 ;
4804 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4812 PyErr_SetString(PyExc_TypeError
,"null reference");
4815 arg2
= (long) SWIG_AsLong(obj1
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4817 arg3
= (int) SWIG_AsInt(obj2
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4819 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4821 arg5
= (int) SWIG_AsInt(obj4
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4826 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4832 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4836 arg8
= (long) SWIG_AsLong(obj7
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4853 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4859 (char *) "self", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= SWIG_FromLong((long)result
);
4879 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4882 wxSplashScreenWindow
*result
;
4883 PyObject
* obj0
= 0 ;
4885 (char *) "self", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4905 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4909 PyObject
* obj0
= 0 ;
4911 (char *) "self", NULL
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_FromInt((int)result
);
4931 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
4933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4934 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4936 return Py_BuildValue((char *)"");
4938 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxWindow
*arg1
= (wxWindow
*) 0 ;
4941 int arg2
= (int) -1 ;
4942 long arg3
= (long) wxST_SIZEGRIP
;
4943 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4944 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4945 wxStatusBar
*result
;
4946 bool temp4
= False
;
4947 PyObject
* obj0
= 0 ;
4948 PyObject
* obj1
= 0 ;
4949 PyObject
* obj2
= 0 ;
4950 PyObject
* obj3
= 0 ;
4952 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4959 arg2
= (int) SWIG_AsInt(obj1
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4963 arg3
= (long) SWIG_AsLong(obj2
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4968 arg4
= wxString_in_helper(obj3
);
4969 if (arg4
== NULL
) SWIG_fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4981 resultobj
= wxPyMake_wxObject(result
);
4997 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxStatusBar
*result
;
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (wxStatusBar
*)new wxStatusBar();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= wxPyMake_wxObject(result
);
5021 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5024 wxWindow
*arg2
= (wxWindow
*) 0 ;
5026 long arg4
= (long) wxST_SIZEGRIP
;
5027 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5028 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5030 bool temp5
= False
;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 PyObject
* obj2
= 0 ;
5034 PyObject
* obj3
= 0 ;
5035 PyObject
* obj4
= 0 ;
5037 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5045 arg3
= (int) SWIG_AsInt(obj2
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 arg4
= (long) SWIG_AsLong(obj3
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5053 arg5
= wxString_in_helper(obj4
);
5054 if (arg5
== NULL
) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5082 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5085 int arg2
= (int) 1 ;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5089 (char *) "self",(char *) "number", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5096 arg2
= (int) SWIG_AsInt(obj1
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 (arg1
)->SetFieldsCount(arg2
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 Py_INCREF(Py_None
); resultobj
= Py_None
;
5113 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5119 (char *) "self", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= SWIG_FromInt((int)result
);
5139 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5142 wxString
*arg2
= 0 ;
5143 int arg3
= (int) 0 ;
5144 bool temp2
= False
;
5145 PyObject
* obj0
= 0 ;
5146 PyObject
* obj1
= 0 ;
5147 PyObject
* obj2
= 0 ;
5149 (char *) "self",(char *) "text",(char *) "number", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5156 arg2
= wxString_in_helper(obj1
);
5157 if (arg2
== NULL
) SWIG_fail
;
5161 arg3
= (int) SWIG_AsInt(obj2
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 Py_INCREF(Py_None
); resultobj
= Py_None
;
5186 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
;
5188 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5189 int arg2
= (int) 0 ;
5191 PyObject
* obj0
= 0 ;
5192 PyObject
* obj1
= 0 ;
5194 (char *) "self",(char *) "number", NULL
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5201 arg2
= (int) SWIG_AsInt(obj1
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5224 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5227 wxString
*arg2
= 0 ;
5228 int arg3
= (int) 0 ;
5229 bool temp2
= False
;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5232 PyObject
* obj2
= 0 ;
5234 (char *) "self",(char *) "text",(char *) "number", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 arg2
= wxString_in_helper(obj1
);
5242 if (arg2
== NULL
) SWIG_fail
;
5246 arg3
= (int) SWIG_AsInt(obj2
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 Py_INCREF(Py_None
); resultobj
= Py_None
;
5271 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5274 int arg2
= (int) 0 ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5278 (char *) "self",(char *) "number", NULL
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5285 arg2
= (int) SWIG_AsInt(obj1
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 (arg1
)->PopStatusText(arg2
);
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5295 Py_INCREF(Py_None
); resultobj
= Py_None
;
5302 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
*resultobj
;
5304 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5306 int *arg3
= (int *) 0 ;
5307 PyObject
* obj0
= 0 ;
5308 PyObject
* obj1
= 0 ;
5310 (char *) "self",(char *) "widths", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5317 arg2
= PyList_Size(obj1
);
5318 arg3
= int_LIST_helper(obj1
);
5319 if (arg3
== NULL
) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 Py_INCREF(Py_None
); resultobj
= Py_None
;
5330 if (arg3
) delete [] arg3
;
5335 if (arg3
) delete [] arg3
;
5341 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5349 (char *) "self",(char *) "i", NULL
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 arg2
= (int) SWIG_AsInt(obj1
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5366 resultptr
= new wxRect((wxRect
&) result
);
5367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5375 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5382 (char *) "self",(char *) "height", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5388 arg2
= (int) SWIG_AsInt(obj1
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->SetMinHeight(arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 Py_INCREF(Py_None
); resultobj
= Py_None
;
5404 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "self", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= SWIG_FromInt((int)result
);
5430 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5434 PyObject
* obj0
= 0 ;
5436 (char *) "self", NULL
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 resultobj
= SWIG_FromInt((int)result
);
5456 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5459 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5461 return Py_BuildValue((char *)"");
5463 static int _wrap_SplitterNameStr_set(PyObject
*) {
5464 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5469 static PyObject
*_wrap_SplitterNameStr_get() {
5474 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5476 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5483 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxWindow
*arg1
= (wxWindow
*) 0 ;
5486 int arg2
= (int) -1 ;
5487 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5488 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5489 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5490 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5491 long arg5
= (long) wxSP_3D
;
5492 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5493 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5494 wxSplitterWindow
*result
;
5497 bool temp6
= False
;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5500 PyObject
* obj2
= 0 ;
5501 PyObject
* obj3
= 0 ;
5502 PyObject
* obj4
= 0 ;
5503 PyObject
* obj5
= 0 ;
5505 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5512 arg2
= (int) SWIG_AsInt(obj1
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5518 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5524 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5528 arg5
= (long) SWIG_AsLong(obj4
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5533 arg6
= wxString_in_helper(obj5
);
5534 if (arg6
== NULL
) SWIG_fail
;
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5560 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxSplitterWindow
*result
;
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5582 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
;
5584 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5585 wxWindow
*arg2
= (wxWindow
*) 0 ;
5586 int arg3
= (int) -1 ;
5587 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5588 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5589 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5590 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5591 long arg6
= (long) wxSP_3D
;
5592 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5593 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5597 bool temp7
= False
;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5600 PyObject
* obj2
= 0 ;
5601 PyObject
* obj3
= 0 ;
5602 PyObject
* obj4
= 0 ;
5603 PyObject
* obj5
= 0 ;
5604 PyObject
* obj6
= 0 ;
5606 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5615 arg3
= (int) SWIG_AsInt(obj2
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5621 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5627 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5631 arg6
= (long) SWIG_AsLong(obj5
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5636 arg7
= wxString_in_helper(obj6
);
5637 if (arg7
== NULL
) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5665 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5669 PyObject
* obj0
= 0 ;
5671 (char *) "self", NULL
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5685 resultobj
= wxPyMake_wxObject(result
);
5693 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5695 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5697 PyObject
* obj0
= 0 ;
5699 (char *) "self", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= wxPyMake_wxObject(result
);
5721 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5726 PyObject
* obj1
= 0 ;
5728 (char *) "self",(char *) "mode", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 arg2
= (int) SWIG_AsInt(obj1
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 (arg1
)->SetSplitMode(arg2
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5754 PyObject
* obj0
= 0 ;
5756 (char *) "self", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= SWIG_FromInt((int)result
);
5776 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5779 wxWindow
*arg2
= (wxWindow
*) 0 ;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5783 (char *) "self",(char *) "window", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) 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
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 (arg1
)->Initialize(arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5808 wxWindow
*arg2
= (wxWindow
*) 0 ;
5809 wxWindow
*arg3
= (wxWindow
*) 0 ;
5810 int arg4
= (int) 0 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5814 PyObject
* obj2
= 0 ;
5815 PyObject
* obj3
= 0 ;
5817 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5825 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 arg4
= (int) SWIG_AsInt(obj3
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5847 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5850 wxWindow
*arg2
= (wxWindow
*) 0 ;
5851 wxWindow
*arg3
= (wxWindow
*) 0 ;
5852 int arg4
= (int) 0 ;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5856 PyObject
* obj2
= 0 ;
5857 PyObject
* obj3
= 0 ;
5859 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5867 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5870 arg4
= (int) SWIG_AsInt(obj3
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5889 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5892 wxWindow
*arg2
= (wxWindow
*) NULL
;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5897 (char *) "self",(char *) "toRemove", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (bool)(arg1
)->Unsplit(arg2
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5923 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5926 wxWindow
*arg2
= (wxWindow
*) 0 ;
5927 wxWindow
*arg3
= (wxWindow
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5931 PyObject
* obj2
= 0 ;
5933 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5941 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5959 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
;
5961 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5964 (char *) "self", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 (arg1
)->UpdateSize();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 Py_INCREF(Py_None
); resultobj
= Py_None
;
5984 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6012 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6019 (char *) "self",(char *) "width", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6025 arg2
= (int) SWIG_AsInt(obj1
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 (arg1
)->SetSashSize(arg2
);
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 Py_INCREF(Py_None
); resultobj
= Py_None
;
6041 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6048 (char *) "self",(char *) "width", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6054 arg2
= (int) SWIG_AsInt(obj1
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 (arg1
)->SetBorderSize(arg2
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 Py_INCREF(Py_None
); resultobj
= Py_None
;
6070 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6074 PyObject
* obj0
= 0 ;
6076 (char *) "self", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 resultobj
= SWIG_FromInt((int)result
);
6096 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
;
6098 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6100 PyObject
* obj0
= 0 ;
6102 (char *) "self", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= SWIG_FromInt((int)result
);
6122 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6126 bool arg3
= (bool) True
;
6127 PyObject
* obj0
= 0 ;
6128 PyObject
* obj1
= 0 ;
6129 PyObject
* obj2
= 0 ;
6131 (char *) "self",(char *) "position",(char *) "redraw", NULL
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 arg2
= (int) SWIG_AsInt(obj1
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 arg3
= (bool) SWIG_AsBool(obj2
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 (arg1
)->SetSashPosition(arg2
,arg3
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 Py_INCREF(Py_None
); resultobj
= Py_None
;
6157 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6163 (char *) "self", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= SWIG_FromInt((int)result
);
6183 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6187 PyObject
* obj0
= 0 ;
6188 PyObject
* obj1
= 0 ;
6190 (char *) "self",(char *) "min", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6196 arg2
= (int) SWIG_AsInt(obj1
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 (arg1
)->SetMinimumPaneSize(arg2
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 Py_INCREF(Py_None
); resultobj
= Py_None
;
6212 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6218 (char *) "self", NULL
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= SWIG_FromInt((int)result
);
6238 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6243 int arg4
= (int) 5 ;
6245 PyObject
* obj0
= 0 ;
6246 PyObject
* obj1
= 0 ;
6247 PyObject
* obj2
= 0 ;
6248 PyObject
* obj3
= 0 ;
6250 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6256 arg2
= (int) SWIG_AsInt(obj1
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6258 arg3
= (int) SWIG_AsInt(obj2
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 arg4
= (int) SWIG_AsInt(obj3
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6280 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6285 (char *) "self", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 (arg1
)->SizeWindows();
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 Py_INCREF(Py_None
); resultobj
= Py_None
;
6305 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6312 (char *) "self",(char *) "needUpdating", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6318 arg2
= (bool) SWIG_AsBool(obj1
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 (arg1
)->SetNeedUpdating(arg2
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 Py_INCREF(Py_None
); resultobj
= Py_None
;
6334 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6338 PyObject
* obj0
= 0 ;
6340 (char *) "self", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6362 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6365 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6367 return Py_BuildValue((char *)"");
6369 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6372 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6373 wxSplitterEvent
*result
;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6377 (char *) "type",(char *) "splitter", NULL
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6382 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6403 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6410 (char *) "self",(char *) "pos", NULL
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6416 arg2
= (int) SWIG_AsInt(obj1
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 (arg1
)->SetSashPosition(arg2
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 Py_INCREF(Py_None
); resultobj
= Py_None
;
6432 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6438 (char *) "self", NULL
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= SWIG_FromInt((int)result
);
6458 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6464 (char *) "self", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= wxPyMake_wxObject(result
);
6486 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6492 (char *) "self", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= SWIG_FromInt((int)result
);
6512 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
;
6514 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6516 PyObject
* obj0
= 0 ;
6518 (char *) "self", NULL
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_FromInt((int)result
);
6538 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6541 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6543 return Py_BuildValue((char *)"");
6545 static int _wrap_SashNameStr_set(PyObject
*) {
6546 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6551 static PyObject
*_wrap_SashNameStr_get() {
6556 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6558 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6565 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6566 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6571 static PyObject
*_wrap_SashLayoutNameStr_get() {
6576 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6578 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6585 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxWindow
*arg1
= (wxWindow
*) 0 ;
6589 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6590 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6591 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6592 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6593 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6594 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6595 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6596 wxSashWindow
*result
;
6599 bool temp6
= False
;
6600 PyObject
* obj0
= 0 ;
6601 PyObject
* obj1
= 0 ;
6602 PyObject
* obj2
= 0 ;
6603 PyObject
* obj3
= 0 ;
6604 PyObject
* obj4
= 0 ;
6605 PyObject
* obj5
= 0 ;
6607 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6613 arg2
= (int) SWIG_AsInt(obj1
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6618 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6624 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6628 arg5
= (long) SWIG_AsLong(obj4
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6633 arg6
= wxString_in_helper(obj5
);
6634 if (arg6
== NULL
) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6660 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxSashWindow
*result
;
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (wxSashWindow
*)new wxSashWindow();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6682 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6685 wxWindow
*arg2
= (wxWindow
*) 0 ;
6687 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6688 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6689 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6690 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6691 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6692 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6693 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6697 bool temp7
= False
;
6698 PyObject
* obj0
= 0 ;
6699 PyObject
* obj1
= 0 ;
6700 PyObject
* obj2
= 0 ;
6701 PyObject
* obj3
= 0 ;
6702 PyObject
* obj4
= 0 ;
6703 PyObject
* obj5
= 0 ;
6704 PyObject
* obj6
= 0 ;
6706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6714 arg3
= (int) SWIG_AsInt(obj2
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6719 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6725 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6729 arg6
= (long) SWIG_AsLong(obj5
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6734 arg7
= wxString_in_helper(obj6
);
6735 if (arg7
== NULL
) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6763 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6769 PyObject
* obj1
= 0 ;
6770 PyObject
* obj2
= 0 ;
6772 (char *) "self",(char *) "edge",(char *) "sash", NULL
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6778 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6780 arg3
= (bool) SWIG_AsBool(obj2
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 Py_INCREF(Py_None
); resultobj
= Py_None
;
6796 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6804 (char *) "self",(char *) "edge", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6810 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6828 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6835 PyObject
* obj2
= 0 ;
6837 (char *) "self",(char *) "edge",(char *) "border", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6843 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6845 arg3
= (bool) SWIG_AsBool(obj2
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 Py_INCREF(Py_None
); resultobj
= Py_None
;
6861 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "edge", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6875 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6893 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6901 (char *) "self",(char *) "edge", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_FromInt((int)result
);
6923 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
;
6925 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6930 (char *) "self",(char *) "width", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6936 arg2
= (int) SWIG_AsInt(obj1
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 (arg1
)->SetDefaultBorderSize(arg2
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 Py_INCREF(Py_None
); resultobj
= Py_None
;
6952 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6958 (char *) "self", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_FromInt((int)result
);
6978 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6985 (char *) "self",(char *) "width", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 arg2
= (int) SWIG_AsInt(obj1
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 (arg1
)->SetExtraBorderSize(arg2
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7000 Py_INCREF(Py_None
); resultobj
= Py_None
;
7007 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
;
7009 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7011 PyObject
* obj0
= 0 ;
7013 (char *) "self", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= SWIG_FromInt((int)result
);
7033 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
;
7035 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7037 PyObject
* obj0
= 0 ;
7038 PyObject
* obj1
= 0 ;
7040 (char *) "self",(char *) "min", NULL
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7046 arg2
= (int) SWIG_AsInt(obj1
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 (arg1
)->SetMinimumSizeX(arg2
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 Py_INCREF(Py_None
); resultobj
= Py_None
;
7062 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7066 PyObject
* obj0
= 0 ;
7067 PyObject
* obj1
= 0 ;
7069 (char *) "self",(char *) "min", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7075 arg2
= (int) SWIG_AsInt(obj1
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 (arg1
)->SetMinimumSizeY(arg2
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 Py_INCREF(Py_None
); resultobj
= Py_None
;
7091 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7095 PyObject
* obj0
= 0 ;
7097 (char *) "self", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_FromInt((int)result
);
7117 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "self", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= SWIG_FromInt((int)result
);
7143 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7148 PyObject
* obj1
= 0 ;
7150 (char *) "self",(char *) "max", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7156 arg2
= (int) SWIG_AsInt(obj1
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 (arg1
)->SetMaximumSizeX(arg2
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 Py_INCREF(Py_None
); resultobj
= Py_None
;
7172 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7177 PyObject
* obj1
= 0 ;
7179 (char *) "self",(char *) "max", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7185 arg2
= (int) SWIG_AsInt(obj1
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 (arg1
)->SetMaximumSizeY(arg2
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 Py_INCREF(Py_None
); resultobj
= Py_None
;
7201 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7207 (char *) "self", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 resultobj
= SWIG_FromInt((int)result
);
7227 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7229 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7231 PyObject
* obj0
= 0 ;
7233 (char *) "self", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= SWIG_FromInt((int)result
);
7253 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7258 int arg4
= (int) 2 ;
7260 PyObject
* obj0
= 0 ;
7261 PyObject
* obj1
= 0 ;
7262 PyObject
* obj2
= 0 ;
7263 PyObject
* obj3
= 0 ;
7265 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7271 arg2
= (int) SWIG_AsInt(obj1
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7273 arg3
= (int) SWIG_AsInt(obj2
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 arg4
= (int) SWIG_AsInt(obj3
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_FromInt((int)result
);
7293 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7298 (char *) "self", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 (arg1
)->SizeWindows();
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 Py_INCREF(Py_None
); resultobj
= Py_None
;
7318 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7321 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7323 return Py_BuildValue((char *)"");
7325 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 int arg1
= (int) 0 ;
7328 int arg2
= (int) wxSASH_NONE
;
7329 wxSashEvent
*result
;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7333 (char *) "id",(char *) "edge", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7338 arg1
= (int) SWIG_AsInt(obj0
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7342 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7359 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7366 (char *) "self",(char *) "edge", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7372 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 Py_INCREF(Py_None
); resultobj
= Py_None
;
7388 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7394 (char *) "self", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= SWIG_FromInt((int)result
);
7414 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7419 PyObject
* obj0
= 0 ;
7420 PyObject
* obj1
= 0 ;
7422 (char *) "self",(char *) "rect", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7430 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 Py_INCREF(Py_None
); resultobj
= Py_None
;
7446 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7448 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7450 PyObject
* obj0
= 0 ;
7452 (char *) "self", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7467 resultptr
= new wxRect((wxRect
&) result
);
7468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7476 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
*resultobj
;
7478 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7480 PyObject
* obj0
= 0 ;
7481 PyObject
* obj1
= 0 ;
7483 (char *) "self",(char *) "status", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7489 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 Py_INCREF(Py_None
); resultobj
= Py_None
;
7505 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
;
7507 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7509 PyObject
* obj0
= 0 ;
7511 (char *) "self", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= SWIG_FromInt((int)result
);
7531 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7534 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7536 return Py_BuildValue((char *)"");
7538 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 int arg1
= (int) 0 ;
7541 wxQueryLayoutInfoEvent
*result
;
7542 PyObject
* obj0
= 0 ;
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7549 arg1
= (int) SWIG_AsInt(obj0
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7566 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7570 PyObject
* obj0
= 0 ;
7571 PyObject
* obj1
= 0 ;
7573 (char *) "self",(char *) "length", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7579 arg2
= (int) SWIG_AsInt(obj1
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 (arg1
)->SetRequestedLength(arg2
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 Py_INCREF(Py_None
); resultobj
= Py_None
;
7595 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7601 (char *) "self", NULL
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= SWIG_FromInt((int)result
);
7621 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7626 PyObject
* obj1
= 0 ;
7628 (char *) "self",(char *) "flags", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7634 arg2
= (int) SWIG_AsInt(obj1
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 (arg1
)->SetFlags(arg2
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 Py_INCREF(Py_None
); resultobj
= Py_None
;
7650 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_FromInt((int)result
);
7676 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7682 PyObject
* obj1
= 0 ;
7684 (char *) "self",(char *) "size", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7692 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 (arg1
)->SetSize((wxSize
const &)*arg2
);
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 Py_INCREF(Py_None
); resultobj
= Py_None
;
7708 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7729 resultptr
= new wxSize((wxSize
&) result
);
7730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7738 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
;
7740 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7742 PyObject
* obj0
= 0 ;
7743 PyObject
* obj1
= 0 ;
7745 (char *) "self",(char *) "orient", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7751 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 Py_INCREF(Py_None
); resultobj
= Py_None
;
7767 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7773 (char *) "self", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_FromInt((int)result
);
7793 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7795 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7797 PyObject
* obj0
= 0 ;
7798 PyObject
* obj1
= 0 ;
7800 (char *) "self",(char *) "align", NULL
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7806 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 Py_INCREF(Py_None
); resultobj
= Py_None
;
7822 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7826 PyObject
* obj0
= 0 ;
7828 (char *) "self", NULL
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_FromInt((int)result
);
7848 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
7850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7851 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7853 return Py_BuildValue((char *)"");
7855 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 int arg1
= (int) 0 ;
7858 wxCalculateLayoutEvent
*result
;
7859 PyObject
* obj0
= 0 ;
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7866 arg1
= (int) SWIG_AsInt(obj0
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7883 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
;
7885 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7887 PyObject
* obj0
= 0 ;
7888 PyObject
* obj1
= 0 ;
7890 (char *) "self",(char *) "flags", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7896 arg2
= (int) SWIG_AsInt(obj1
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 (arg1
)->SetFlags(arg2
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 Py_INCREF(Py_None
); resultobj
= Py_None
;
7912 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7918 (char *) "self", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= SWIG_FromInt((int)result
);
7938 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
;
7940 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7943 PyObject
* obj0
= 0 ;
7944 PyObject
* obj1
= 0 ;
7946 (char *) "self",(char *) "rect", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 (arg1
)->SetRect((wxRect
const &)*arg2
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7970 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "self", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7991 resultptr
= new wxRect((wxRect
&) result
);
7992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8000 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8003 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8005 return Py_BuildValue((char *)"");
8007 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxWindow
*arg1
= (wxWindow
*) 0 ;
8011 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8012 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8013 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8014 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8015 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8016 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8017 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8018 wxSashLayoutWindow
*result
;
8021 bool temp6
= False
;
8022 PyObject
* obj0
= 0 ;
8023 PyObject
* obj1
= 0 ;
8024 PyObject
* obj2
= 0 ;
8025 PyObject
* obj3
= 0 ;
8026 PyObject
* obj4
= 0 ;
8027 PyObject
* obj5
= 0 ;
8029 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8035 arg2
= (int) SWIG_AsInt(obj1
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8040 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8046 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8050 arg5
= (long) SWIG_AsLong(obj4
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8055 arg6
= wxString_in_helper(obj5
);
8056 if (arg6
== NULL
) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8082 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxSashLayoutWindow
*result
;
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8104 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8107 wxWindow
*arg2
= (wxWindow
*) 0 ;
8109 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8110 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8111 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8112 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8113 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8114 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8115 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8119 bool temp7
= False
;
8120 PyObject
* obj0
= 0 ;
8121 PyObject
* obj1
= 0 ;
8122 PyObject
* obj2
= 0 ;
8123 PyObject
* obj3
= 0 ;
8124 PyObject
* obj4
= 0 ;
8125 PyObject
* obj5
= 0 ;
8126 PyObject
* obj6
= 0 ;
8128 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8136 arg3
= (int) SWIG_AsInt(obj2
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8151 arg6
= (long) SWIG_AsLong(obj5
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8156 arg7
= wxString_in_helper(obj6
);
8157 if (arg7
== NULL
) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8185 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "self", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (int)(arg1
)->GetAlignment();
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= SWIG_FromInt((int)result
);
8211 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8215 PyObject
* obj0
= 0 ;
8217 (char *) "self", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 result
= (int)(arg1
)->GetOrientation();
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= SWIG_FromInt((int)result
);
8237 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8241 PyObject
* obj0
= 0 ;
8242 PyObject
* obj1
= 0 ;
8244 (char *) "self",(char *) "alignment", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8250 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 Py_INCREF(Py_None
); resultobj
= Py_None
;
8266 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8271 PyObject
* obj0
= 0 ;
8272 PyObject
* obj1
= 0 ;
8274 (char *) "self",(char *) "size", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8282 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 Py_INCREF(Py_None
); resultobj
= Py_None
;
8298 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8305 (char *) "self",(char *) "orientation", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 Py_INCREF(Py_None
); resultobj
= Py_None
;
8327 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8330 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8332 return Py_BuildValue((char *)"");
8334 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
;
8336 wxLayoutAlgorithm
*result
;
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8356 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
*resultobj
;
8358 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8359 PyObject
* obj0
= 0 ;
8361 (char *) "self", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 Py_INCREF(Py_None
); resultobj
= Py_None
;
8381 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8384 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8385 wxRect
*arg3
= (wxRect
*) NULL
;
8387 PyObject
* obj0
= 0 ;
8388 PyObject
* obj1
= 0 ;
8389 PyObject
* obj2
= 0 ;
8391 (char *) "self",(char *) "frame",(char *) "rect", NULL
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8400 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8419 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8422 wxFrame
*arg2
= (wxFrame
*) 0 ;
8423 wxWindow
*arg3
= (wxWindow
*) NULL
;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj1
= 0 ;
8427 PyObject
* obj2
= 0 ;
8429 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8438 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8457 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8460 wxWindow
*arg2
= (wxWindow
*) 0 ;
8461 wxWindow
*arg3
= (wxWindow
*) NULL
;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 PyObject
* obj2
= 0 ;
8467 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8476 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8495 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8498 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8500 return Py_BuildValue((char *)"");
8502 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
;
8504 wxWindow
*arg1
= (wxWindow
*) 0 ;
8505 int arg2
= (int) wxBORDER_NONE
;
8506 wxPopupWindow
*result
;
8507 PyObject
* obj0
= 0 ;
8508 PyObject
* obj1
= 0 ;
8510 (char *) "parent",(char *) "flags", NULL
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8517 arg2
= (int) SWIG_AsInt(obj1
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8534 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxPopupWindow
*result
;
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 result
= (wxPopupWindow
*)new wxPopupWindow();
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8556 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
8558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8559 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8561 return Py_BuildValue((char *)"");
8563 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxWindow
*arg1
= (wxWindow
*) 0 ;
8566 int arg2
= (int) wxBORDER_NONE
;
8567 wxPyPopupTransientWindow
*result
;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8571 (char *) "parent",(char *) "style", NULL
8574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8578 arg2
= (int) SWIG_AsInt(obj1
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8595 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxPyPopupTransientWindow
*result
;
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8617 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
8619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8620 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8622 return Py_BuildValue((char *)"");
8624 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxWindow
*arg1
= (wxWindow
*) 0 ;
8627 wxString
*arg2
= 0 ;
8628 int arg3
= (int) 100 ;
8629 wxRect
*arg4
= (wxRect
*) NULL
;
8630 wxTipWindow
*result
;
8631 bool temp2
= False
;
8632 PyObject
* obj0
= 0 ;
8633 PyObject
* obj1
= 0 ;
8634 PyObject
* obj2
= 0 ;
8635 PyObject
* obj3
= 0 ;
8637 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8644 arg2
= wxString_in_helper(obj1
);
8645 if (arg2
== NULL
) SWIG_fail
;
8649 arg3
= (int) SWIG_AsInt(obj2
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8653 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8678 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8686 (char *) "self",(char *) "rectBound", NULL
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8694 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 Py_INCREF(Py_None
); resultobj
= Py_None
;
8710 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8713 PyObject
* obj0
= 0 ;
8715 (char *) "self", NULL
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 Py_INCREF(Py_None
); resultobj
= Py_None
;
8735 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
8737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8738 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8740 return Py_BuildValue((char *)"");
8742 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxWindow
*arg1
= (wxWindow
*) 0 ;
8745 int arg2
= (int) wxID_ANY
;
8746 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8747 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8748 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8749 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8750 long arg5
= (long) 0 ;
8751 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8752 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8753 wxPyVScrolledWindow
*result
;
8756 bool temp6
= False
;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8759 PyObject
* obj2
= 0 ;
8760 PyObject
* obj3
= 0 ;
8761 PyObject
* obj4
= 0 ;
8762 PyObject
* obj5
= 0 ;
8764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8771 arg2
= (int) SWIG_AsInt(obj1
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8777 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8783 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8787 arg5
= (long) SWIG_AsLong(obj4
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8792 arg6
= wxString_in_helper(obj5
);
8793 if (arg6
== NULL
) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8819 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxPyVScrolledWindow
*result
;
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8841 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8844 PyObject
*arg2
= (PyObject
*) 0 ;
8845 PyObject
*arg3
= (PyObject
*) 0 ;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8848 PyObject
* obj2
= 0 ;
8850 (char *) "self",(char *) "self",(char *) "_class", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 Py_INCREF(Py_None
); resultobj
= Py_None
;
8872 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8875 wxWindow
*arg2
= (wxWindow
*) 0 ;
8876 int arg3
= (int) wxID_ANY
;
8877 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8878 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8879 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8880 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8881 long arg6
= (long) 0 ;
8882 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8883 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8887 bool temp7
= False
;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8890 PyObject
* obj2
= 0 ;
8891 PyObject
* obj3
= 0 ;
8892 PyObject
* obj4
= 0 ;
8893 PyObject
* obj5
= 0 ;
8894 PyObject
* obj6
= 0 ;
8896 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8905 arg3
= (int) SWIG_AsInt(obj2
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8917 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8921 arg6
= (long) SWIG_AsLong(obj5
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8926 arg7
= wxString_in_helper(obj6
);
8927 if (arg7
== NULL
) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8955 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8960 PyObject
* obj1
= 0 ;
8962 (char *) "self",(char *) "count", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8968 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 (arg1
)->SetLineCount(arg2
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8977 Py_INCREF(Py_None
); resultobj
= Py_None
;
8984 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8989 PyObject
* obj0
= 0 ;
8990 PyObject
* obj1
= 0 ;
8992 (char *) "self",(char *) "line", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8998 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9016 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9021 PyObject
* obj0
= 0 ;
9022 PyObject
* obj1
= 0 ;
9024 (char *) "self",(char *) "lines", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9030 arg2
= (int) SWIG_AsInt(obj1
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 result
= (bool)(arg1
)->ScrollLines(arg2
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9048 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9054 PyObject
* obj1
= 0 ;
9056 (char *) "self",(char *) "pages", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9062 arg2
= (int) SWIG_AsInt(obj1
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (bool)(arg1
)->ScrollPages(arg2
);
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9080 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9087 (char *) "self",(char *) "line", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9093 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 (arg1
)->RefreshLine(arg2
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 Py_INCREF(Py_None
); resultobj
= Py_None
;
9109 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9114 PyObject
* obj0
= 0 ;
9115 PyObject
* obj1
= 0 ;
9116 PyObject
* obj2
= 0 ;
9118 (char *) "self",(char *) "from",(char *) "to", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",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
= (size_t) SWIG_AsUnsignedLong(obj1
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9126 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 (arg1
)->RefreshLines(arg2
,arg3
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 Py_INCREF(Py_None
); resultobj
= Py_None
;
9142 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 PyObject
* obj2
= 0 ;
9152 (char *) "self",(char *) "x",(char *) "y", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9158 arg2
= (int) SWIG_AsInt(obj1
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9160 arg3
= (int) SWIG_AsInt(obj2
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= SWIG_FromInt((int)result
);
9176 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9185 (char *) "self",(char *) "pt", NULL
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= SWIG_FromInt((int)result
);
9209 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9214 (char *) "self", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 (arg1
)->RefreshAll();
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 Py_INCREF(Py_None
); resultobj
= Py_None
;
9234 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9260 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "self", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9286 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9312 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9320 (char *) "self",(char *) "line", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9326 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9344 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9347 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9349 return Py_BuildValue((char *)"");
9351 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9352 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9357 static PyObject
*_wrap_VListBoxNameStr_get() {
9362 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9364 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9371 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxWindow
*arg1
= (wxWindow
*) 0 ;
9374 int arg2
= (int) wxID_ANY
;
9375 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9376 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9377 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9378 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9379 long arg5
= (long) 0 ;
9380 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9381 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9382 wxPyVListBox
*result
;
9385 bool temp6
= False
;
9386 PyObject
* obj0
= 0 ;
9387 PyObject
* obj1
= 0 ;
9388 PyObject
* obj2
= 0 ;
9389 PyObject
* obj3
= 0 ;
9390 PyObject
* obj4
= 0 ;
9391 PyObject
* obj5
= 0 ;
9393 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9400 arg2
= (int) SWIG_AsInt(obj1
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9406 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9412 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9416 arg5
= (long) SWIG_AsLong(obj4
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9421 arg6
= wxString_in_helper(obj5
);
9422 if (arg6
== NULL
) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9448 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
;
9450 wxPyVListBox
*result
;
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (wxPyVListBox
*)new wxPyVListBox();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9470 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9473 PyObject
*arg2
= (PyObject
*) 0 ;
9474 PyObject
*arg3
= (PyObject
*) 0 ;
9475 PyObject
* obj0
= 0 ;
9476 PyObject
* obj1
= 0 ;
9477 PyObject
* obj2
= 0 ;
9479 (char *) "self",(char *) "self",(char *) "_class", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 Py_INCREF(Py_None
); resultobj
= Py_None
;
9501 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9504 wxWindow
*arg2
= (wxWindow
*) 0 ;
9505 int arg3
= (int) wxID_ANY
;
9506 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9507 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9508 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9509 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9510 long arg6
= (long) 0 ;
9511 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9512 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9516 bool temp7
= False
;
9517 PyObject
* obj0
= 0 ;
9518 PyObject
* obj1
= 0 ;
9519 PyObject
* obj2
= 0 ;
9520 PyObject
* obj3
= 0 ;
9521 PyObject
* obj4
= 0 ;
9522 PyObject
* obj5
= 0 ;
9523 PyObject
* obj6
= 0 ;
9525 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9534 arg3
= (int) SWIG_AsInt(obj2
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9540 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9546 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9550 arg6
= (long) SWIG_AsLong(obj5
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9555 arg7
= wxString_in_helper(obj6
);
9556 if (arg7
== NULL
) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9584 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9590 (char *) "self", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9610 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
;
9612 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9614 PyObject
* obj0
= 0 ;
9616 (char *) "self", NULL
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9638 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9642 PyObject
* obj0
= 0 ;
9644 (char *) "self", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 resultobj
= SWIG_FromInt((int)result
);
9664 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
;
9666 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9669 PyObject
* obj0
= 0 ;
9670 PyObject
* obj1
= 0 ;
9672 (char *) "self",(char *) "item", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9678 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9696 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9702 PyObject
* obj1
= 0 ;
9704 (char *) "self",(char *) "item", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9728 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9732 PyObject
* obj0
= 0 ;
9734 (char *) "self", NULL
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9747 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9754 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
;
9756 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9757 unsigned long *arg2
= 0 ;
9759 PyObject
* obj0
= 0 ;
9760 PyObject
* obj1
= 0 ;
9762 (char *) "self",(char *) "cookie", NULL
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9772 PyErr_SetString(PyExc_TypeError
,"null reference");
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= SWIG_FromInt((int)result
);
9789 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9792 unsigned long *arg2
= 0 ;
9794 PyObject
* obj0
= 0 ;
9795 PyObject
* obj1
= 0 ;
9797 (char *) "self",(char *) "cookie", NULL
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9807 PyErr_SetString(PyExc_TypeError
,"null reference");
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= SWIG_FromInt((int)result
);
9824 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9830 (char *) "self", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9844 wxPoint
* resultptr
;
9845 resultptr
= new wxPoint((wxPoint
&) result
);
9846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9854 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9870 result
= (wxColour
*) &_result_ref
;
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9883 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
;
9885 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9890 (char *) "self",(char *) "count", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9896 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 (arg1
)->SetItemCount(arg2
);
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 Py_INCREF(Py_None
); resultobj
= Py_None
;
9912 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9915 PyObject
* obj0
= 0 ;
9917 (char *) "self", NULL
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 Py_INCREF(Py_None
); resultobj
= Py_None
;
9937 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9944 (char *) "self",(char *) "selection", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9950 arg2
= (int) SWIG_AsInt(obj1
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 (arg1
)->SetSelection(arg2
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 Py_INCREF(Py_None
); resultobj
= Py_None
;
9966 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9970 bool arg3
= (bool) True
;
9972 PyObject
* obj0
= 0 ;
9973 PyObject
* obj1
= 0 ;
9974 PyObject
* obj2
= 0 ;
9976 (char *) "self",(char *) "item",(char *) "select", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9982 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 arg3
= (bool) SWIG_AsBool(obj2
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10004 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 PyObject
* obj2
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self",(char *) "from",(char *) "to", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10022 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10040 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
;
10042 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10044 PyObject
* obj0
= 0 ;
10045 PyObject
* obj1
= 0 ;
10046 char *kwnames
[] = {
10047 (char *) "self",(char *) "item", NULL
10050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10053 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 (arg1
)->Toggle(arg2
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 Py_INCREF(Py_None
); resultobj
= Py_None
;
10069 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
;
10071 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10073 PyObject
* obj0
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (bool)(arg1
)->SelectAll();
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10097 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "self", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (bool)(arg1
)->DeselectAll();
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10125 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10127 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10128 wxPoint
*arg2
= 0 ;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self",(char *) "pt", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10141 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 Py_INCREF(Py_None
); resultobj
= Py_None
;
10157 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj1
= 0 ;
10164 PyObject
* obj2
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "x",(char *) "y", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 arg2
= (int) SWIG_AsInt(obj1
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10174 arg3
= (int) SWIG_AsInt(obj2
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 (arg1
)->SetMargins(arg2
,arg3
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10183 Py_INCREF(Py_None
); resultobj
= Py_None
;
10190 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10193 wxColour
*arg2
= 0 ;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self",(char *) "col", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10206 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 Py_INCREF(Py_None
); resultobj
= Py_None
;
10222 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10225 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10227 return Py_BuildValue((char *)"");
10229 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxWindow
*arg1
= (wxWindow
*) 0 ;
10232 int arg2
= (int) wxID_ANY
;
10233 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10234 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10235 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10236 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10237 long arg5
= (long) 0 ;
10238 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10239 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10240 wxPyHtmlListBox
*result
;
10243 bool temp6
= False
;
10244 PyObject
* obj0
= 0 ;
10245 PyObject
* obj1
= 0 ;
10246 PyObject
* obj2
= 0 ;
10247 PyObject
* obj3
= 0 ;
10248 PyObject
* obj4
= 0 ;
10249 PyObject
* obj5
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10258 arg2
= (int) SWIG_AsInt(obj1
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10270 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10274 arg5
= (long) SWIG_AsLong(obj4
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10279 arg6
= wxString_in_helper(obj5
);
10280 if (arg6
== NULL
) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10306 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxPyHtmlListBox
*result
;
10309 char *kwnames
[] = {
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10328 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10330 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10331 PyObject
*arg2
= (PyObject
*) 0 ;
10332 PyObject
*arg3
= (PyObject
*) 0 ;
10333 PyObject
* obj0
= 0 ;
10334 PyObject
* obj1
= 0 ;
10335 PyObject
* obj2
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self",(char *) "self",(char *) "_class", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 Py_INCREF(Py_None
); resultobj
= Py_None
;
10359 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10362 wxWindow
*arg2
= (wxWindow
*) 0 ;
10363 int arg3
= (int) wxID_ANY
;
10364 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10365 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10366 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10367 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10368 long arg6
= (long) 0 ;
10369 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10370 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10374 bool temp7
= False
;
10375 PyObject
* obj0
= 0 ;
10376 PyObject
* obj1
= 0 ;
10377 PyObject
* obj2
= 0 ;
10378 PyObject
* obj3
= 0 ;
10379 PyObject
* obj4
= 0 ;
10380 PyObject
* obj5
= 0 ;
10381 PyObject
* obj6
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10392 arg3
= (int) SWIG_AsInt(obj2
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10408 arg6
= (long) SWIG_AsLong(obj5
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10413 arg7
= wxString_in_helper(obj6
);
10414 if (arg7
== NULL
) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10442 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10445 PyObject
* obj0
= 0 ;
10446 char *kwnames
[] = {
10447 (char *) "self", NULL
10450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 (arg1
)->RefreshAll();
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 Py_INCREF(Py_None
); resultobj
= Py_None
;
10467 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
;
10469 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10471 PyObject
* obj0
= 0 ;
10472 PyObject
* obj1
= 0 ;
10473 char *kwnames
[] = {
10474 (char *) "self",(char *) "count", NULL
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10480 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 (arg1
)->SetItemCount(arg2
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10489 Py_INCREF(Py_None
); resultobj
= Py_None
;
10496 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
10498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10499 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10501 return Py_BuildValue((char *)"");
10503 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxTaskBarIcon
*result
;
10506 char *kwnames
[] = {
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10525 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 Py_INCREF(Py_None
); resultobj
= Py_None
;
10550 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 wxTaskBarIcon_Destroy(arg1
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 Py_INCREF(Py_None
); resultobj
= Py_None
;
10575 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
10577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10578 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10580 return Py_BuildValue((char *)"");
10582 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
;
10585 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10586 wxTaskBarIconEvent
*result
;
10587 PyObject
* obj0
= 0 ;
10588 PyObject
* obj1
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "evtType",(char *) "tbIcon", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10594 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10612 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
10614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10615 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10617 return Py_BuildValue((char *)"");
10619 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
10620 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10625 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10630 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10632 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10639 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
10640 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10645 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10650 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10652 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10659 static int _wrap_DirDialogNameStr_set(PyObject
*) {
10660 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10665 static PyObject
*_wrap_DirDialogNameStr_get() {
10670 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10672 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10679 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
10680 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10685 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10690 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10692 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10699 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
10700 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10705 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10710 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10712 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10719 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
10720 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10725 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10730 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10732 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10739 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxColourData
*result
;
10742 char *kwnames
[] = {
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (wxColourData
*)new wxColourData();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10761 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxColourData
*arg1
= (wxColourData
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 char *kwnames
[] = {
10766 (char *) "self", NULL
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 Py_INCREF(Py_None
); resultobj
= Py_None
;
10786 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxColourData
*arg1
= (wxColourData
*) 0 ;
10790 PyObject
* obj0
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (bool)(arg1
)->GetChooseFull();
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10814 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxColourData
*arg1
= (wxColourData
*) 0 ;
10818 PyObject
* obj0
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "self", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 result
= (arg1
)->GetColour();
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10834 wxColour
* resultptr
;
10835 resultptr
= new wxColour((wxColour
&) result
);
10836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10844 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxColourData
*arg1
= (wxColourData
*) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self",(char *) "i", NULL
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10858 arg2
= (int) SWIG_AsInt(obj1
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 result
= (arg1
)->GetCustomColour(arg2
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10868 wxColour
* resultptr
;
10869 resultptr
= new wxColour((wxColour
&) result
);
10870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10878 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxColourData
*arg1
= (wxColourData
*) 0 ;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self",(char *) "flag", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10891 arg2
= (int) SWIG_AsInt(obj1
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 (arg1
)->SetChooseFull(arg2
);
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 Py_INCREF(Py_None
); resultobj
= Py_None
;
10907 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxColourData
*arg1
= (wxColourData
*) 0 ;
10910 wxColour
*arg2
= 0 ;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "colour", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10923 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 (arg1
)->SetColour((wxColour
const &)*arg2
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 Py_INCREF(Py_None
); resultobj
= Py_None
;
10939 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxColourData
*arg1
= (wxColourData
*) 0 ;
10943 wxColour
*arg3
= 0 ;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 PyObject
* obj2
= 0 ;
10948 char *kwnames
[] = {
10949 (char *) "self",(char *) "i",(char *) "colour", NULL
10952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10955 arg2
= (int) SWIG_AsInt(obj1
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 Py_INCREF(Py_None
); resultobj
= Py_None
;
10975 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
10977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10978 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10980 return Py_BuildValue((char *)"");
10982 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxWindow
*arg1
= (wxWindow
*) 0 ;
10985 wxColourData
*arg2
= (wxColourData
*) NULL
;
10986 wxColourDialog
*result
;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "parent",(char *) "data", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
10998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11014 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11017 wxColourData
*result
;
11018 PyObject
* obj0
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11030 result
= (wxColourData
*) &_result_ref
;
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11043 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11046 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11048 return Py_BuildValue((char *)"");
11050 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 wxWindow
*arg1
= (wxWindow
*) 0 ;
11053 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11054 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11057 long arg4
= (long) 0 ;
11058 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11059 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11060 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11061 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11062 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11063 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11064 wxDirDialog
*result
;
11065 bool temp2
= False
;
11066 bool temp3
= False
;
11069 bool temp7
= False
;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 PyObject
* obj2
= 0 ;
11073 PyObject
* obj3
= 0 ;
11074 PyObject
* obj4
= 0 ;
11075 PyObject
* obj5
= 0 ;
11076 PyObject
* obj6
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11086 arg2
= wxString_in_helper(obj1
);
11087 if (arg2
== NULL
) SWIG_fail
;
11093 arg3
= wxString_in_helper(obj2
);
11094 if (arg3
== NULL
) SWIG_fail
;
11099 arg4
= (long) SWIG_AsLong(obj3
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11105 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11111 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11116 arg7
= wxString_in_helper(obj6
);
11117 if (arg7
== NULL
) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11159 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (arg1
)->GetPath();
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11191 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11195 PyObject
* obj0
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 result
= (arg1
)->GetMessage();
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11223 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
;
11225 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11227 PyObject
* obj0
= 0 ;
11228 char *kwnames
[] = {
11229 (char *) "self", NULL
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (long)(arg1
)->GetStyle();
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= SWIG_FromLong((long)result
);
11249 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11252 wxString
*arg2
= 0 ;
11253 bool temp2
= False
;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self",(char *) "message", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11264 arg2
= wxString_in_helper(obj1
);
11265 if (arg2
== NULL
) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 (arg1
)->SetMessage((wxString
const &)*arg2
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 Py_INCREF(Py_None
); resultobj
= Py_None
;
11290 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11293 wxString
*arg2
= 0 ;
11294 bool temp2
= False
;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self",(char *) "path", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11305 arg2
= wxString_in_helper(obj1
);
11306 if (arg2
== NULL
) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 (arg1
)->SetPath((wxString
const &)*arg2
);
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 Py_INCREF(Py_None
); resultobj
= Py_None
;
11331 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
11333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11334 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11336 return Py_BuildValue((char *)"");
11338 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxWindow
*arg1
= (wxWindow
*) 0 ;
11341 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11342 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11343 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11344 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11345 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11346 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11347 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11348 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11349 long arg6
= (long) 0 ;
11350 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11351 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11352 wxFileDialog
*result
;
11353 bool temp2
= False
;
11354 bool temp3
= False
;
11355 bool temp4
= False
;
11356 bool temp5
= False
;
11358 PyObject
* obj0
= 0 ;
11359 PyObject
* obj1
= 0 ;
11360 PyObject
* obj2
= 0 ;
11361 PyObject
* obj3
= 0 ;
11362 PyObject
* obj4
= 0 ;
11363 PyObject
* obj5
= 0 ;
11364 PyObject
* obj6
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11374 arg2
= wxString_in_helper(obj1
);
11375 if (arg2
== NULL
) SWIG_fail
;
11381 arg3
= wxString_in_helper(obj2
);
11382 if (arg3
== NULL
) SWIG_fail
;
11388 arg4
= wxString_in_helper(obj3
);
11389 if (arg4
== NULL
) SWIG_fail
;
11395 arg5
= wxString_in_helper(obj4
);
11396 if (arg5
== NULL
) SWIG_fail
;
11401 arg6
= (long) SWIG_AsLong(obj5
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11407 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11456 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11459 wxString
*arg2
= 0 ;
11460 bool temp2
= False
;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self",(char *) "message", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11471 arg2
= wxString_in_helper(obj1
);
11472 if (arg2
== NULL
) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 (arg1
)->SetMessage((wxString
const &)*arg2
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 Py_INCREF(Py_None
); resultobj
= Py_None
;
11497 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
;
11499 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11500 wxString
*arg2
= 0 ;
11501 bool temp2
= False
;
11502 PyObject
* obj0
= 0 ;
11503 PyObject
* obj1
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self",(char *) "path", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11512 arg2
= wxString_in_helper(obj1
);
11513 if (arg2
== NULL
) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 (arg1
)->SetPath((wxString
const &)*arg2
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 Py_INCREF(Py_None
); resultobj
= Py_None
;
11538 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
;
11540 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11541 wxString
*arg2
= 0 ;
11542 bool temp2
= False
;
11543 PyObject
* obj0
= 0 ;
11544 PyObject
* obj1
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self",(char *) "dir", NULL
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11553 arg2
= wxString_in_helper(obj1
);
11554 if (arg2
== NULL
) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 Py_INCREF(Py_None
); resultobj
= Py_None
;
11579 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11582 wxString
*arg2
= 0 ;
11583 bool temp2
= False
;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self",(char *) "name", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11594 arg2
= wxString_in_helper(obj1
);
11595 if (arg2
== NULL
) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 (arg1
)->SetFilename((wxString
const &)*arg2
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 Py_INCREF(Py_None
); resultobj
= Py_None
;
11620 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11623 wxString
*arg2
= 0 ;
11624 bool temp2
= False
;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self",(char *) "wildCard", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11635 arg2
= wxString_in_helper(obj1
);
11636 if (arg2
== NULL
) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 Py_INCREF(Py_None
); resultobj
= Py_None
;
11661 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
;
11663 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "self",(char *) "style", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11674 arg2
= (long) SWIG_AsLong(obj1
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 (arg1
)->SetStyle(arg2
);
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11683 Py_INCREF(Py_None
); resultobj
= Py_None
;
11690 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11694 PyObject
* obj0
= 0 ;
11695 PyObject
* obj1
= 0 ;
11696 char *kwnames
[] = {
11697 (char *) "self",(char *) "filterIndex", NULL
11700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11703 arg2
= (int) SWIG_AsInt(obj1
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 (arg1
)->SetFilterIndex(arg2
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 Py_INCREF(Py_None
); resultobj
= Py_None
;
11719 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11723 PyObject
* obj0
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11751 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11755 PyObject
* obj0
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11783 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11787 PyObject
* obj0
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "self", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11815 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
;
11817 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11819 PyObject
* obj0
= 0 ;
11820 char *kwnames
[] = {
11821 (char *) "self", NULL
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11847 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11851 PyObject
* obj0
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11879 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11883 PyObject
* obj0
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_FromLong((long)result
);
11905 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
;
11907 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_FromInt((int)result
);
11931 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
;
11933 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11935 PyObject
* obj0
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= result
;
11957 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11961 PyObject
* obj0
= 0 ;
11962 char *kwnames
[] = {
11963 (char *) "self", NULL
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11976 resultobj
= result
;
11983 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
11985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11986 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11988 return Py_BuildValue((char *)"");
11990 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxWindow
*arg1
= (wxWindow
*) 0 ;
11993 wxString
*arg2
= 0 ;
11994 wxString
*arg3
= 0 ;
11995 int arg4
= (int) 0 ;
11996 wxString
*arg5
= (wxString
*) 0 ;
11997 long arg6
= (long) wxCHOICEDLG_STYLE
;
11998 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11999 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12000 wxMultiChoiceDialog
*result
;
12001 bool temp2
= False
;
12002 bool temp3
= False
;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 PyObject
* obj2
= 0 ;
12007 PyObject
* obj3
= 0 ;
12008 PyObject
* obj4
= 0 ;
12009 PyObject
* obj5
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12018 arg2
= wxString_in_helper(obj1
);
12019 if (arg2
== NULL
) SWIG_fail
;
12023 arg3
= wxString_in_helper(obj2
);
12024 if (arg3
== NULL
) SWIG_fail
;
12029 arg4
= PyList_Size(obj3
);
12030 arg5
= wxString_LIST_helper(obj3
);
12031 if (arg5
== NULL
) SWIG_fail
;
12035 arg6
= (long) SWIG_AsLong(obj4
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12041 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12061 if (arg5
) delete [] arg5
;
12074 if (arg5
) delete [] arg5
;
12080 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12083 wxArrayInt
*arg2
= 0 ;
12084 bool temp2
= False
;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 char *kwnames
[] = {
12088 (char *) "self",(char *) "selections", NULL
12091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12095 if (! PySequence_Check(obj1
)) {
12096 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12099 arg2
= new wxArrayInt
;
12101 int i
, len
=PySequence_Length(obj1
);
12102 for (i
=0; i
<len
; i
++) {
12103 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12104 PyObject
* number
= PyNumber_Int(item
);
12105 arg2
->Add(PyInt_AS_LONG(number
));
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 Py_INCREF(Py_None
); resultobj
= Py_None
;
12119 if (temp2
) delete arg2
;
12124 if (temp2
) delete arg2
;
12130 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12134 PyObject
* obj0
= 0 ;
12135 char *kwnames
[] = {
12136 (char *) "self", NULL
12139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= result
;
12156 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12159 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12161 return Py_BuildValue((char *)"");
12163 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxWindow
*arg1
= (wxWindow
*) 0 ;
12166 wxString
*arg2
= 0 ;
12167 wxString
*arg3
= 0 ;
12169 wxString
*arg5
= (wxString
*) 0 ;
12170 long arg6
= (long) wxCHOICEDLG_STYLE
;
12171 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12172 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12173 wxSingleChoiceDialog
*result
;
12174 bool temp2
= False
;
12175 bool temp3
= False
;
12177 PyObject
* obj0
= 0 ;
12178 PyObject
* obj1
= 0 ;
12179 PyObject
* obj2
= 0 ;
12180 PyObject
* obj3
= 0 ;
12181 PyObject
* obj4
= 0 ;
12182 PyObject
* obj5
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12191 arg2
= wxString_in_helper(obj1
);
12192 if (arg2
== NULL
) SWIG_fail
;
12196 arg3
= wxString_in_helper(obj2
);
12197 if (arg3
== NULL
) SWIG_fail
;
12201 arg4
= PyList_Size(obj3
);
12202 arg5
= wxString_LIST_helper(obj3
);
12203 if (arg5
== NULL
) SWIG_fail
;
12206 arg6
= (long) SWIG_AsLong(obj4
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12212 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12232 if (arg5
) delete [] arg5
;
12245 if (arg5
) delete [] arg5
;
12251 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (int)(arg1
)->GetSelection();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= SWIG_FromInt((int)result
);
12277 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12278 PyObject
*resultobj
;
12279 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 result
= (arg1
)->GetStringSelection();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12309 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 PyObject
* obj1
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "self",(char *) "sel", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12322 arg2
= (int) SWIG_AsInt(obj1
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 (arg1
)->SetSelection(arg2
);
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 Py_INCREF(Py_None
); resultobj
= Py_None
;
12338 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12341 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12343 return Py_BuildValue((char *)"");
12345 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxWindow
*arg1
= (wxWindow
*) 0 ;
12348 wxString
*arg2
= 0 ;
12349 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12350 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12351 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12352 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12353 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12354 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12355 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12356 wxTextEntryDialog
*result
;
12357 bool temp2
= False
;
12358 bool temp3
= False
;
12359 bool temp4
= False
;
12361 PyObject
* obj0
= 0 ;
12362 PyObject
* obj1
= 0 ;
12363 PyObject
* obj2
= 0 ;
12364 PyObject
* obj3
= 0 ;
12365 PyObject
* obj4
= 0 ;
12366 PyObject
* obj5
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12375 arg2
= wxString_in_helper(obj1
);
12376 if (arg2
== NULL
) SWIG_fail
;
12381 arg3
= wxString_in_helper(obj2
);
12382 if (arg3
== NULL
) SWIG_fail
;
12388 arg4
= wxString_in_helper(obj3
);
12389 if (arg4
== NULL
) SWIG_fail
;
12394 arg5
= (long) SWIG_AsLong(obj4
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12400 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12441 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "self", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 result
= (arg1
)->GetValue();
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12473 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12476 wxString
*arg2
= 0 ;
12477 bool temp2
= False
;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj1
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self",(char *) "value", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12488 arg2
= wxString_in_helper(obj1
);
12489 if (arg2
== NULL
) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 (arg1
)->SetValue((wxString
const &)*arg2
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 Py_INCREF(Py_None
); resultobj
= Py_None
;
12514 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
12516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12517 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12519 return Py_BuildValue((char *)"");
12521 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxFontData
*result
;
12524 char *kwnames
[] = {
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (wxFontData
*)new wxFontData();
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12543 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxFontData
*arg1
= (wxFontData
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 Py_INCREF(Py_None
); resultobj
= Py_None
;
12568 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxFontData
*arg1
= (wxFontData
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 PyObject
* obj1
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self",(char *) "enable", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12581 arg2
= (bool) SWIG_AsBool(obj1
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 (arg1
)->EnableEffects(arg2
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 Py_INCREF(Py_None
); resultobj
= Py_None
;
12597 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
;
12599 wxFontData
*arg1
= (wxFontData
*) 0 ;
12601 PyObject
* obj0
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "self", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 result
= (bool)(arg1
)->GetAllowSymbols();
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12625 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxFontData
*arg1
= (wxFontData
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 result
= (arg1
)->GetColour();
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12645 wxColour
* resultptr
;
12646 resultptr
= new wxColour((wxColour
&) result
);
12647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12655 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxFontData
*arg1
= (wxFontData
*) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (arg1
)->GetChosenFont();
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12675 wxFont
* resultptr
;
12676 resultptr
= new wxFont((wxFont
&) result
);
12677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12685 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxFontData
*arg1
= (wxFontData
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 result
= (bool)(arg1
)->GetEnableEffects();
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12713 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12714 PyObject
*resultobj
;
12715 wxFontData
*arg1
= (wxFontData
*) 0 ;
12717 PyObject
* obj0
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (arg1
)->GetInitialFont();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12733 wxFont
* resultptr
;
12734 resultptr
= new wxFont((wxFont
&) result
);
12735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12743 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxFontData
*arg1
= (wxFontData
*) 0 ;
12747 PyObject
* obj0
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (bool)(arg1
)->GetShowHelp();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12771 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxFontData
*arg1
= (wxFontData
*) 0 ;
12775 PyObject
* obj0
= 0 ;
12776 PyObject
* obj1
= 0 ;
12777 char *kwnames
[] = {
12778 (char *) "self",(char *) "allowSymbols", NULL
12781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12784 arg2
= (bool) SWIG_AsBool(obj1
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 (arg1
)->SetAllowSymbols(arg2
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 Py_INCREF(Py_None
); resultobj
= Py_None
;
12800 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
;
12802 wxFontData
*arg1
= (wxFontData
*) 0 ;
12804 PyObject
* obj0
= 0 ;
12805 PyObject
* obj1
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self",(char *) "font", NULL
12810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12816 if (arg2
== NULL
) {
12817 PyErr_SetString(PyExc_TypeError
,"null reference");
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 Py_INCREF(Py_None
); resultobj
= Py_None
;
12834 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12836 wxFontData
*arg1
= (wxFontData
*) 0 ;
12837 wxColour
*arg2
= 0 ;
12839 PyObject
* obj0
= 0 ;
12840 PyObject
* obj1
= 0 ;
12841 char *kwnames
[] = {
12842 (char *) "self",(char *) "colour", NULL
12845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12850 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 (arg1
)->SetColour((wxColour
const &)*arg2
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 Py_INCREF(Py_None
); resultobj
= Py_None
;
12866 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxFontData
*arg1
= (wxFontData
*) 0 ;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "self",(char *) "font", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12882 if (arg2
== NULL
) {
12883 PyErr_SetString(PyExc_TypeError
,"null reference");
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 Py_INCREF(Py_None
); resultobj
= Py_None
;
12900 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxFontData
*arg1
= (wxFontData
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 PyObject
* obj2
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self",(char *) "min",(char *) "max", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12915 arg2
= (int) SWIG_AsInt(obj1
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12917 arg3
= (int) SWIG_AsInt(obj2
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 (arg1
)->SetRange(arg2
,arg3
);
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 Py_INCREF(Py_None
); resultobj
= Py_None
;
12933 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxFontData
*arg1
= (wxFontData
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "showHelp", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12946 arg2
= (bool) SWIG_AsBool(obj1
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 (arg1
)->SetShowHelp(arg2
);
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12955 Py_INCREF(Py_None
); resultobj
= Py_None
;
12962 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
12964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12965 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12967 return Py_BuildValue((char *)"");
12969 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxWindow
*arg1
= (wxWindow
*) 0 ;
12972 wxFontData
*arg2
= 0 ;
12973 wxFontDialog
*result
;
12974 PyObject
* obj0
= 0 ;
12975 PyObject
* obj1
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "parent",(char *) "data", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
12984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12986 if (arg2
== NULL
) {
12987 PyErr_SetString(PyExc_TypeError
,"null reference");
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13004 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13007 wxFontData
*result
;
13008 PyObject
* obj0
= 0 ;
13009 char *kwnames
[] = {
13010 (char *) "self", NULL
13013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13020 result
= (wxFontData
*) &_result_ref
;
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13033 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13036 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13038 return Py_BuildValue((char *)"");
13040 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxWindow
*arg1
= (wxWindow
*) 0 ;
13043 wxString
*arg2
= 0 ;
13044 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13045 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13046 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13047 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13048 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13049 wxMessageDialog
*result
;
13050 bool temp2
= False
;
13051 bool temp3
= False
;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 PyObject
* obj2
= 0 ;
13056 PyObject
* obj3
= 0 ;
13057 PyObject
* obj4
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13066 arg2
= wxString_in_helper(obj1
);
13067 if (arg2
== NULL
) SWIG_fail
;
13072 arg3
= wxString_in_helper(obj2
);
13073 if (arg3
== NULL
) SWIG_fail
;
13078 arg4
= (long) SWIG_AsLong(obj3
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13084 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13117 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13120 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13122 return Py_BuildValue((char *)"");
13124 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxString
*arg1
= 0 ;
13127 wxString
*arg2
= 0 ;
13128 int arg3
= (int) 100 ;
13129 wxWindow
*arg4
= (wxWindow
*) NULL
;
13130 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13131 wxProgressDialog
*result
;
13132 bool temp1
= False
;
13133 bool temp2
= False
;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 PyObject
* obj2
= 0 ;
13137 PyObject
* obj3
= 0 ;
13138 PyObject
* obj4
= 0 ;
13139 char *kwnames
[] = {
13140 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13145 arg1
= wxString_in_helper(obj0
);
13146 if (arg1
== NULL
) SWIG_fail
;
13150 arg2
= wxString_in_helper(obj1
);
13151 if (arg2
== NULL
) SWIG_fail
;
13155 arg3
= (int) SWIG_AsInt(obj2
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13159 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13163 arg5
= (int) SWIG_AsInt(obj4
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13196 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13200 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13201 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13203 bool temp3
= False
;
13204 PyObject
* obj0
= 0 ;
13205 PyObject
* obj1
= 0 ;
13206 PyObject
* obj2
= 0 ;
13207 char *kwnames
[] = {
13208 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13214 arg2
= (int) SWIG_AsInt(obj1
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13218 arg3
= wxString_in_helper(obj2
);
13219 if (arg3
== NULL
) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13247 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13265 Py_INCREF(Py_None
); resultobj
= Py_None
;
13272 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
13274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13275 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13277 return Py_BuildValue((char *)"");
13279 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13282 int arg2
= (int) 0 ;
13283 wxFindDialogEvent
*result
;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "commandType",(char *) "id", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13292 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13296 arg2
= (int) SWIG_AsInt(obj1
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13313 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (int)(arg1
)->GetFlags();
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 resultobj
= SWIG_FromInt((int)result
);
13339 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13343 PyObject
* obj0
= 0 ;
13344 char *kwnames
[] = {
13345 (char *) "self", NULL
13348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 wxString
const &_result_ref
= (arg1
)->GetFindString();
13355 result
= (wxString
*) &_result_ref
;
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13365 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13374 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13390 result
= (wxString
*) &_result_ref
;
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13400 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13409 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13412 wxFindReplaceDialog
*result
;
13413 PyObject
* obj0
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13435 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self",(char *) "flags", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13448 arg2
= (int) SWIG_AsInt(obj1
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 (arg1
)->SetFlags(arg2
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 Py_INCREF(Py_None
); resultobj
= Py_None
;
13464 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13467 wxString
*arg2
= 0 ;
13468 bool temp2
= False
;
13469 PyObject
* obj0
= 0 ;
13470 PyObject
* obj1
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self",(char *) "str", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13479 arg2
= wxString_in_helper(obj1
);
13480 if (arg2
== NULL
) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 (arg1
)->SetFindString((wxString
const &)*arg2
);
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 Py_INCREF(Py_None
); resultobj
= Py_None
;
13505 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13508 wxString
*arg2
= 0 ;
13509 bool temp2
= False
;
13510 PyObject
* obj0
= 0 ;
13511 PyObject
* obj1
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "self",(char *) "str", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13520 arg2
= wxString_in_helper(obj1
);
13521 if (arg2
== NULL
) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 Py_INCREF(Py_None
); resultobj
= Py_None
;
13546 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
13548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13549 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13551 return Py_BuildValue((char *)"");
13553 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 int arg1
= (int) 0 ;
13556 wxFindReplaceData
*result
;
13557 PyObject
* obj0
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "flags", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13564 arg1
= (int) SWIG_AsInt(obj0
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13581 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13584 PyObject
* obj0
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "self", NULL
13589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 Py_INCREF(Py_None
); resultobj
= Py_None
;
13606 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
;
13608 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13610 PyObject
* obj0
= 0 ;
13611 char *kwnames
[] = {
13612 (char *) "self", NULL
13615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 wxString
const &_result_ref
= (arg1
)->GetFindString();
13622 result
= (wxString
*) &_result_ref
;
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13632 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13641 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13645 PyObject
* obj0
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13657 result
= (wxString
*) &_result_ref
;
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13667 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13676 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "self", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (int)(arg1
)->GetFlags();
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= SWIG_FromInt((int)result
);
13702 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self",(char *) "flags", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13715 arg2
= (int) SWIG_AsInt(obj1
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 (arg1
)->SetFlags(arg2
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 Py_INCREF(Py_None
); resultobj
= Py_None
;
13731 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
;
13733 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13734 wxString
*arg2
= 0 ;
13735 bool temp2
= False
;
13736 PyObject
* obj0
= 0 ;
13737 PyObject
* obj1
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self",(char *) "str", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13746 arg2
= wxString_in_helper(obj1
);
13747 if (arg2
== NULL
) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 (arg1
)->SetFindString((wxString
const &)*arg2
);
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 Py_INCREF(Py_None
); resultobj
= Py_None
;
13772 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
;
13774 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13775 wxString
*arg2
= 0 ;
13776 bool temp2
= False
;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self",(char *) "str", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13787 arg2
= wxString_in_helper(obj1
);
13788 if (arg2
== NULL
) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 Py_INCREF(Py_None
); resultobj
= Py_None
;
13813 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
13815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13816 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13818 return Py_BuildValue((char *)"");
13820 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxWindow
*arg1
= (wxWindow
*) 0 ;
13823 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13824 wxString
*arg3
= 0 ;
13825 int arg4
= (int) 0 ;
13826 wxFindReplaceDialog
*result
;
13827 bool temp3
= False
;
13828 PyObject
* obj0
= 0 ;
13829 PyObject
* obj1
= 0 ;
13830 PyObject
* obj2
= 0 ;
13831 PyObject
* obj3
= 0 ;
13832 char *kwnames
[] = {
13833 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13842 arg3
= wxString_in_helper(obj2
);
13843 if (arg3
== NULL
) SWIG_fail
;
13847 arg4
= (int) SWIG_AsInt(obj3
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13872 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxFindReplaceDialog
*result
;
13875 char *kwnames
[] = {
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13894 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13895 PyObject
*resultobj
;
13896 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13897 wxWindow
*arg2
= (wxWindow
*) 0 ;
13898 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13899 wxString
*arg4
= 0 ;
13900 int arg5
= (int) 0 ;
13902 bool temp4
= False
;
13903 PyObject
* obj0
= 0 ;
13904 PyObject
* obj1
= 0 ;
13905 PyObject
* obj2
= 0 ;
13906 PyObject
* obj3
= 0 ;
13907 PyObject
* obj4
= 0 ;
13908 char *kwnames
[] = {
13909 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13917 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
13918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13920 arg4
= wxString_in_helper(obj3
);
13921 if (arg4
== NULL
) SWIG_fail
;
13925 arg5
= (int) SWIG_AsInt(obj4
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13952 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13955 wxFindReplaceData
*result
;
13956 PyObject
* obj0
= 0 ;
13957 char *kwnames
[] = {
13958 (char *) "self", NULL
13961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
13962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 result
= (wxFindReplaceData
*)(arg1
)->GetData();
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
13978 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13981 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self",(char *) "data", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 (arg1
)->SetData(arg2
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 Py_INCREF(Py_None
); resultobj
= Py_None
;
14007 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14010 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14012 return Py_BuildValue((char *)"");
14014 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxWindow
*arg1
= (wxWindow
*) 0 ;
14018 wxString
*arg3
= 0 ;
14019 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14020 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14021 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14022 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14023 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14024 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14025 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14026 wxMDIParentFrame
*result
;
14027 bool temp3
= False
;
14030 bool temp7
= False
;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 PyObject
* obj2
= 0 ;
14034 PyObject
* obj3
= 0 ;
14035 PyObject
* obj4
= 0 ;
14036 PyObject
* obj5
= 0 ;
14037 PyObject
* obj6
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14045 arg2
= (int const) SWIG_AsInt(obj1
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 arg3
= wxString_in_helper(obj2
);
14049 if (arg3
== NULL
) SWIG_fail
;
14055 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14061 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14065 arg6
= (long) SWIG_AsLong(obj5
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14070 arg7
= wxString_in_helper(obj6
);
14071 if (arg7
== NULL
) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14105 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
;
14107 wxMDIParentFrame
*result
;
14108 char *kwnames
[] = {
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14127 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14128 PyObject
*resultobj
;
14129 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14130 wxWindow
*arg2
= (wxWindow
*) 0 ;
14132 wxString
*arg4
= 0 ;
14133 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14134 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14135 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14136 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14137 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14138 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14139 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14141 bool temp4
= False
;
14144 bool temp8
= False
;
14145 PyObject
* obj0
= 0 ;
14146 PyObject
* obj1
= 0 ;
14147 PyObject
* obj2
= 0 ;
14148 PyObject
* obj3
= 0 ;
14149 PyObject
* obj4
= 0 ;
14150 PyObject
* obj5
= 0 ;
14151 PyObject
* obj6
= 0 ;
14152 PyObject
* obj7
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14162 arg3
= (int const) SWIG_AsInt(obj2
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 arg4
= wxString_in_helper(obj3
);
14166 if (arg4
== NULL
) SWIG_fail
;
14172 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14178 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14182 arg7
= (long) SWIG_AsLong(obj6
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14187 arg8
= wxString_in_helper(obj7
);
14188 if (arg8
== NULL
) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14224 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 char *kwnames
[] = {
14229 (char *) "self", NULL
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 (arg1
)->ActivateNext();
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14242 Py_INCREF(Py_None
); resultobj
= Py_None
;
14249 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14252 PyObject
* obj0
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 (arg1
)->ActivatePrevious();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 Py_INCREF(Py_None
); resultobj
= Py_None
;
14274 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14277 PyObject
* obj0
= 0 ;
14278 char *kwnames
[] = {
14279 (char *) "self", NULL
14282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14287 (arg1
)->ArrangeIcons();
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14292 Py_INCREF(Py_None
); resultobj
= Py_None
;
14299 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
;
14301 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14302 PyObject
* obj0
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self", NULL
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14317 Py_INCREF(Py_None
); resultobj
= Py_None
;
14324 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
;
14326 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14327 wxMDIChildFrame
*result
;
14328 PyObject
* obj0
= 0 ;
14329 char *kwnames
[] = {
14330 (char *) "self", NULL
14333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= wxPyMake_wxObject(result
);
14352 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14355 wxMDIClientWindow
*result
;
14356 PyObject
* obj0
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "self", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= wxPyMake_wxObject(result
);
14380 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
;
14382 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 char *kwnames
[] = {
14386 (char *) "self", NULL
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (wxWindow
*)(arg1
)->GetToolBar();
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= wxPyMake_wxObject(result
);
14408 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
;
14410 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 Py_INCREF(Py_None
); resultobj
= Py_None
;
14433 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
14435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14436 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14438 return Py_BuildValue((char *)"");
14440 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14444 wxString
*arg3
= 0 ;
14445 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14446 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14447 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14448 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14449 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14450 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14451 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14452 wxMDIChildFrame
*result
;
14453 bool temp3
= False
;
14456 bool temp7
= False
;
14457 PyObject
* obj0
= 0 ;
14458 PyObject
* obj1
= 0 ;
14459 PyObject
* obj2
= 0 ;
14460 PyObject
* obj3
= 0 ;
14461 PyObject
* obj4
= 0 ;
14462 PyObject
* obj5
= 0 ;
14463 PyObject
* obj6
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14471 arg2
= (int const) SWIG_AsInt(obj1
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 arg3
= wxString_in_helper(obj2
);
14475 if (arg3
== NULL
) SWIG_fail
;
14481 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14487 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14491 arg6
= (long) SWIG_AsLong(obj5
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14496 arg7
= wxString_in_helper(obj6
);
14497 if (arg7
== NULL
) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= wxPyMake_wxObject(result
);
14533 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxMDIChildFrame
*result
;
14536 char *kwnames
[] = {
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= wxPyMake_wxObject(result
);
14557 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14560 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14562 wxString
*arg4
= 0 ;
14563 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14564 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14565 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14566 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14567 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14568 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14569 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14571 bool temp4
= False
;
14574 bool temp8
= False
;
14575 PyObject
* obj0
= 0 ;
14576 PyObject
* obj1
= 0 ;
14577 PyObject
* obj2
= 0 ;
14578 PyObject
* obj3
= 0 ;
14579 PyObject
* obj4
= 0 ;
14580 PyObject
* obj5
= 0 ;
14581 PyObject
* obj6
= 0 ;
14582 PyObject
* obj7
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14592 arg3
= (int const) SWIG_AsInt(obj2
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 arg4
= wxString_in_helper(obj3
);
14596 if (arg4
== NULL
) SWIG_fail
;
14602 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14608 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14612 arg7
= (long) SWIG_AsLong(obj6
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14617 arg8
= wxString_in_helper(obj7
);
14618 if (arg8
== NULL
) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14654 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
;
14656 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 (arg1
)->Activate();
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 Py_INCREF(Py_None
); resultobj
= Py_None
;
14679 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self",(char *) "maximize", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 arg2
= (bool) SWIG_AsBool(obj1
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 (arg1
)->Maximize(arg2
);
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 Py_INCREF(Py_None
); resultobj
= Py_None
;
14708 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
;
14710 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 Py_INCREF(Py_None
); resultobj
= Py_None
;
14733 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
14735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14736 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14738 return Py_BuildValue((char *)"");
14740 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14743 long arg2
= (long) 0 ;
14744 wxMDIClientWindow
*result
;
14745 PyObject
* obj0
= 0 ;
14746 PyObject
* obj1
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "parent",(char *) "style", NULL
14751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14755 arg2
= (long) SWIG_AsLong(obj1
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= wxPyMake_wxObject(result
);
14774 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxMDIClientWindow
*result
;
14777 char *kwnames
[] = {
14781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= wxPyMake_wxObject(result
);
14798 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
;
14800 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14801 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14802 long arg3
= (long) 0 ;
14804 PyObject
* obj0
= 0 ;
14805 PyObject
* obj1
= 0 ;
14806 PyObject
* obj2
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "self",(char *) "parent",(char *) "style", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 arg3
= (long) SWIG_AsLong(obj2
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14836 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
14838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14839 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14841 return Py_BuildValue((char *)"");
14843 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxWindow
*arg1
= (wxWindow
*) 0 ;
14847 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14848 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14849 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14850 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14851 long arg5
= (long) 0 ;
14852 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14853 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14854 wxPyWindow
*result
;
14857 bool temp6
= False
;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 PyObject
* obj2
= 0 ;
14861 PyObject
* obj3
= 0 ;
14862 PyObject
* obj4
= 0 ;
14863 PyObject
* obj5
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14871 arg2
= (int const) SWIG_AsInt(obj1
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14876 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14882 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14886 arg5
= (long) SWIG_AsLong(obj4
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14891 arg6
= wxString_in_helper(obj5
);
14892 if (arg6
== NULL
) SWIG_fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14918 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
;
14920 wxPyWindow
*result
;
14921 char *kwnames
[] = {
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= (wxPyWindow
*)new wxPyWindow();
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14940 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
;
14942 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14943 PyObject
*arg2
= (PyObject
*) 0 ;
14944 PyObject
*arg3
= (PyObject
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 PyObject
* obj1
= 0 ;
14947 PyObject
* obj2
= 0 ;
14948 char *kwnames
[] = {
14949 (char *) "self",(char *) "self",(char *) "_class", NULL
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 Py_INCREF(Py_None
); resultobj
= Py_None
;
14971 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14978 PyObject
* obj0
= 0 ;
14979 PyObject
* obj1
= 0 ;
14980 PyObject
* obj2
= 0 ;
14981 PyObject
* obj3
= 0 ;
14982 PyObject
* obj4
= 0 ;
14983 char *kwnames
[] = {
14984 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14990 arg2
= (int) SWIG_AsInt(obj1
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14992 arg3
= (int) SWIG_AsInt(obj2
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14994 arg4
= (int) SWIG_AsInt(obj3
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14996 arg5
= (int) SWIG_AsInt(obj4
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 Py_INCREF(Py_None
); resultobj
= Py_None
;
15012 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15019 int arg6
= (int) wxSIZE_AUTO
;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 PyObject
* obj2
= 0 ;
15023 PyObject
* obj3
= 0 ;
15024 PyObject
* obj4
= 0 ;
15025 PyObject
* obj5
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15033 arg2
= (int) SWIG_AsInt(obj1
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15035 arg3
= (int) SWIG_AsInt(obj2
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15037 arg4
= (int) SWIG_AsInt(obj3
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15039 arg5
= (int) SWIG_AsInt(obj4
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15042 arg6
= (int) SWIG_AsInt(obj5
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 Py_INCREF(Py_None
); resultobj
= Py_None
;
15059 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 PyObject
* obj1
= 0 ;
15066 PyObject
* obj2
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self",(char *) "width",(char *) "height", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15074 arg2
= (int) SWIG_AsInt(obj1
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15076 arg3
= (int) SWIG_AsInt(obj2
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 Py_INCREF(Py_None
); resultobj
= Py_None
;
15092 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 PyObject
* obj2
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self",(char *) "x",(char *) "y", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15107 arg2
= (int) SWIG_AsInt(obj1
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15109 arg3
= (int) SWIG_AsInt(obj2
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15118 Py_INCREF(Py_None
); resultobj
= Py_None
;
15125 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15128 int *arg2
= (int *) 0 ;
15129 int *arg3
= (int *) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15149 Py_INCREF(Py_None
); resultobj
= Py_None
;
15151 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15152 resultobj
= t_output_helper(resultobj
,o
);
15155 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15156 resultobj
= t_output_helper(resultobj
,o
);
15164 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
;
15166 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15167 int *arg2
= (int *) 0 ;
15168 int *arg3
= (int *) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 Py_INCREF(Py_None
); resultobj
= Py_None
;
15190 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15191 resultobj
= t_output_helper(resultobj
,o
);
15194 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15195 resultobj
= t_output_helper(resultobj
,o
);
15203 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15206 int *arg2
= (int *) 0 ;
15207 int *arg3
= (int *) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15227 Py_INCREF(Py_None
); resultobj
= Py_None
;
15229 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15230 resultobj
= t_output_helper(resultobj
,o
);
15233 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15234 resultobj
= t_output_helper(resultobj
,o
);
15242 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15262 wxSize
* resultptr
;
15263 resultptr
= new wxSize((wxSize
&) result
);
15264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15272 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15292 wxSize
* resultptr
;
15293 resultptr
= new wxSize((wxSize
&) result
);
15294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15302 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 (arg1
)->base_InitDialog();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 Py_INCREF(Py_None
); resultobj
= Py_None
;
15327 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "self", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= (bool)(arg1
)->base_TransferDataToWindow();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15355 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15383 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (bool)(arg1
)->base_Validate();
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15411 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15439 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15443 PyObject
* obj0
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15467 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15487 wxSize
* resultptr
;
15488 resultptr
= new wxSize((wxSize
&) result
);
15489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15497 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15500 wxWindow
*arg2
= (wxWindow
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self",(char *) "child", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 (arg1
)->base_AddChild(arg2
);
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 Py_INCREF(Py_None
); resultobj
= Py_None
;
15526 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15529 wxWindow
*arg2
= (wxWindow
*) 0 ;
15530 PyObject
* obj0
= 0 ;
15531 PyObject
* obj1
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "self",(char *) "child", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 (arg1
)->base_RemoveChild(arg2
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 Py_INCREF(Py_None
); resultobj
= Py_None
;
15555 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
;
15557 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15559 PyObject
* obj0
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= (bool)(arg1
)->base_ShouldInheritColours();
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15583 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15586 wxColour
*arg2
= 0 ;
15588 PyObject
* obj0
= 0 ;
15589 PyObject
* obj1
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "self",(char *) "c", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15599 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 Py_INCREF(Py_None
); resultobj
= Py_None
;
15615 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
15617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15618 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15620 return Py_BuildValue((char *)"");
15622 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxWindow
*arg1
= (wxWindow
*) 0 ;
15626 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15627 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15628 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15629 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15630 long arg5
= (long) 0 ;
15631 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15632 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15636 bool temp6
= False
;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 PyObject
* obj2
= 0 ;
15640 PyObject
* obj3
= 0 ;
15641 PyObject
* obj4
= 0 ;
15642 PyObject
* obj5
= 0 ;
15643 char *kwnames
[] = {
15644 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15650 arg2
= (int const) SWIG_AsInt(obj1
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15655 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15661 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15665 arg5
= (long) SWIG_AsLong(obj4
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15670 arg6
= wxString_in_helper(obj5
);
15671 if (arg6
== NULL
) SWIG_fail
;
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15697 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15700 char *kwnames
[] = {
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (wxPyPanel
*)new wxPyPanel();
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15719 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15722 PyObject
*arg2
= (PyObject
*) 0 ;
15723 PyObject
*arg3
= (PyObject
*) 0 ;
15724 PyObject
* obj0
= 0 ;
15725 PyObject
* obj1
= 0 ;
15726 PyObject
* obj2
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self",(char *) "self",(char *) "_class", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 Py_INCREF(Py_None
); resultobj
= Py_None
;
15750 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15752 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15757 PyObject
* obj0
= 0 ;
15758 PyObject
* obj1
= 0 ;
15759 PyObject
* obj2
= 0 ;
15760 PyObject
* obj3
= 0 ;
15761 PyObject
* obj4
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15769 arg2
= (int) SWIG_AsInt(obj1
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15771 arg3
= (int) SWIG_AsInt(obj2
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15773 arg4
= (int) SWIG_AsInt(obj3
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15775 arg5
= (int) SWIG_AsInt(obj4
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 Py_INCREF(Py_None
); resultobj
= Py_None
;
15791 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
;
15793 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15798 int arg6
= (int) wxSIZE_AUTO
;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 PyObject
* obj2
= 0 ;
15802 PyObject
* obj3
= 0 ;
15803 PyObject
* obj4
= 0 ;
15804 PyObject
* obj5
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15812 arg2
= (int) SWIG_AsInt(obj1
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15814 arg3
= (int) SWIG_AsInt(obj2
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15816 arg4
= (int) SWIG_AsInt(obj3
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15818 arg5
= (int) SWIG_AsInt(obj4
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15821 arg6
= (int) SWIG_AsInt(obj5
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 Py_INCREF(Py_None
); resultobj
= Py_None
;
15838 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15843 PyObject
* obj0
= 0 ;
15844 PyObject
* obj1
= 0 ;
15845 PyObject
* obj2
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self",(char *) "width",(char *) "height", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15853 arg2
= (int) SWIG_AsInt(obj1
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15855 arg3
= (int) SWIG_AsInt(obj2
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15864 Py_INCREF(Py_None
); resultobj
= Py_None
;
15871 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15872 PyObject
*resultobj
;
15873 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15876 PyObject
* obj0
= 0 ;
15877 PyObject
* obj1
= 0 ;
15878 PyObject
* obj2
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self",(char *) "x",(char *) "y", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 arg2
= (int) SWIG_AsInt(obj1
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15888 arg3
= (int) SWIG_AsInt(obj2
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 Py_INCREF(Py_None
); resultobj
= Py_None
;
15904 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15907 int *arg2
= (int *) 0 ;
15908 int *arg3
= (int *) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 Py_INCREF(Py_None
); resultobj
= Py_None
;
15930 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15931 resultobj
= t_output_helper(resultobj
,o
);
15934 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15935 resultobj
= t_output_helper(resultobj
,o
);
15943 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15946 int *arg2
= (int *) 0 ;
15947 int *arg3
= (int *) 0 ;
15950 PyObject
* obj0
= 0 ;
15951 char *kwnames
[] = {
15952 (char *) "self", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 Py_INCREF(Py_None
); resultobj
= Py_None
;
15969 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15970 resultobj
= t_output_helper(resultobj
,o
);
15973 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15974 resultobj
= t_output_helper(resultobj
,o
);
15982 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15985 int *arg2
= (int *) 0 ;
15986 int *arg3
= (int *) 0 ;
15989 PyObject
* obj0
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "self", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 Py_INCREF(Py_None
); resultobj
= Py_None
;
16008 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16009 resultobj
= t_output_helper(resultobj
,o
);
16012 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16013 resultobj
= t_output_helper(resultobj
,o
);
16021 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
;
16023 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16025 PyObject
* obj0
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "self", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16041 wxSize
* resultptr
;
16042 resultptr
= new wxSize((wxSize
&) result
);
16043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16051 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16055 PyObject
* obj0
= 0 ;
16056 char *kwnames
[] = {
16057 (char *) "self", NULL
16060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 wxSize
* resultptr
;
16072 resultptr
= new wxSize((wxSize
&) result
);
16073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16081 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
;
16083 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 (arg1
)->base_InitDialog();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 Py_INCREF(Py_None
); resultobj
= Py_None
;
16106 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16110 PyObject
* obj0
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "self", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 result
= (bool)(arg1
)->base_TransferDataToWindow();
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16134 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16138 PyObject
* obj0
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "self", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16162 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
;
16164 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16166 PyObject
* obj0
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 result
= (bool)(arg1
)->base_Validate();
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16190 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
;
16192 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16194 PyObject
* obj0
= 0 ;
16195 char *kwnames
[] = {
16196 (char *) "self", NULL
16199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16218 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16222 PyObject
* obj0
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16246 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16250 PyObject
* obj0
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16266 wxSize
* resultptr
;
16267 resultptr
= new wxSize((wxSize
&) result
);
16268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16276 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16279 wxWindow
*arg2
= (wxWindow
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 PyObject
* obj1
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "self",(char *) "child", NULL
16286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 (arg1
)->base_AddChild(arg2
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 Py_INCREF(Py_None
); resultobj
= Py_None
;
16305 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16308 wxWindow
*arg2
= (wxWindow
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 PyObject
* obj1
= 0 ;
16311 char *kwnames
[] = {
16312 (char *) "self",(char *) "child", NULL
16315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 (arg1
)->base_RemoveChild(arg2
);
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 Py_INCREF(Py_None
); resultobj
= Py_None
;
16334 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (bool)(arg1
)->base_ShouldInheritColours();
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16362 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
;
16364 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16365 wxColour
*arg2
= 0 ;
16367 PyObject
* obj0
= 0 ;
16368 PyObject
* obj1
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "c", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16378 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 Py_INCREF(Py_None
); resultobj
= Py_None
;
16394 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
16396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16397 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16399 return Py_BuildValue((char *)"");
16401 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxWindow
*arg1
= (wxWindow
*) 0 ;
16405 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16406 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16407 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16408 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16409 long arg5
= (long) 0 ;
16410 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16411 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16412 wxPyScrolledWindow
*result
;
16415 bool temp6
= False
;
16416 PyObject
* obj0
= 0 ;
16417 PyObject
* obj1
= 0 ;
16418 PyObject
* obj2
= 0 ;
16419 PyObject
* obj3
= 0 ;
16420 PyObject
* obj4
= 0 ;
16421 PyObject
* obj5
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16429 arg2
= (int const) SWIG_AsInt(obj1
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16440 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16444 arg5
= (long) SWIG_AsLong(obj4
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16449 arg6
= wxString_in_helper(obj5
);
16450 if (arg6
== NULL
) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16476 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxPyScrolledWindow
*result
;
16479 char *kwnames
[] = {
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16498 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16501 PyObject
*arg2
= (PyObject
*) 0 ;
16502 PyObject
*arg3
= (PyObject
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 PyObject
* obj1
= 0 ;
16505 PyObject
* obj2
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self",(char *) "self",(char *) "_class", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16522 Py_INCREF(Py_None
); resultobj
= Py_None
;
16529 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16536 PyObject
* obj0
= 0 ;
16537 PyObject
* obj1
= 0 ;
16538 PyObject
* obj2
= 0 ;
16539 PyObject
* obj3
= 0 ;
16540 PyObject
* obj4
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16548 arg2
= (int) SWIG_AsInt(obj1
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16550 arg3
= (int) SWIG_AsInt(obj2
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16552 arg4
= (int) SWIG_AsInt(obj3
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16554 arg5
= (int) SWIG_AsInt(obj4
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 Py_INCREF(Py_None
); resultobj
= Py_None
;
16570 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16577 int arg6
= (int) wxSIZE_AUTO
;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 PyObject
* obj2
= 0 ;
16581 PyObject
* obj3
= 0 ;
16582 PyObject
* obj4
= 0 ;
16583 PyObject
* obj5
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16591 arg2
= (int) SWIG_AsInt(obj1
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16593 arg3
= (int) SWIG_AsInt(obj2
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16595 arg4
= (int) SWIG_AsInt(obj3
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16597 arg5
= (int) SWIG_AsInt(obj4
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16600 arg6
= (int) SWIG_AsInt(obj5
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 Py_INCREF(Py_None
); resultobj
= Py_None
;
16617 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 PyObject
* obj2
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self",(char *) "width",(char *) "height", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16632 arg2
= (int) SWIG_AsInt(obj1
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16634 arg3
= (int) SWIG_AsInt(obj2
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16643 Py_INCREF(Py_None
); resultobj
= Py_None
;
16650 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 PyObject
* obj2
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self",(char *) "x",(char *) "y", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16665 arg2
= (int) SWIG_AsInt(obj1
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16667 arg3
= (int) SWIG_AsInt(obj2
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16676 Py_INCREF(Py_None
); resultobj
= Py_None
;
16683 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16686 int *arg2
= (int *) 0 ;
16687 int *arg3
= (int *) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 Py_INCREF(Py_None
); resultobj
= Py_None
;
16709 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16710 resultobj
= t_output_helper(resultobj
,o
);
16713 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16714 resultobj
= t_output_helper(resultobj
,o
);
16722 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
;
16724 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16725 int *arg2
= (int *) 0 ;
16726 int *arg3
= (int *) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 Py_INCREF(Py_None
); resultobj
= Py_None
;
16748 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16749 resultobj
= t_output_helper(resultobj
,o
);
16752 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16753 resultobj
= t_output_helper(resultobj
,o
);
16761 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16764 int *arg2
= (int *) 0 ;
16765 int *arg3
= (int *) 0 ;
16768 PyObject
* obj0
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "self", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 Py_INCREF(Py_None
); resultobj
= Py_None
;
16787 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16788 resultobj
= t_output_helper(resultobj
,o
);
16791 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16792 resultobj
= t_output_helper(resultobj
,o
);
16800 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16804 PyObject
* obj0
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 wxSize
* resultptr
;
16821 resultptr
= new wxSize((wxSize
&) result
);
16822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16830 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16832 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "self", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16850 wxSize
* resultptr
;
16851 resultptr
= new wxSize((wxSize
&) result
);
16852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16860 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
;
16862 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "self", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 (arg1
)->base_InitDialog();
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16878 Py_INCREF(Py_None
); resultobj
= Py_None
;
16885 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (bool)(arg1
)->base_TransferDataToWindow();
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16913 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16941 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
;
16943 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= (bool)(arg1
)->base_Validate();
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16969 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16973 PyObject
* obj0
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "self", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16997 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
;
16999 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17001 PyObject
* obj0
= 0 ;
17002 char *kwnames
[] = {
17003 (char *) "self", NULL
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17025 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
;
17027 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17029 PyObject
* obj0
= 0 ;
17030 char *kwnames
[] = {
17031 (char *) "self", NULL
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17045 wxSize
* resultptr
;
17046 resultptr
= new wxSize((wxSize
&) result
);
17047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17055 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
;
17057 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17058 wxWindow
*arg2
= (wxWindow
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self",(char *) "child", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 (arg1
)->base_AddChild(arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17084 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17087 wxWindow
*arg2
= (wxWindow
*) 0 ;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self",(char *) "child", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 (arg1
)->base_RemoveChild(arg2
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 Py_INCREF(Py_None
); resultobj
= Py_None
;
17113 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
;
17115 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17117 PyObject
* obj0
= 0 ;
17118 char *kwnames
[] = {
17119 (char *) "self", NULL
17122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (bool)(arg1
)->base_ShouldInheritColours();
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17141 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17143 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17144 wxColour
*arg2
= 0 ;
17146 PyObject
* obj0
= 0 ;
17147 PyObject
* obj1
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self",(char *) "c", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 Py_INCREF(Py_None
); resultobj
= Py_None
;
17173 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
17175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17176 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17178 return Py_BuildValue((char *)"");
17180 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
17181 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17186 static PyObject
*_wrap_PrintoutTitleStr_get() {
17191 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17193 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17200 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
17201 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17206 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17211 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17213 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17220 static PyObject
*_wrap_new_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17221 PyObject
*resultobj
;
17222 wxPrintData
*result
;
17223 char *kwnames
[] = {
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (wxPrintData
*)new wxPrintData();
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17242 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17245 PyObject
* obj0
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "self", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 Py_INCREF(Py_None
); resultobj
= Py_None
;
17267 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (int)(arg1
)->GetNoCopies();
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_FromInt((int)result
);
17293 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17295 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17297 PyObject
* obj0
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (bool)(arg1
)->GetCollate();
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17321 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17325 PyObject
* obj0
= 0 ;
17326 char *kwnames
[] = {
17327 (char *) "self", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 result
= (int)(arg1
)->GetOrientation();
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= SWIG_FromInt((int)result
);
17347 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17349 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17351 PyObject
* obj0
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 result
= (bool)(arg1
)->Ok();
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17375 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17391 result
= (wxString
*) &_result_ref
;
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17401 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17410 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17414 PyObject
* obj0
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (bool)(arg1
)->GetColour();
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17438 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17442 PyObject
* obj0
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= (int)(arg1
)->GetDuplex();
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= SWIG_FromInt((int)result
);
17464 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
;
17466 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17468 PyObject
* obj0
= 0 ;
17469 char *kwnames
[] = {
17470 (char *) "self", NULL
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 result
= (int)(arg1
)->GetPaperId();
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17483 resultobj
= SWIG_FromInt((int)result
);
17490 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
;
17492 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17494 PyObject
* obj0
= 0 ;
17495 char *kwnames
[] = {
17496 (char *) "self", NULL
17499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17506 result
= (wxSize
*) &_result_ref
;
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17519 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17523 PyObject
* obj0
= 0 ;
17524 char *kwnames
[] = {
17525 (char *) "self", NULL
17528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (int)(arg1
)->GetQuality();
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= SWIG_FromInt((int)result
);
17545 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17549 PyObject
* obj0
= 0 ;
17550 PyObject
* obj1
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self",(char *) "v", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17558 arg2
= (int) SWIG_AsInt(obj1
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->SetNoCopies(arg2
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 Py_INCREF(Py_None
); resultobj
= Py_None
;
17574 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
;
17576 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "self",(char *) "flag", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17587 arg2
= (bool) SWIG_AsBool(obj1
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 (arg1
)->SetCollate(arg2
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 Py_INCREF(Py_None
); resultobj
= Py_None
;
17603 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 PyObject
* obj1
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self",(char *) "orient", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 arg2
= (int) SWIG_AsInt(obj1
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 (arg1
)->SetOrientation(arg2
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 Py_INCREF(Py_None
); resultobj
= Py_None
;
17632 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17635 wxString
*arg2
= 0 ;
17636 bool temp2
= False
;
17637 PyObject
* obj0
= 0 ;
17638 PyObject
* obj1
= 0 ;
17639 char *kwnames
[] = {
17640 (char *) "self",(char *) "name", NULL
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17647 arg2
= wxString_in_helper(obj1
);
17648 if (arg2
== NULL
) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 Py_INCREF(Py_None
); resultobj
= Py_None
;
17673 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17675 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17677 PyObject
* obj0
= 0 ;
17678 PyObject
* obj1
= 0 ;
17679 char *kwnames
[] = {
17680 (char *) "self",(char *) "colour", NULL
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17686 arg2
= (bool) SWIG_AsBool(obj1
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 (arg1
)->SetColour(arg2
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 Py_INCREF(Py_None
); resultobj
= Py_None
;
17702 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self",(char *) "duplex", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17715 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 Py_INCREF(Py_None
); resultobj
= Py_None
;
17731 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self",(char *) "sizeId", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 Py_INCREF(Py_None
); resultobj
= Py_None
;
17760 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17765 PyObject
* obj0
= 0 ;
17766 PyObject
* obj1
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self",(char *) "sz", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 Py_INCREF(Py_None
); resultobj
= Py_None
;
17792 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self",(char *) "quality", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
17803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17805 arg2
= (int) SWIG_AsInt(obj1
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 (arg1
)->SetQuality(arg2
);
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17814 Py_INCREF(Py_None
); resultobj
= Py_None
;
17821 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
;
17823 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17825 PyObject
* obj0
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
17837 result
= (wxString
*) &_result_ref
;
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17845 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17847 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17856 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17860 PyObject
* obj0
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
17866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17871 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
17872 result
= (wxString
*) &_result_ref
;
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17880 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17882 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17891 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
;
17893 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
17901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
17907 result
= (wxString
*) &_result_ref
;
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17917 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17926 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
;
17928 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17930 PyObject
* obj0
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17941 wxString
const &_result_ref
= (arg1
)->GetFilename();
17942 result
= (wxString
*) &_result_ref
;
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17950 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17952 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17961 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 char *kwnames
[] = {
17967 (char *) "self", NULL
17970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17977 result
= (wxString
*) &_result_ref
;
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17987 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17996 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 result
= (double)(arg1
)->GetPrinterScaleX();
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= SWIG_FromDouble((double)result
);
18022 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 result
= (double)(arg1
)->GetPrinterScaleY();
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_FromDouble((double)result
);
18048 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
;
18050 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18052 PyObject
* obj0
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 result
= (long)(arg1
)->GetPrinterTranslateX();
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18067 resultobj
= SWIG_FromLong((long)result
);
18074 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18075 PyObject
*resultobj
;
18076 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18078 PyObject
* obj0
= 0 ;
18079 char *kwnames
[] = {
18080 (char *) "self", NULL
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 result
= (long)(arg1
)->GetPrinterTranslateY();
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18093 resultobj
= SWIG_FromLong((long)result
);
18100 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
;
18102 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18104 PyObject
* obj0
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 result
= (int)(arg1
)->GetPrintMode();
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= SWIG_FromInt((int)result
);
18126 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18127 PyObject
*resultobj
;
18128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18129 wxString
*arg2
= 0 ;
18130 bool temp2
= False
;
18131 PyObject
* obj0
= 0 ;
18132 PyObject
* obj1
= 0 ;
18133 char *kwnames
[] = {
18134 (char *) "self",(char *) "command", NULL
18137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18141 arg2
= wxString_in_helper(obj1
);
18142 if (arg2
== NULL
) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 Py_INCREF(Py_None
); resultobj
= Py_None
;
18167 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18170 wxString
*arg2
= 0 ;
18171 bool temp2
= False
;
18172 PyObject
* obj0
= 0 ;
18173 PyObject
* obj1
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "self",(char *) "options", NULL
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18182 arg2
= wxString_in_helper(obj1
);
18183 if (arg2
== NULL
) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 Py_INCREF(Py_None
); resultobj
= Py_None
;
18208 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18211 wxString
*arg2
= 0 ;
18212 bool temp2
= False
;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self",(char *) "command", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18223 arg2
= wxString_in_helper(obj1
);
18224 if (arg2
== NULL
) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 Py_INCREF(Py_None
); resultobj
= Py_None
;
18249 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18252 wxString
*arg2
= 0 ;
18253 bool temp2
= False
;
18254 PyObject
* obj0
= 0 ;
18255 PyObject
* obj1
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self",(char *) "filename", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18264 arg2
= wxString_in_helper(obj1
);
18265 if (arg2
== NULL
) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 (arg1
)->SetFilename((wxString
const &)*arg2
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 Py_INCREF(Py_None
); resultobj
= Py_None
;
18290 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18293 wxString
*arg2
= 0 ;
18294 bool temp2
= False
;
18295 PyObject
* obj0
= 0 ;
18296 PyObject
* obj1
= 0 ;
18297 char *kwnames
[] = {
18298 (char *) "self",(char *) "path", NULL
18301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18305 arg2
= wxString_in_helper(obj1
);
18306 if (arg2
== NULL
) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 Py_INCREF(Py_None
); resultobj
= Py_None
;
18331 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 PyObject
* obj1
= 0 ;
18337 char *kwnames
[] = {
18338 (char *) "self",(char *) "x", NULL
18341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18344 arg2
= (double) SWIG_AsDouble(obj1
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 (arg1
)->SetPrinterScaleX(arg2
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 Py_INCREF(Py_None
); resultobj
= Py_None
;
18360 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
;
18362 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18364 PyObject
* obj0
= 0 ;
18365 PyObject
* obj1
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self",(char *) "y", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18373 arg2
= (double) SWIG_AsDouble(obj1
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 (arg1
)->SetPrinterScaleY(arg2
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 Py_INCREF(Py_None
); resultobj
= Py_None
;
18389 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18396 PyObject
* obj2
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self",(char *) "x",(char *) "y", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18404 arg2
= (double) SWIG_AsDouble(obj1
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18406 arg3
= (double) SWIG_AsDouble(obj2
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 Py_INCREF(Py_None
); resultobj
= Py_None
;
18422 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "self",(char *) "x", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18435 arg2
= (long) SWIG_AsLong(obj1
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 (arg1
)->SetPrinterTranslateX(arg2
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 Py_INCREF(Py_None
); resultobj
= Py_None
;
18451 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "y", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18464 arg2
= (long) SWIG_AsLong(obj1
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 (arg1
)->SetPrinterTranslateY(arg2
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 PyObject
* obj2
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self",(char *) "x",(char *) "y", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 arg2
= (long) SWIG_AsLong(obj1
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18497 arg3
= (long) SWIG_AsLong(obj2
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 Py_INCREF(Py_None
); resultobj
= Py_None
;
18513 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18517 PyObject
* obj0
= 0 ;
18518 PyObject
* obj1
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self",(char *) "printMode", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18526 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 Py_INCREF(Py_None
); resultobj
= Py_None
;
18542 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18545 wxOutputStream
*result
;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18568 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18571 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self",(char *) "outputstream", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 (arg1
)->SetOutputStream(arg2
);
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 Py_INCREF(Py_None
); resultobj
= Py_None
;
18597 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
18599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18600 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18602 return Py_BuildValue((char *)"");
18604 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxPageSetupDialogData
*result
;
18607 char *kwnames
[] = {
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18626 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
;
18628 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 Py_INCREF(Py_None
); resultobj
= Py_None
;
18651 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 char *kwnames
[] = {
18658 (char *) "self",(char *) "flag", NULL
18661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18664 arg2
= (bool) SWIG_AsBool(obj1
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18668 (arg1
)->EnableHelp(arg2
);
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 Py_INCREF(Py_None
); resultobj
= Py_None
;
18680 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self",(char *) "flag", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18693 arg2
= (bool) SWIG_AsBool(obj1
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 (arg1
)->EnableMargins(arg2
);
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 Py_INCREF(Py_None
); resultobj
= Py_None
;
18709 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 PyObject
* obj1
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self",(char *) "flag", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18722 arg2
= (bool) SWIG_AsBool(obj1
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 (arg1
)->EnableOrientation(arg2
);
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 Py_INCREF(Py_None
); resultobj
= Py_None
;
18738 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self",(char *) "flag", NULL
18748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18751 arg2
= (bool) SWIG_AsBool(obj1
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 (arg1
)->EnablePaper(arg2
);
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 Py_INCREF(Py_None
); resultobj
= Py_None
;
18767 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
;
18769 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self",(char *) "flag", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
18778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18780 arg2
= (bool) SWIG_AsBool(obj1
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 (arg1
)->EnablePrinter(arg2
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 Py_INCREF(Py_None
); resultobj
= Py_None
;
18796 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
;
18798 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18800 PyObject
* obj0
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "self", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
18806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (bool)(arg1
)->GetDefaultMinMargins();
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18824 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18828 PyObject
* obj0
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "self", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
18834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 result
= (bool)(arg1
)->GetEnableMargins();
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18852 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 char *kwnames
[] = {
18858 (char *) "self", NULL
18861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
18862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 result
= (bool)(arg1
)->GetEnableOrientation();
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18880 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
;
18882 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18884 PyObject
* obj0
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "self", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
18890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 result
= (bool)(arg1
)->GetEnablePaper();
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18908 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 result
= (bool)(arg1
)->GetEnablePrinter();
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18936 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18940 PyObject
* obj0
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "self", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 result
= (bool)(arg1
)->GetEnableHelp();
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18964 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18968 PyObject
* obj0
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "self", NULL
18973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
18974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 result
= (bool)(arg1
)->GetDefaultInfo();
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18992 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18996 PyObject
* obj0
= 0 ;
18997 char *kwnames
[] = {
18998 (char *) "self", NULL
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 result
= (arg1
)->GetMarginTopLeft();
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19012 wxPoint
* resultptr
;
19013 resultptr
= new wxPoint((wxPoint
&) result
);
19014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19022 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 result
= (arg1
)->GetMarginBottomRight();
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19042 wxPoint
* resultptr
;
19043 resultptr
= new wxPoint((wxPoint
&) result
);
19044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19052 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
;
19054 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19056 PyObject
* obj0
= 0 ;
19057 char *kwnames
[] = {
19058 (char *) "self", NULL
19061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 result
= (arg1
)->GetMinMarginTopLeft();
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19072 wxPoint
* resultptr
;
19073 resultptr
= new wxPoint((wxPoint
&) result
);
19074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19082 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19083 PyObject
*resultobj
;
19084 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19086 PyObject
* obj0
= 0 ;
19087 char *kwnames
[] = {
19088 (char *) "self", NULL
19091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 result
= (arg1
)->GetMinMarginBottomRight();
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19102 wxPoint
* resultptr
;
19103 resultptr
= new wxPoint((wxPoint
&) result
);
19104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19112 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
;
19114 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "self", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 result
= (int)(arg1
)->GetPaperId();
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 resultobj
= SWIG_FromInt((int)result
);
19138 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19142 PyObject
* obj0
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 result
= (arg1
)->GetPaperSize();
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19158 wxSize
* resultptr
;
19159 resultptr
= new wxSize((wxSize
&) result
);
19160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19168 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19171 wxPrintData
*result
;
19172 PyObject
* obj0
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19184 result
= (wxPrintData
*) &_result_ref
;
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19197 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
;
19199 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19201 PyObject
* obj0
= 0 ;
19202 char *kwnames
[] = {
19203 (char *) "self", NULL
19206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 result
= (bool)(arg1
)->Ok();
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19225 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "flag", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19238 arg2
= (bool) SWIG_AsBool(obj1
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 (arg1
)->SetDefaultInfo(arg2
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 Py_INCREF(Py_None
); resultobj
= Py_None
;
19254 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self",(char *) "flag", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19267 arg2
= (bool) SWIG_AsBool(obj1
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 (arg1
)->SetDefaultMinMargins(arg2
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 Py_INCREF(Py_None
); resultobj
= Py_None
;
19283 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19286 wxPoint
*arg2
= 0 ;
19288 PyObject
* obj0
= 0 ;
19289 PyObject
* obj1
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self",(char *) "pt", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19299 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 Py_INCREF(Py_None
); resultobj
= Py_None
;
19315 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19318 wxPoint
*arg2
= 0 ;
19320 PyObject
* obj0
= 0 ;
19321 PyObject
* obj1
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self",(char *) "pt", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19331 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 Py_INCREF(Py_None
); resultobj
= Py_None
;
19347 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19350 wxPoint
*arg2
= 0 ;
19352 PyObject
* obj0
= 0 ;
19353 PyObject
* obj1
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self",(char *) "pt", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 Py_INCREF(Py_None
); resultobj
= Py_None
;
19379 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19382 wxPoint
*arg2
= 0 ;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self",(char *) "pt", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19395 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 Py_INCREF(Py_None
); resultobj
= Py_None
;
19411 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19415 PyObject
* obj0
= 0 ;
19416 PyObject
* obj1
= 0 ;
19417 char *kwnames
[] = {
19418 (char *) "self",(char *) "id", NULL
19421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19424 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19433 Py_INCREF(Py_None
); resultobj
= Py_None
;
19440 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "self",(char *) "size", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19456 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 Py_INCREF(Py_None
); resultobj
= Py_None
;
19472 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19475 wxPrintData
*arg2
= 0 ;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self",(char *) "printData", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19488 if (arg2
== NULL
) {
19489 PyErr_SetString(PyExc_TypeError
,"null reference");
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19499 Py_INCREF(Py_None
); resultobj
= Py_None
;
19506 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
19508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19509 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19511 return Py_BuildValue((char *)"");
19513 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxWindow
*arg1
= (wxWindow
*) 0 ;
19516 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19517 wxPageSetupDialog
*result
;
19518 PyObject
* obj0
= 0 ;
19519 PyObject
* obj1
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "parent",(char *) "data", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19545 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19548 wxPageSetupDialogData
*result
;
19549 PyObject
* obj0
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19561 result
= (wxPageSetupDialogData
*) &_result_ref
;
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19574 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
;
19576 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19578 PyObject
* obj0
= 0 ;
19579 char *kwnames
[] = {
19580 (char *) "self", NULL
19583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (int)(arg1
)->ShowModal();
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= SWIG_FromInt((int)result
);
19600 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
19602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19603 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19605 return Py_BuildValue((char *)"");
19607 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19608 PyObject
*resultobj
;
19609 wxPrintDialogData
*result
;
19611 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19626 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19627 PyObject
*resultobj
;
19628 wxPrintData
*arg1
= 0 ;
19629 wxPrintDialogData
*result
;
19630 PyObject
* obj0
= 0 ;
19632 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19636 if (arg1
== NULL
) {
19637 PyErr_SetString(PyExc_TypeError
,"null reference");
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19654 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19659 argc
= PyObject_Length(args
);
19660 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19661 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19664 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19670 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
19678 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
19682 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
19687 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19690 PyObject
* obj0
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
19696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19705 Py_INCREF(Py_None
); resultobj
= Py_None
;
19712 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19716 PyObject
* obj0
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "self", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= SWIG_FromInt((int)result
);
19738 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19742 PyObject
* obj0
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= SWIG_FromInt((int)result
);
19764 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
;
19766 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19768 PyObject
* obj0
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= SWIG_FromInt((int)result
);
19790 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19794 PyObject
* obj0
= 0 ;
19795 char *kwnames
[] = {
19796 (char *) "self", NULL
19799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= SWIG_FromInt((int)result
);
19816 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19820 PyObject
* obj0
= 0 ;
19821 char *kwnames
[] = {
19822 (char *) "self", NULL
19825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
19826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= SWIG_FromInt((int)result
);
19842 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
;
19844 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19846 PyObject
* obj0
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self", NULL
19851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
19852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19870 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
19880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19898 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19902 PyObject
* obj0
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
19908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19926 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
;
19928 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19930 PyObject
* obj0
= 0 ;
19931 char *kwnames
[] = {
19932 (char *) "self", NULL
19935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
19936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19940 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
19942 wxPyEndAllowThreads(__tstate
);
19943 if (PyErr_Occurred()) SWIG_fail
;
19946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19954 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
;
19956 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19958 PyObject
* obj0
= 0 ;
19959 char *kwnames
[] = {
19960 (char *) "self", NULL
19963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
19964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19982 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
;
19984 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19986 PyObject
* obj0
= 0 ;
19987 PyObject
* obj1
= 0 ;
19988 char *kwnames
[] = {
19989 (char *) "self",(char *) "v", NULL
19992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19995 arg2
= (int) SWIG_AsInt(obj1
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 (arg1
)->SetFromPage(arg2
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 Py_INCREF(Py_None
); resultobj
= Py_None
;
20011 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
;
20013 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20015 PyObject
* obj0
= 0 ;
20016 PyObject
* obj1
= 0 ;
20017 char *kwnames
[] = {
20018 (char *) "self",(char *) "v", NULL
20021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20024 arg2
= (int) SWIG_AsInt(obj1
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 (arg1
)->SetToPage(arg2
);
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 Py_INCREF(Py_None
); resultobj
= Py_None
;
20040 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 char *kwnames
[] = {
20047 (char *) "self",(char *) "v", NULL
20050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20053 arg2
= (int) SWIG_AsInt(obj1
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 (arg1
)->SetMinPage(arg2
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 Py_INCREF(Py_None
); resultobj
= Py_None
;
20069 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20073 PyObject
* obj0
= 0 ;
20074 PyObject
* obj1
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "self",(char *) "v", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20082 arg2
= (int) SWIG_AsInt(obj1
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 (arg1
)->SetMaxPage(arg2
);
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20091 Py_INCREF(Py_None
); resultobj
= Py_None
;
20098 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 char *kwnames
[] = {
20105 (char *) "self",(char *) "v", NULL
20108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20111 arg2
= (int) SWIG_AsInt(obj1
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 (arg1
)->SetNoCopies(arg2
);
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20120 Py_INCREF(Py_None
); resultobj
= Py_None
;
20127 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20131 PyObject
* obj0
= 0 ;
20132 PyObject
* obj1
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self",(char *) "flag", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20140 arg2
= (bool) SWIG_AsBool(obj1
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 (arg1
)->SetAllPages(arg2
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 Py_INCREF(Py_None
); resultobj
= Py_None
;
20156 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 char *kwnames
[] = {
20163 (char *) "self",(char *) "flag", NULL
20166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20169 arg2
= (bool) SWIG_AsBool(obj1
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 (arg1
)->SetSelection(arg2
);
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 Py_INCREF(Py_None
); resultobj
= Py_None
;
20185 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20187 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20189 PyObject
* obj0
= 0 ;
20190 PyObject
* obj1
= 0 ;
20191 char *kwnames
[] = {
20192 (char *) "self",(char *) "flag", NULL
20195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20198 arg2
= (bool) SWIG_AsBool(obj1
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20202 (arg1
)->SetCollate(arg2
);
20204 wxPyEndAllowThreads(__tstate
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20207 Py_INCREF(Py_None
); resultobj
= Py_None
;
20214 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20215 PyObject
*resultobj
;
20216 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20218 PyObject
* obj0
= 0 ;
20219 PyObject
* obj1
= 0 ;
20220 char *kwnames
[] = {
20221 (char *) "self",(char *) "flag", NULL
20224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20227 arg2
= (bool) SWIG_AsBool(obj1
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 (arg1
)->SetPrintToFile(arg2
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 Py_INCREF(Py_None
); resultobj
= Py_None
;
20243 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20247 PyObject
* obj0
= 0 ;
20248 PyObject
* obj1
= 0 ;
20249 char *kwnames
[] = {
20250 (char *) "self",(char *) "flag", NULL
20253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20256 arg2
= (bool) SWIG_AsBool(obj1
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->SetSetupDialog(arg2
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 Py_INCREF(Py_None
); resultobj
= Py_None
;
20272 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20276 PyObject
* obj0
= 0 ;
20277 PyObject
* obj1
= 0 ;
20278 char *kwnames
[] = {
20279 (char *) "self",(char *) "flag", NULL
20282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20285 arg2
= (bool) SWIG_AsBool(obj1
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 (arg1
)->EnablePrintToFile(arg2
);
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 Py_INCREF(Py_None
); resultobj
= Py_None
;
20301 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20303 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20305 PyObject
* obj0
= 0 ;
20306 PyObject
* obj1
= 0 ;
20307 char *kwnames
[] = {
20308 (char *) "self",(char *) "flag", NULL
20311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20314 arg2
= (bool) SWIG_AsBool(obj1
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 (arg1
)->EnableSelection(arg2
);
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 Py_INCREF(Py_None
); resultobj
= Py_None
;
20330 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20334 PyObject
* obj0
= 0 ;
20335 PyObject
* obj1
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self",(char *) "flag", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20343 arg2
= (bool) SWIG_AsBool(obj1
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 (arg1
)->EnablePageNumbers(arg2
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 Py_INCREF(Py_None
); resultobj
= Py_None
;
20359 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "flag", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20372 arg2
= (bool) SWIG_AsBool(obj1
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 (arg1
)->EnableHelp(arg2
);
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 Py_INCREF(Py_None
); resultobj
= Py_None
;
20388 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
;
20390 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20392 PyObject
* obj0
= 0 ;
20393 char *kwnames
[] = {
20394 (char *) "self", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20416 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "self", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20444 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
;
20446 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20448 PyObject
* obj0
= 0 ;
20449 char *kwnames
[] = {
20450 (char *) "self", NULL
20453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20472 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
;
20474 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20476 PyObject
* obj0
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20500 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20504 PyObject
* obj0
= 0 ;
20505 char *kwnames
[] = {
20506 (char *) "self", NULL
20509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20528 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
;
20530 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20531 wxPrintData
*result
;
20532 PyObject
* obj0
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20544 result
= (wxPrintData
*) &_result_ref
;
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20557 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20560 wxPrintData
*arg2
= 0 ;
20561 PyObject
* obj0
= 0 ;
20562 PyObject
* obj1
= 0 ;
20563 char *kwnames
[] = {
20564 (char *) "self",(char *) "printData", NULL
20567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20573 if (arg2
== NULL
) {
20574 PyErr_SetString(PyExc_TypeError
,"null reference");
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 Py_INCREF(Py_None
); resultobj
= Py_None
;
20591 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
20593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20594 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20596 return Py_BuildValue((char *)"");
20598 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
;
20600 wxWindow
*arg1
= (wxWindow
*) 0 ;
20601 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20602 wxPrintDialog
*result
;
20603 PyObject
* obj0
= 0 ;
20604 PyObject
* obj1
= 0 ;
20605 char *kwnames
[] = {
20606 (char *) "parent",(char *) "data", NULL
20609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20630 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20633 wxPrintDialogData
*result
;
20634 PyObject
* obj0
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20646 result
= (wxPrintDialogData
*) &_result_ref
;
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20659 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
;
20661 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20663 PyObject
* obj0
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (wxDC
*)(arg1
)->GetPrintDC();
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= wxPyMake_wxObject(result
);
20687 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (int)(arg1
)->ShowModal();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= SWIG_FromInt((int)result
);
20713 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
20715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20716 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
20718 return Py_BuildValue((char *)"");
20720 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20724 PyObject
* obj0
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "data", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (wxPrinter
*)new wxPrinter(arg1
);
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20748 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20751 PyObject
* obj0
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 Py_INCREF(Py_None
); resultobj
= Py_None
;
20773 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
;
20775 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20776 wxWindow
*arg2
= (wxWindow
*) 0 ;
20777 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20780 PyObject
* obj2
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self",(char *) "parent",(char *) "printout", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20790 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 (arg1
)->CreateAbortWindow(arg2
,arg3
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20799 Py_INCREF(Py_None
); resultobj
= Py_None
;
20806 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20807 PyObject
*resultobj
;
20808 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20809 wxPrintDialogData
*result
;
20810 PyObject
* obj0
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "self", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20822 result
= (wxPrintDialogData
*) &_result_ref
;
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20835 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20838 wxWindow
*arg2
= (wxWindow
*) 0 ;
20839 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20840 int arg4
= (int) True
;
20842 PyObject
* obj0
= 0 ;
20843 PyObject
* obj1
= 0 ;
20844 PyObject
* obj2
= 0 ;
20845 PyObject
* obj3
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20855 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20858 arg4
= (int) SWIG_AsInt(obj3
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20877 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
;
20879 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20880 wxWindow
*arg2
= (wxWindow
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 PyObject
* obj1
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self",(char *) "parent", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= wxPyMake_wxObject(result
);
20909 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20912 wxWindow
*arg2
= (wxWindow
*) 0 ;
20913 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20914 wxString
*arg4
= 0 ;
20915 bool temp4
= False
;
20916 PyObject
* obj0
= 0 ;
20917 PyObject
* obj1
= 0 ;
20918 PyObject
* obj2
= 0 ;
20919 PyObject
* obj3
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20932 arg4
= wxString_in_helper(obj3
);
20933 if (arg4
== NULL
) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 Py_INCREF(Py_None
); resultobj
= Py_None
;
20958 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20961 wxWindow
*arg2
= (wxWindow
*) 0 ;
20963 PyObject
* obj0
= 0 ;
20964 PyObject
* obj1
= 0 ;
20965 char *kwnames
[] = {
20966 (char *) "self",(char *) "parent", NULL
20969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
20970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= (bool)(arg1
)->Setup(arg2
);
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20990 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
;
20992 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20994 PyObject
* obj0
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "self", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 result
= (bool)(arg1
)->GetAbort();
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21018 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21021 char *kwnames
[] = {
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (int)wxPrinter::GetLastError();
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_FromInt((int)result
);
21040 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
21042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21043 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21045 return Py_BuildValue((char *)"");
21047 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21049 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21050 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21051 wxPyPrintout
*result
;
21052 bool temp1
= False
;
21053 PyObject
* obj0
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "title", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21061 arg1
= wxString_in_helper(obj0
);
21062 if (arg1
== NULL
) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= wxPyMake_wxObject(result
);
21090 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21093 PyObject
*arg2
= (PyObject
*) 0 ;
21094 PyObject
*arg3
= (PyObject
*) 0 ;
21095 PyObject
* obj0
= 0 ;
21096 PyObject
* obj1
= 0 ;
21097 PyObject
* obj2
= 0 ;
21098 char *kwnames
[] = {
21099 (char *) "self",(char *) "self",(char *) "_class", NULL
21102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 Py_INCREF(Py_None
); resultobj
= Py_None
;
21121 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 char *kwnames
[] = {
21127 (char *) "self", NULL
21130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21153 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
;
21155 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21157 PyObject
* obj0
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "self", NULL
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 result
= (wxDC
*)(arg1
)->GetDC();
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= wxPyMake_wxObject(result
);
21181 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21183 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21184 wxDC
*arg2
= (wxDC
*) 0 ;
21185 PyObject
* obj0
= 0 ;
21186 PyObject
* obj1
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self",(char *) "dc", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 (arg1
)->SetDC(arg2
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 Py_INCREF(Py_None
); resultobj
= Py_None
;
21210 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
;
21212 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21215 PyObject
* obj0
= 0 ;
21216 PyObject
* obj1
= 0 ;
21217 PyObject
* obj2
= 0 ;
21218 char *kwnames
[] = {
21219 (char *) "self",(char *) "w",(char *) "h", NULL
21222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21225 arg2
= (int) SWIG_AsInt(obj1
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21227 arg3
= (int) SWIG_AsInt(obj2
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 Py_INCREF(Py_None
); resultobj
= Py_None
;
21243 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
;
21245 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21246 int *arg2
= (int *) 0 ;
21247 int *arg3
= (int *) 0 ;
21250 PyObject
* obj0
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 Py_INCREF(Py_None
); resultobj
= Py_None
;
21269 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21270 resultobj
= t_output_helper(resultobj
,o
);
21273 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21274 resultobj
= t_output_helper(resultobj
,o
);
21282 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21287 PyObject
* obj0
= 0 ;
21288 PyObject
* obj1
= 0 ;
21289 PyObject
* obj2
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self",(char *) "w",(char *) "h", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21297 arg2
= (int) SWIG_AsInt(obj1
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21299 arg3
= (int) SWIG_AsInt(obj2
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 Py_INCREF(Py_None
); resultobj
= Py_None
;
21315 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21318 int *arg2
= (int *) 0 ;
21319 int *arg3
= (int *) 0 ;
21322 PyObject
* obj0
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 Py_INCREF(Py_None
); resultobj
= Py_None
;
21341 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21342 resultobj
= t_output_helper(resultobj
,o
);
21345 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21346 resultobj
= t_output_helper(resultobj
,o
);
21354 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
;
21356 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21359 PyObject
* obj0
= 0 ;
21360 PyObject
* obj1
= 0 ;
21361 PyObject
* obj2
= 0 ;
21362 char *kwnames
[] = {
21363 (char *) "self",(char *) "x",(char *) "y", NULL
21366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21369 arg2
= (int) SWIG_AsInt(obj1
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21371 arg3
= (int) SWIG_AsInt(obj2
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 (arg1
)->SetPPIScreen(arg2
,arg3
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 Py_INCREF(Py_None
); resultobj
= Py_None
;
21387 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21390 int *arg2
= (int *) 0 ;
21391 int *arg3
= (int *) 0 ;
21394 PyObject
* obj0
= 0 ;
21395 char *kwnames
[] = {
21396 (char *) "self", NULL
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 (arg1
)->GetPPIScreen(arg2
,arg3
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 Py_INCREF(Py_None
); resultobj
= Py_None
;
21413 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21414 resultobj
= t_output_helper(resultobj
,o
);
21417 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21418 resultobj
= t_output_helper(resultobj
,o
);
21426 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 PyObject
* obj2
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self",(char *) "x",(char *) "y", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21441 arg2
= (int) SWIG_AsInt(obj1
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21443 arg3
= (int) SWIG_AsInt(obj2
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21449 wxPyEndAllowThreads(__tstate
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 Py_INCREF(Py_None
); resultobj
= Py_None
;
21459 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21460 PyObject
*resultobj
;
21461 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21462 int *arg2
= (int *) 0 ;
21463 int *arg3
= (int *) 0 ;
21466 PyObject
* obj0
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "self", NULL
21473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 Py_INCREF(Py_None
); resultobj
= Py_None
;
21485 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21486 resultobj
= t_output_helper(resultobj
,o
);
21489 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21490 resultobj
= t_output_helper(resultobj
,o
);
21498 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21502 PyObject
* obj0
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (bool)(arg1
)->IsPreview();
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21526 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21530 PyObject
* obj0
= 0 ;
21531 PyObject
* obj1
= 0 ;
21532 char *kwnames
[] = {
21533 (char *) "self",(char *) "p", NULL
21536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21539 arg2
= (bool) SWIG_AsBool(obj1
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 (arg1
)->SetIsPreview(arg2
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 Py_INCREF(Py_None
); resultobj
= Py_None
;
21555 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21561 PyObject
* obj0
= 0 ;
21562 PyObject
* obj1
= 0 ;
21563 PyObject
* obj2
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21571 arg2
= (int) SWIG_AsInt(obj1
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21573 arg3
= (int) SWIG_AsInt(obj2
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21591 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 char *kwnames
[] = {
21596 (char *) "self", NULL
21599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 (arg1
)->base_OnEndDocument();
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 Py_INCREF(Py_None
); resultobj
= Py_None
;
21616 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
;
21618 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "self", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 (arg1
)->base_OnBeginPrinting();
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 Py_INCREF(Py_None
); resultobj
= Py_None
;
21641 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 (arg1
)->base_OnEndPrinting();
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 Py_INCREF(Py_None
); resultobj
= Py_None
;
21666 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21669 PyObject
* obj0
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
21675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 (arg1
)->base_OnPreparePrinting();
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 Py_INCREF(Py_None
); resultobj
= Py_None
;
21691 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21696 PyObject
* obj0
= 0 ;
21697 PyObject
* obj1
= 0 ;
21698 char *kwnames
[] = {
21699 (char *) "self",(char *) "page", NULL
21702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21705 arg2
= (int) SWIG_AsInt(obj1
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= (bool)(arg1
)->base_HasPage(arg2
);
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21723 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
;
21725 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21726 int *arg2
= (int *) 0 ;
21727 int *arg3
= (int *) 0 ;
21728 int *arg4
= (int *) 0 ;
21729 int *arg5
= (int *) 0 ;
21734 PyObject
* obj0
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21750 wxPyEndAllowThreads(__tstate
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21753 Py_INCREF(Py_None
); resultobj
= Py_None
;
21755 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21756 resultobj
= t_output_helper(resultobj
,o
);
21759 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21760 resultobj
= t_output_helper(resultobj
,o
);
21763 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21764 resultobj
= t_output_helper(resultobj
,o
);
21767 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21768 resultobj
= t_output_helper(resultobj
,o
);
21776 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
21778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21779 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
21781 return Py_BuildValue((char *)"");
21783 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21786 wxWindow
*arg2
= (wxWindow
*) 0 ;
21787 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21788 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21789 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21790 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21791 long arg5
= (long) 0 ;
21792 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
21793 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21794 wxPreviewCanvas
*result
;
21797 bool temp6
= False
;
21798 PyObject
* obj0
= 0 ;
21799 PyObject
* obj1
= 0 ;
21800 PyObject
* obj2
= 0 ;
21801 PyObject
* obj3
= 0 ;
21802 PyObject
* obj4
= 0 ;
21803 PyObject
* obj5
= 0 ;
21804 char *kwnames
[] = {
21805 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21822 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21826 arg5
= (long) SWIG_AsLong(obj4
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21831 arg6
= wxString_in_helper(obj5
);
21832 if (arg6
== NULL
) SWIG_fail
;
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21840 wxPyEndAllowThreads(__tstate
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
21858 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
21860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21861 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
21863 return Py_BuildValue((char *)"");
21865 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
;
21867 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21868 wxFrame
*arg2
= (wxFrame
*) 0 ;
21869 wxString
*arg3
= 0 ;
21870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21874 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21875 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21877 wxPreviewFrame
*result
;
21878 bool temp3
= False
;
21881 bool temp7
= False
;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 PyObject
* obj2
= 0 ;
21885 PyObject
* obj3
= 0 ;
21886 PyObject
* obj4
= 0 ;
21887 PyObject
* obj5
= 0 ;
21888 PyObject
* obj6
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21899 arg3
= wxString_in_helper(obj2
);
21900 if (arg3
== NULL
) SWIG_fail
;
21906 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21912 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21916 arg6
= (long) SWIG_AsLong(obj5
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21921 arg7
= wxString_in_helper(obj6
);
21922 if (arg7
== NULL
) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
21956 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21958 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 (arg1
)->Initialize();
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 Py_INCREF(Py_None
); resultobj
= Py_None
;
21981 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
;
21983 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21984 PyObject
* obj0
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
21990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 (arg1
)->CreateControlBar();
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 Py_INCREF(Py_None
); resultobj
= Py_None
;
22006 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22007 PyObject
*resultobj
;
22008 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22009 PyObject
* obj0
= 0 ;
22010 char *kwnames
[] = {
22011 (char *) "self", NULL
22014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 (arg1
)->CreateCanvas();
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 Py_INCREF(Py_None
); resultobj
= Py_None
;
22031 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22034 wxPreviewControlBar
*result
;
22035 PyObject
* obj0
= 0 ;
22036 char *kwnames
[] = {
22037 (char *) "self", NULL
22040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22057 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
22059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22060 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22062 return Py_BuildValue((char *)"");
22064 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22068 wxWindow
*arg3
= (wxWindow
*) 0 ;
22069 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22070 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22071 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22072 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22073 long arg6
= (long) wxTAB_TRAVERSAL
;
22074 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22075 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22076 wxPreviewControlBar
*result
;
22079 bool temp7
= False
;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 PyObject
* obj2
= 0 ;
22083 PyObject
* obj3
= 0 ;
22084 PyObject
* obj4
= 0 ;
22085 PyObject
* obj5
= 0 ;
22086 PyObject
* obj6
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 arg2
= (long) SWIG_AsLong(obj1
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22096 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22101 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22107 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22111 arg6
= (long) SWIG_AsLong(obj5
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22116 arg7
= wxString_in_helper(obj6
);
22117 if (arg7
== NULL
) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22143 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "self", NULL
22152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= (int)(arg1
)->GetZoomControl();
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_FromInt((int)result
);
22169 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22173 PyObject
* obj0
= 0 ;
22174 PyObject
* obj1
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self",(char *) "zoom", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22182 arg2
= (int) SWIG_AsInt(obj1
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 (arg1
)->SetZoomControl(arg2
);
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 Py_INCREF(Py_None
); resultobj
= Py_None
;
22198 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22201 wxPrintPreview
*result
;
22202 PyObject
* obj0
= 0 ;
22203 char *kwnames
[] = {
22204 (char *) "self", NULL
22207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22224 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 Py_INCREF(Py_None
); resultobj
= Py_None
;
22249 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22252 PyObject
* obj0
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 (arg1
)->OnPrevious();
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 Py_INCREF(Py_None
); resultobj
= Py_None
;
22274 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 Py_INCREF(Py_None
); resultobj
= Py_None
;
22299 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 Py_INCREF(Py_None
); resultobj
= Py_None
;
22324 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 Py_INCREF(Py_None
); resultobj
= Py_None
;
22349 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
22351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22352 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22354 return Py_BuildValue((char *)"");
22356 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
22357 PyObject
*resultobj
;
22358 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22359 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22360 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22361 wxPrintPreview
*result
;
22362 PyObject
* obj0
= 0 ;
22363 PyObject
* obj1
= 0 ;
22364 PyObject
* obj2
= 0 ;
22366 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22372 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22389 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
22390 PyObject
*resultobj
;
22391 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22392 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22393 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22394 wxPrintPreview
*result
;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 PyObject
* obj2
= 0 ;
22399 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22404 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22420 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22425 argc
= PyObject_Length(args
);
22426 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22427 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22429 if ((argc
>= 2) && (argc
<= 3)) {
22433 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22443 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22452 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22456 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22464 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22473 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22483 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22493 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22501 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22507 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22512 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22517 PyObject
* obj0
= 0 ;
22518 PyObject
* obj1
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self",(char *) "pageNum", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22526 arg2
= (int) SWIG_AsInt(obj1
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22544 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22558 result
= (int)(arg1
)->GetCurrentPage();
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 resultobj
= SWIG_FromInt((int)result
);
22570 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
;
22572 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22573 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 PyObject
* obj1
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self",(char *) "printout", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 (arg1
)->SetPrintout(arg2
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 Py_INCREF(Py_None
); resultobj
= Py_None
;
22599 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22602 wxPyPrintout
*result
;
22603 PyObject
* obj0
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22619 resultobj
= wxPyMake_wxObject(result
);
22627 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22630 wxPyPrintout
*result
;
22631 PyObject
* obj0
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= wxPyMake_wxObject(result
);
22655 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22656 PyObject
*resultobj
;
22657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22658 wxFrame
*arg2
= (wxFrame
*) 0 ;
22659 PyObject
* obj0
= 0 ;
22660 PyObject
* obj1
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self",(char *) "frame", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 (arg1
)->SetFrame(arg2
);
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 Py_INCREF(Py_None
); resultobj
= Py_None
;
22684 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22687 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 PyObject
* obj1
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "self",(char *) "canvas", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 (arg1
)->SetCanvas(arg2
);
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 Py_INCREF(Py_None
); resultobj
= Py_None
;
22713 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
;
22715 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22717 PyObject
* obj0
= 0 ;
22718 char *kwnames
[] = {
22719 (char *) "self", NULL
22722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 result
= (wxFrame
*)(arg1
)->GetFrame();
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22733 resultobj
= wxPyMake_wxObject(result
);
22741 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
;
22743 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22744 wxPreviewCanvas
*result
;
22745 PyObject
* obj0
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "self", NULL
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22767 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22770 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 PyObject
* obj2
= 0 ;
22776 char *kwnames
[] = {
22777 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22785 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22788 if (arg3
== NULL
) {
22789 PyErr_SetString(PyExc_TypeError
,"null reference");
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22808 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
;
22810 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22811 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22814 PyObject
* obj0
= 0 ;
22815 PyObject
* obj1
= 0 ;
22816 PyObject
* obj2
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22826 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22829 if (arg3
== NULL
) {
22830 PyErr_SetString(PyExc_TypeError
,"null reference");
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22849 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22854 PyObject
* obj0
= 0 ;
22855 PyObject
* obj1
= 0 ;
22856 char *kwnames
[] = {
22857 (char *) "self",(char *) "pageNum", NULL
22860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22863 arg2
= (int) SWIG_AsInt(obj1
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 result
= (bool)(arg1
)->RenderPage(arg2
);
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22881 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22882 PyObject
*resultobj
;
22883 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22884 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22885 PyObject
* obj0
= 0 ;
22886 PyObject
* obj1
= 0 ;
22887 char *kwnames
[] = {
22888 (char *) "self",(char *) "canvas", NULL
22891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
22892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 (arg1
)->AdjustScrollbars(arg2
);
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 Py_INCREF(Py_None
); resultobj
= Py_None
;
22910 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22913 wxPrintDialogData
*result
;
22914 PyObject
* obj0
= 0 ;
22915 char *kwnames
[] = {
22916 (char *) "self", NULL
22919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22926 result
= (wxPrintDialogData
*) &_result_ref
;
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22939 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22940 PyObject
*resultobj
;
22941 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22943 PyObject
* obj0
= 0 ;
22944 PyObject
* obj1
= 0 ;
22945 char *kwnames
[] = {
22946 (char *) "self",(char *) "percent", NULL
22949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22952 arg2
= (int) SWIG_AsInt(obj1
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 (arg1
)->SetZoom(arg2
);
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 Py_INCREF(Py_None
); resultobj
= Py_None
;
22968 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
;
22970 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22972 PyObject
* obj0
= 0 ;
22973 char *kwnames
[] = {
22974 (char *) "self", NULL
22977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
22978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 result
= (int)(arg1
)->GetZoom();
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= SWIG_FromInt((int)result
);
22994 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
;
22996 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22998 PyObject
* obj0
= 0 ;
22999 char *kwnames
[] = {
23000 (char *) "self", NULL
23003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= (int)(arg1
)->GetMaxPage();
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_FromInt((int)result
);
23020 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23024 PyObject
* obj0
= 0 ;
23025 char *kwnames
[] = {
23026 (char *) "self", NULL
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 result
= (int)(arg1
)->GetMinPage();
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= SWIG_FromInt((int)result
);
23046 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
;
23048 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 char *kwnames
[] = {
23052 (char *) "self", NULL
23055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 result
= (bool)(arg1
)->Ok();
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23074 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23075 PyObject
*resultobj
;
23076 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23078 PyObject
* obj0
= 0 ;
23079 PyObject
* obj1
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "self",(char *) "ok", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23087 arg2
= (bool) SWIG_AsBool(obj1
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 (arg1
)->SetOk(arg2
);
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 Py_INCREF(Py_None
); resultobj
= Py_None
;
23103 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
;
23105 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23108 PyObject
* obj0
= 0 ;
23109 PyObject
* obj1
= 0 ;
23110 char *kwnames
[] = {
23111 (char *) "self",(char *) "interactive", NULL
23114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23117 arg2
= (bool) SWIG_AsBool(obj1
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 result
= (bool)(arg1
)->Print(arg2
);
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23135 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
;
23137 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23138 PyObject
* obj0
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 (arg1
)->DetermineScaling();
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 Py_INCREF(Py_None
); resultobj
= Py_None
;
23160 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
23162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23163 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23165 return Py_BuildValue((char *)"");
23167 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23168 PyObject
*resultobj
;
23169 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23170 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23171 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23172 wxPyPrintPreview
*result
;
23173 PyObject
* obj0
= 0 ;
23174 PyObject
* obj1
= 0 ;
23175 PyObject
* obj2
= 0 ;
23177 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23183 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23200 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23201 PyObject
*resultobj
;
23202 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23203 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23204 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23205 wxPyPrintPreview
*result
;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj1
= 0 ;
23208 PyObject
* obj2
= 0 ;
23210 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23215 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23231 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23236 argc
= PyObject_Length(args
);
23237 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23238 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23240 if ((argc
>= 2) && (argc
<= 3)) {
23244 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23254 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23263 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23267 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23275 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23284 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23294 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23304 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23312 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23318 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23323 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
;
23325 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23326 PyObject
*arg2
= (PyObject
*) 0 ;
23327 PyObject
*arg3
= (PyObject
*) 0 ;
23328 PyObject
* obj0
= 0 ;
23329 PyObject
* obj1
= 0 ;
23330 PyObject
* obj2
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self",(char *) "self",(char *) "_class", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 Py_INCREF(Py_None
); resultobj
= Py_None
;
23354 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
;
23356 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23359 PyObject
* obj0
= 0 ;
23360 PyObject
* obj1
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self",(char *) "pageNum", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23368 arg2
= (int) SWIG_AsInt(obj1
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23386 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23389 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23392 PyObject
* obj0
= 0 ;
23393 PyObject
* obj1
= 0 ;
23394 PyObject
* obj2
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23404 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23407 if (arg3
== NULL
) {
23408 PyErr_SetString(PyExc_TypeError
,"null reference");
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23427 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23429 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23430 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23433 PyObject
* obj0
= 0 ;
23434 PyObject
* obj1
= 0 ;
23435 PyObject
* obj2
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23445 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23448 if (arg3
== NULL
) {
23449 PyErr_SetString(PyExc_TypeError
,"null reference");
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23468 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23473 PyObject
* obj0
= 0 ;
23474 PyObject
* obj1
= 0 ;
23475 char *kwnames
[] = {
23476 (char *) "self",(char *) "pageNum", NULL
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23482 arg2
= (int) SWIG_AsInt(obj1
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23500 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23504 PyObject
* obj0
= 0 ;
23505 PyObject
* obj1
= 0 ;
23506 char *kwnames
[] = {
23507 (char *) "self",(char *) "percent", NULL
23510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23513 arg2
= (int) SWIG_AsInt(obj1
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 (arg1
)->base_SetZoom(arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 Py_INCREF(Py_None
); resultobj
= Py_None
;
23529 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23534 PyObject
* obj0
= 0 ;
23535 PyObject
* obj1
= 0 ;
23536 char *kwnames
[] = {
23537 (char *) "self",(char *) "interactive", NULL
23540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23543 arg2
= (bool) SWIG_AsBool(obj1
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 result
= (bool)(arg1
)->base_Print(arg2
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23561 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23564 PyObject
* obj0
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "self", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 (arg1
)->base_DetermineScaling();
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 Py_INCREF(Py_None
); resultobj
= Py_None
;
23586 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
23588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23589 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23591 return Py_BuildValue((char *)"");
23593 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
;
23595 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23596 wxFrame
*arg2
= (wxFrame
*) 0 ;
23597 wxString
*arg3
= 0 ;
23598 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23599 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23600 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23601 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23602 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23603 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23604 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23605 wxPyPreviewFrame
*result
;
23606 bool temp3
= False
;
23609 bool temp7
= False
;
23610 PyObject
* obj0
= 0 ;
23611 PyObject
* obj1
= 0 ;
23612 PyObject
* obj2
= 0 ;
23613 PyObject
* obj3
= 0 ;
23614 PyObject
* obj4
= 0 ;
23615 PyObject
* obj5
= 0 ;
23616 PyObject
* obj6
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23627 arg3
= wxString_in_helper(obj2
);
23628 if (arg3
== NULL
) SWIG_fail
;
23634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23644 arg6
= (long) SWIG_AsLong(obj5
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23649 arg7
= wxString_in_helper(obj6
);
23650 if (arg7
== NULL
) SWIG_fail
;
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
23684 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
;
23686 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23687 PyObject
*arg2
= (PyObject
*) 0 ;
23688 PyObject
*arg3
= (PyObject
*) 0 ;
23689 PyObject
* obj0
= 0 ;
23690 PyObject
* obj1
= 0 ;
23691 PyObject
* obj2
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self",(char *) "self",(char *) "_class", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23715 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23718 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self",(char *) "canvas", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 (arg1
)->SetPreviewCanvas(arg2
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 Py_INCREF(Py_None
); resultobj
= Py_None
;
23744 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23747 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23748 PyObject
* obj0
= 0 ;
23749 PyObject
* obj1
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self",(char *) "bar", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 (arg1
)->SetControlBar(arg2
);
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 Py_INCREF(Py_None
); resultobj
= Py_None
;
23773 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23776 PyObject
* obj0
= 0 ;
23777 char *kwnames
[] = {
23778 (char *) "self", NULL
23781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
23782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 (arg1
)->base_Initialize();
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 Py_INCREF(Py_None
); resultobj
= Py_None
;
23798 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23799 PyObject
*resultobj
;
23800 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23801 PyObject
* obj0
= 0 ;
23802 char *kwnames
[] = {
23803 (char *) "self", NULL
23806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 (arg1
)->base_CreateCanvas();
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 Py_INCREF(Py_None
); resultobj
= Py_None
;
23823 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23826 PyObject
* obj0
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "self", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 (arg1
)->base_CreateControlBar();
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 Py_INCREF(Py_None
); resultobj
= Py_None
;
23848 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23851 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
23853 return Py_BuildValue((char *)"");
23855 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
;
23857 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23859 wxWindow
*arg3
= (wxWindow
*) 0 ;
23860 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23861 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23862 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23863 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23864 long arg6
= (long) 0 ;
23865 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23866 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23867 wxPyPreviewControlBar
*result
;
23870 bool temp7
= False
;
23871 PyObject
* obj0
= 0 ;
23872 PyObject
* obj1
= 0 ;
23873 PyObject
* obj2
= 0 ;
23874 PyObject
* obj3
= 0 ;
23875 PyObject
* obj4
= 0 ;
23876 PyObject
* obj5
= 0 ;
23877 PyObject
* obj6
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 arg2
= (long) SWIG_AsLong(obj1
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23887 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23902 arg6
= (long) SWIG_AsLong(obj5
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23907 arg7
= wxString_in_helper(obj6
);
23908 if (arg7
== NULL
) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
23934 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23936 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23937 PyObject
*arg2
= (PyObject
*) 0 ;
23938 PyObject
*arg3
= (PyObject
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 PyObject
* obj2
= 0 ;
23942 char *kwnames
[] = {
23943 (char *) "self",(char *) "self",(char *) "_class", NULL
23946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 Py_INCREF(Py_None
); resultobj
= Py_None
;
23965 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23968 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 PyObject
* obj1
= 0 ;
23971 char *kwnames
[] = {
23972 (char *) "self",(char *) "preview", NULL
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
23976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
23979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 (arg1
)->SetPrintPreview(arg2
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 Py_INCREF(Py_None
); resultobj
= Py_None
;
23994 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23997 PyObject
* obj0
= 0 ;
23998 char *kwnames
[] = {
23999 (char *) "self", NULL
24002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->base_CreateButtons();
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "zoom", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 arg2
= (int) SWIG_AsInt(obj1
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 (arg1
)->base_SetZoomControl(arg2
);
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 Py_INCREF(Py_None
); resultobj
= Py_None
;
24048 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
24050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24051 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24053 return Py_BuildValue((char *)"");
24055 static PyMethodDef SwigMethods
[] = {
24056 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24057 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24058 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24059 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24060 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
24061 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24062 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24063 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24064 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24065 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24066 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24067 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24068 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24069 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24070 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24071 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24072 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24073 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24074 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24075 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
24076 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
24077 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24078 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24079 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24080 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24081 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24082 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24083 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
24084 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24085 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24086 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24087 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24088 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24089 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24090 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24091 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24092 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24093 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24094 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24095 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24096 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24097 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24098 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24099 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
24100 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24101 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24102 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24103 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24104 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24105 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24106 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24107 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24108 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24109 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24110 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24111 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24112 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24113 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24114 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24115 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24116 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24117 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24118 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24119 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24120 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24121 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24122 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
24123 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24124 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24125 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24126 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24127 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24128 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24129 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24130 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24131 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24132 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24133 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24134 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
24135 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24136 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24137 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24138 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
24139 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24140 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24141 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24142 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
24143 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24144 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24145 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24146 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24147 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
24148 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24149 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24150 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24151 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24152 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24153 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24154 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24155 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24156 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24157 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24158 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24159 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24160 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24161 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24162 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
24163 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24164 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24165 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24166 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24167 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24168 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24169 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24170 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24171 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24172 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24173 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24174 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24175 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24176 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24177 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24178 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24179 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24180 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24181 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24182 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24183 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24184 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24185 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24186 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24187 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24188 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24189 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
24190 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24191 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24192 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24193 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24194 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24195 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24196 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
24197 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24198 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24199 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24200 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24201 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24202 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24203 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24204 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24205 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24206 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24207 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24208 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24209 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24210 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24211 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24212 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24213 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24214 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24215 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24216 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24217 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24218 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24219 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
24220 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24221 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24222 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24223 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24224 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24225 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24226 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24227 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
24228 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24229 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24230 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24231 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24232 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24233 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24234 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24235 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24236 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24237 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24238 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24239 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
24240 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24241 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24242 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24243 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24244 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24245 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
24246 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24247 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24248 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24249 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24250 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24251 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24252 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24253 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24254 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
24255 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24256 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24257 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24258 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24259 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24260 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
24261 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24262 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24263 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
24264 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24265 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24266 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
24267 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24268 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24269 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24270 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
24271 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24272 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24273 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24274 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24275 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24276 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24277 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24278 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24279 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24280 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24281 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24282 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24283 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24284 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24285 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24286 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24287 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24288 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
24289 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24290 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24291 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24292 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24293 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24294 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24295 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24296 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24297 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24298 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24299 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24300 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24301 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24302 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24303 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24304 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24305 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24306 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24307 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24308 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24309 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24310 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24311 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24312 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24313 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24314 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
24315 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24316 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24317 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24318 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24319 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24320 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24321 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
24322 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24323 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24324 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24325 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
24326 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24327 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
24328 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24329 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24330 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24331 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24332 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24333 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24334 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24335 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24336 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
24337 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24338 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24339 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
24340 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24341 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24342 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24343 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24344 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24345 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24346 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
24347 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24348 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24349 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24350 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24351 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24352 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24353 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24354 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24355 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24356 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24357 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24358 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24359 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24360 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24361 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24362 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24363 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24364 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
24365 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24366 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24367 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24368 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
24369 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24370 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24371 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24372 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24373 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
24374 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24375 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24376 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24377 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
24378 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24379 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24380 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24381 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24382 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24383 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24384 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24385 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24386 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24387 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24388 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24389 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24390 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24391 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24392 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24393 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
24394 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24395 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24396 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
24397 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24398 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
24399 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24400 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24401 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24402 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
24403 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24404 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24405 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24406 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24407 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24408 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24409 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24410 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24411 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
24412 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24413 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24414 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24415 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24416 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24417 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24418 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24419 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24420 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
24421 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24422 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24423 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24424 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24425 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24426 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
24427 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24428 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24429 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24430 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24431 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24432 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24433 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24434 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24435 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24436 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24437 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24438 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
24439 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24440 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24441 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24442 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24443 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24444 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24445 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
24446 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24447 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24448 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24449 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
24450 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24451 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24452 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24453 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24454 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24455 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24456 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24457 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24458 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24459 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24460 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24461 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24462 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24463 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24464 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24465 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24466 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24467 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24468 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24469 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24470 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24471 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24472 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24473 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
24474 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24475 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24476 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24477 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24478 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24479 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24480 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24481 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24482 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24483 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24484 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24485 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24486 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24487 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24488 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24489 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24490 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24491 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24492 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24493 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24494 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24495 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24496 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24497 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
24498 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24499 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24500 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24501 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24502 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24503 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24504 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24505 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24506 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24507 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24508 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24509 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24510 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24511 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24512 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24513 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24514 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24515 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24516 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24517 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24518 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24519 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24520 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24521 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
24522 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24523 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24524 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24525 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24526 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24527 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24528 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24529 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24530 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24531 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24532 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24533 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24534 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24535 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24536 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24537 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24538 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24539 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24540 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24541 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24542 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24543 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24544 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24545 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24546 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24547 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24548 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24549 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24550 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24551 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24552 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24553 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24554 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24555 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24556 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24557 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24558 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24559 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24560 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24561 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24562 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24563 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24564 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24565 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24566 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24567 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
24568 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24569 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24570 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24571 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24572 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24573 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24574 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24575 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24576 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24577 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24578 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24579 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24580 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24581 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24582 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24583 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24584 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24585 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24586 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24587 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24588 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24589 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24590 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24591 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24592 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24593 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24594 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24595 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24596 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24597 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24598 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24599 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
24600 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24601 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24602 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24603 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
24604 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
24605 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24606 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24607 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24608 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24609 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24610 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24611 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24612 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24613 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24614 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24615 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24616 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24617 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24618 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24619 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24620 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24621 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24622 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24623 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24624 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24625 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24626 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24627 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24628 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24629 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24630 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24631 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24632 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24633 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24634 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24635 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24636 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24637 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
24638 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24639 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24640 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24641 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24642 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
24643 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24644 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24645 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24646 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24647 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24648 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24649 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24650 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24651 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24652 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24653 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
24654 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24655 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24656 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24657 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24658 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24659 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24660 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24661 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24662 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24663 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24664 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24665 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24666 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24667 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24668 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24669 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24670 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24671 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24672 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24673 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24674 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24675 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24676 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
24677 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24678 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
24679 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24680 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24681 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24682 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24683 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24684 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
24685 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24686 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24687 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24688 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24689 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24690 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24691 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24692 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24693 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24694 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
24695 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
24696 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24697 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24698 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24699 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24700 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24701 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24702 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24703 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24704 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24705 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24706 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24707 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24708 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24709 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24710 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24711 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24712 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24713 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24714 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24715 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24716 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24717 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24718 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
24719 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
24720 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24721 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24722 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24723 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24724 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24725 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24726 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24727 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24728 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
24729 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24730 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24731 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24732 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24733 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24734 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24735 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24736 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
24737 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24738 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24739 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24740 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24741 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24742 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
24743 { NULL
, NULL
, 0, NULL
}
24747 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24749 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24750 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24752 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24753 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24755 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24756 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24758 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24759 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24761 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24762 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24764 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24765 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24767 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24768 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24770 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24771 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24773 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
24774 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
24776 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
24777 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
24779 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
24780 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24782 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
24783 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
24785 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
24786 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24788 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
24789 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24791 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
24792 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
24794 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
24795 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24797 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
24798 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24800 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
24801 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
24803 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
24804 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
24806 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
24807 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
24809 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
24810 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
24812 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
24813 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
24815 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
24816 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
24818 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
24819 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
24821 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
24822 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24824 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
24825 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
24827 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
24828 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
24830 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
24831 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
24833 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
24834 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
24836 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
24837 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
24839 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
24840 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
24842 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
24843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24845 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
24846 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
24848 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
24849 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
24851 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
24852 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
24854 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
24855 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
24857 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
24858 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24860 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
24861 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24863 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
24864 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
24866 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
24867 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
24869 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
24870 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
24872 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
24873 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
24875 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
24876 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24878 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
24879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24881 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
24882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24884 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
24885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
24887 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
24888 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
24890 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
24891 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
24893 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
24894 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
24896 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
24897 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
24899 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
24900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24902 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
24903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24905 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
24906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24908 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
24909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24911 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
24912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24914 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
24915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24917 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
24918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24920 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
24921 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
24923 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
24924 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
24926 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
24927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24929 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
24930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
24932 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
24933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24935 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
24936 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
24938 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
24939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24941 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
24942 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
24944 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
24945 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
24947 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
24948 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
24950 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
24951 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
24953 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
24954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24956 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
24957 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
24959 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
24960 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
24962 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
24963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
24965 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
24966 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
24968 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
24969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24971 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
24972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24974 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
24975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24977 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
24978 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
24980 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
24981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24983 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
24984 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
24986 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
24987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24989 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
24990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24992 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
24993 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24995 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24998 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25001 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25002 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25004 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25007 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25010 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25013 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25016 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25019 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25022 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25025 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25028 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25029 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25031 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25032 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25034 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25035 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25037 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
25038 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
25040 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25041 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25043 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25044 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25046 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25047 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25049 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25050 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25052 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25053 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25055 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25056 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25058 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25059 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25061 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25064 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25067 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25068 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25070 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25071 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25073 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25074 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25076 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25077 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25079 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25080 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25082 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25083 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25085 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25086 return (void *)((wxObject
*) ((wxSizer
*) x
));
25088 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25089 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25091 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25092 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25094 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25097 static void *_p_wxEventTo_p_wxObject(void *x
) {
25098 return (void *)((wxObject
*) ((wxEvent
*) x
));
25100 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25101 return (void *)((wxObject
*) ((wxFontData
*) x
));
25103 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25104 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25106 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25107 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25109 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25110 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25112 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25113 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25115 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25116 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25118 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25119 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25121 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25122 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25124 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25125 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25127 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25128 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25130 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25131 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25133 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25134 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25136 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25137 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25139 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25140 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25142 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25145 static void *_p_wxControlTo_p_wxObject(void *x
) {
25146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25148 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25149 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25151 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25152 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25154 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25155 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25157 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25158 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25160 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25161 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25163 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25166 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25167 return (void *)((wxObject
*) ((wxColourData
*) x
));
25169 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25170 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25172 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25173 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25175 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25178 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25181 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25184 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25187 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25190 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25193 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25196 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25199 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25202 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25203 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25205 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25206 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25208 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25209 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25211 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25212 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25214 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25215 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25217 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25218 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25220 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25221 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25223 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25224 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25226 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25227 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25229 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25230 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25232 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25233 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25235 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25236 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25238 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25239 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25241 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25242 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25244 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25245 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25247 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25248 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25250 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25251 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25253 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25254 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25256 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25257 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25259 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25260 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25262 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25265 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25266 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25268 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25269 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25271 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25272 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25274 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25275 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25277 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25280 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25283 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25284 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25286 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25289 static void *_p_wxImageTo_p_wxObject(void *x
) {
25290 return (void *)((wxObject
*) ((wxImage
*) x
));
25292 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25295 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25296 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25298 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25299 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25301 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25302 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25304 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25307 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25310 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25313 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25314 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25316 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25317 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25319 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25320 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25322 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25323 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25325 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25328 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25331 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25334 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25337 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25340 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25343 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25346 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25349 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25352 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25355 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25358 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25361 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25364 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25367 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25368 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25370 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25371 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25373 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25376 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25379 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25382 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25385 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25388 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25391 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25394 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25395 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25397 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25400 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25401 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25403 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25404 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25406 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25407 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25409 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25410 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25412 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25413 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25415 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25418 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25419 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25421 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25424 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25427 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25428 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25430 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25431 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25433 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25436 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25439 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25440 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25442 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25443 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25445 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25448 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25449 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25451 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25452 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25454 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25455 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25457 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25458 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25460 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25461 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25463 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25464 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25466 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25467 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25469 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25470 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25472 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25473 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25475 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25476 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25478 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25479 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25481 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25482 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25484 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25485 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25487 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25488 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25490 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
25491 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
25493 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25494 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25496 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25497 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25499 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25500 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25502 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25503 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25505 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25506 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25508 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25509 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25511 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25512 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25514 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25515 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25517 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25518 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25520 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25521 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25523 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25524 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25526 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25527 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25529 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25530 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25532 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25533 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25535 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25536 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25538 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25539 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25541 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25544 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25545 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25547 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25550 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25553 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25554 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25556 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25557 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25559 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25560 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25562 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25563 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25565 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25566 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25568 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25569 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25571 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25572 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25574 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25575 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25577 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25578 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25580 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25581 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25583 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25584 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25586 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25587 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25589 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25590 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25592 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25593 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25595 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25596 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25598 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25599 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25601 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25602 return (void *)((wxWindow
*) ((wxControl
*) x
));
25604 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25605 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25607 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25608 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25610 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25611 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25613 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25614 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25616 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25617 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25619 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25620 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25622 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25623 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25625 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25626 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25628 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25629 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25631 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25632 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25634 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25635 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25637 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25638 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25640 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25641 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25643 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25644 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25646 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25647 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25649 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25650 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25652 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25653 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25655 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25656 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25658 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25659 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25661 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
25662 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25664 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
25665 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25667 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
25668 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
25670 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
25671 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
25673 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
25674 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
25676 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
25677 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
25679 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
25680 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
25682 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
25683 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
25685 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
25686 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25688 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
25689 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25691 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
25692 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
25694 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
25695 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
25697 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
25698 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
25700 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
25701 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
25703 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
25704 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25706 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
25707 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25709 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
25710 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25712 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
25713 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25715 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
25716 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
25718 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
25719 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25721 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
25722 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
25724 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
25725 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25727 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
25728 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25730 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
25731 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
25733 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
25734 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25736 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
25737 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25739 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
25740 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25742 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
25743 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25745 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
25746 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25748 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
25749 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25751 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
25752 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25754 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25755 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25757 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25758 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25760 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25761 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25763 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}};
25764 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}};
25765 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}};
25766 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}};
25767 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}};
25768 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}};
25769 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}};
25770 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}};
25771 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}};
25772 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}};
25773 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}};
25774 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}};
25775 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}};
25776 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}};
25777 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}};
25778 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}};
25779 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}};
25780 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}};
25781 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}};
25782 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}};
25783 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}};
25784 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}};
25785 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}};
25786 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}};
25787 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}};
25788 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}};
25789 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}};
25790 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}};
25791 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}};
25792 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}};
25793 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}};
25794 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}};
25795 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}};
25796 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}};
25797 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}};
25798 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}};
25799 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}};
25800 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}};
25801 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}};
25802 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}};
25803 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}};
25804 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}};
25805 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}};
25806 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}};
25807 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}};
25808 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}};
25809 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}};
25810 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}};
25811 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}};
25812 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}};
25813 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}};
25814 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}};
25815 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}};
25816 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}};
25817 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}};
25818 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}};
25819 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}};
25820 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}};
25821 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}};
25822 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}};
25823 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}};
25824 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}};
25825 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}};
25826 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}};
25827 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}};
25828 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}};
25829 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}};
25830 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}};
25831 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}};
25832 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}};
25833 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}};
25834 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}};
25835 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}};
25836 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}};
25837 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}};
25838 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}};
25839 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}};
25840 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}};
25841 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}};
25842 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}};
25843 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}};
25844 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}};
25845 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}};
25846 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}};
25847 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}};
25849 static swig_type_info
*swig_types_initial
[] = {
25850 _swigt__p_wxQueryLayoutInfoEvent
,
25851 _swigt__p_wxPreviewFrame
,
25852 _swigt__p_wxPyPreviewFrame
,
25853 _swigt__p_wxPyPanel
,
25855 _swigt__p_wxPrintData
,
25856 _swigt__p_wxFontData
,
25858 _swigt__p_wxTaskBarIcon
,
25859 _swigt__p_wxIconBundle
,
25860 _swigt__p_wxLayoutAlgorithm
,
25861 _swigt__p_wxFindDialogEvent
,
25862 _swigt__p_wxPreviewCanvas
,
25864 _swigt__p_wxSplitterEvent
,
25865 _swigt__p_wxRegion
,
25866 _swigt__p_wxFindReplaceData
,
25871 _swigt__p_wxMDIChildFrame
,
25872 _swigt__p_wxColourData
,
25873 _swigt__p_wxNotifyEvent
,
25874 _swigt__p_wxPyWindow
,
25875 _swigt__p_wxSplashScreen
,
25876 _swigt__p_wxFindReplaceDialog
,
25877 _swigt__p_wxProgressDialog
,
25878 _swigt__p_wxMessageDialog
,
25879 _swigt__p_wxTextEntryDialog
,
25880 _swigt__p_wxSingleChoiceDialog
,
25881 _swigt__p_wxMultiChoiceDialog
,
25882 _swigt__p_wxFileDialog
,
25883 _swigt__p_wxPrinter
,
25884 _swigt__p_wxArrayInt
,
25885 _swigt__p_wxEvtHandler
,
25886 _swigt__p_wxCalculateLayoutEvent
,
25887 _swigt__p_wxPyHtmlListBox
,
25888 _swigt__p_wxPyVListBox
,
25891 _swigt__p_wxMiniFrame
,
25893 _swigt__p_wxPyPrintout
,
25894 _swigt__p_wxTaskBarIconEvent
,
25895 _swigt__p_wxScrollWinEvent
,
25896 _swigt__p_wxStatusBar
,
25897 _swigt__p_wxMDIParentFrame
,
25899 _swigt__p_wxObject
,
25900 _swigt__p_wxOutputStream
,
25901 _swigt__p_unsigned_long
,
25902 _swigt__p_wxPyScrolledWindow
,
25903 _swigt__p_wxMDIClientWindow
,
25904 _swigt__p_wxTipWindow
,
25905 _swigt__p_wxPyPopupTransientWindow
,
25906 _swigt__p_wxSashLayoutWindow
,
25907 _swigt__p_wxSplitterWindow
,
25908 _swigt__p_wxPyVScrolledWindow
,
25909 _swigt__p_wxPopupWindow
,
25910 _swigt__p_wxSashWindow
,
25911 _swigt__p_wxTopLevelWindow
,
25912 _swigt__p_wxWindow
,
25913 _swigt__p_wxScrolledWindow
,
25914 _swigt__p_wxSplashScreenWindow
,
25915 _swigt__p_wxMenuBar
,
25916 _swigt__p_wxPrintPreview
,
25917 _swigt__p_wxSashEvent
,
25918 _swigt__p_wxString
,
25919 _swigt__p_wxPyPrintPreview
,
25920 _swigt__p_wxFontDialog
,
25921 _swigt__p_wxDirDialog
,
25922 _swigt__p_wxColourDialog
,
25923 _swigt__p_wxDialog
,
25925 _swigt__p_wxPageSetupDialog
,
25926 _swigt__p_wxPrintDialog
,
25927 _swigt__p_wxBitmap
,
25928 _swigt__p_wxCommandEvent
,
25929 _swigt__p_wxPreviewControlBar
,
25930 _swigt__p_wxPyPreviewControlBar
,
25931 _swigt__p_wxColour
,
25932 _swigt__p_wxToolBar
,
25933 _swigt__p_wxPageSetupDialogData
,
25934 _swigt__p_wxPrintDialogData
,
25939 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25941 static swig_const_info swig_const_table
[] = {
25942 {0, 0, 0, 0.0, 0, 0}};
25951 SWIGEXPORT(void) SWIG_init(void) {
25952 static PyObject
*SWIG_globals
= 0;
25953 static int typeinit
= 0;
25956 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
25957 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
25958 d
= PyModule_GetDict(m
);
25961 for (i
= 0; swig_types_initial
[i
]; i
++) {
25962 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
25966 SWIG_InstallConstants(d
,swig_const_table
);
25968 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
25969 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
25970 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
25971 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
25972 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
25973 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
25974 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
25975 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
25976 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
25977 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
25978 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
25979 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
25980 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
25981 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
25982 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
25983 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
25984 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
25985 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
25986 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
25987 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
25988 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
25989 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
25990 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
25991 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
25992 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
25993 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
25994 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
25995 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
25996 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
25997 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
25998 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
25999 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26000 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26001 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26002 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26003 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26004 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26005 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26006 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26007 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26008 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26009 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26010 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26011 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26012 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26013 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26014 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26015 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26016 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26017 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26018 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26019 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26020 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26021 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26022 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26023 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26024 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26025 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26026 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26027 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26028 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26029 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26030 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26031 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26032 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26033 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26034 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26035 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26036 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26037 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26038 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26039 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26040 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26041 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26042 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26043 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26044 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26045 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26046 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26047 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26048 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26049 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26050 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26051 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26052 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26053 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26054 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26055 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26056 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26058 // Map renamed classes back to their common name for OOR
26059 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26060 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26061 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26063 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26064 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26065 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26066 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26067 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26068 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26069 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26070 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26071 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26072 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26073 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26074 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26075 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26076 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26077 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26078 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26079 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26080 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26081 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26082 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26083 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26084 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26085 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26086 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26087 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26088 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26089 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26090 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26091 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26092 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26093 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26094 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26095 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26096 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26097 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26098 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26099 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26100 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26101 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26102 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26103 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26104 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26105 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26106 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26107 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26108 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26109 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26110 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26111 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26112 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26113 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26114 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26115 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26116 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26117 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26118 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26119 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26120 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26121 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26122 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26124 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");