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 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 #if INT_MAX != LONG_MAX
393 SWIGSTATICINLINE(int)
394 SWIG_AsInt(PyObject
*obj
)
396 return swig_numeric_cast(int,
397 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
398 "int", INT_MIN
, INT_MAX
));
401 #define SWIG_AsInt SWIG_AsLong
405 SWIGSTATICINLINE(int)
406 SWIG_CheckInt(PyObject
* obj
)
409 if (PyErr_Occurred()) {
418 SWIGSTATICINLINE(int)
419 SWIG_CheckLong(PyObject
* obj
)
422 if (PyErr_Occurred()) {
431 SWIGSTATICINLINE(bool)
432 SWIG_AsBool(PyObject
*obj
)
434 return PyObject_IsTrue(obj
) ? true : false;
438 SWIGSTATICINLINE(int)
439 SWIG_CheckBool(PyObject
* obj
)
442 if (PyErr_Occurred()) {
451 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
457 } else if (target
== Py_None
) {
461 if (!PyTuple_Check(target
)) {
463 target
= PyTuple_New(1);
464 PyTuple_SetItem(target
, 0, o2
);
467 PyTuple_SetItem(o3
, 0, o
);
470 target
= PySequence_Concat(o2
, o3
);
478 SWIGSTATICINLINE(double)
479 SWIG_AsDouble(PyObject
*obj
)
481 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
483 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
485 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
487 if (PyErr_Occurred()) {
489 PyErr_SetString(PyExc_TypeError
, "a double is expected");
495 SWIGSTATICINLINE(int)
496 SWIG_CheckDouble(PyObject
* obj
)
499 if (PyErr_Occurred()) {
507 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
508 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
509 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
510 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
511 bool wxDialog_IsModalShowing(wxDialog
*self
){
515 return self
->IsModalShowing();
520 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
522 self
->GetFieldRect(i
, r
);
525 static const wxString
wxPySplitterNameStr(wxT("splitter"));
526 static const wxString
wxPySashNameStr(wxT("sashWindow"));
527 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
529 #include <wx/popupwin.h>
532 class wxPopupWindow
: public wxWindow
{
534 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
535 wxPopupWindow() { wxPyRaiseNotImplemented(); }
538 class wxPyPopupTransientWindow
: public wxPopupWindow
541 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
542 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
546 #include <wx/tipwin.h>
548 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
549 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
552 #include <wx/tipwin.h>
555 #include <wx/vscroll.h>
558 class wxPyVScrolledWindow
: public wxVScrolledWindow
560 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
562 wxPyVScrolledWindow() : wxVScrolledWindow() {}
564 wxPyVScrolledWindow(wxWindow
*parent
,
565 wxWindowID id
= wxID_ANY
,
566 const wxPoint
& pos
= wxDefaultPosition
,
567 const wxSize
& size
= wxDefaultSize
,
569 const wxString
& name
= wxPyPanelNameStr
)
570 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
573 // Overridable virtuals
575 // this function must be overridden in the derived class and it should
576 // return the height of the given line in pixels
577 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
580 // this function doesn't have to be overridden but it may be useful to do
581 // it if calculating the lines heights is a relatively expensive operation
582 // as it gives the user code a possibility to calculate several of them at
585 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
586 // shouldn't rely on the latter being called for all lines in the interval
587 // specified here. It is also possible that OnGetLineHeight() will be
588 // called for the lines outside of this interval, so this is really just a
589 // hint, not a promise.
591 // finally note that lineMin is inclusive, while lineMax is exclusive, as
593 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
596 // when the number of lines changes, we try to estimate the total height
597 // of all lines which is a rather expensive operation in terms of lines
598 // access, so if the user code may estimate the average height
599 // better/faster than we do, it should override this function to implement
602 // this function should return the best guess for the total height it may
604 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
607 // Also expose some other interesting protected methods
610 // find the index of the line we need to show at the top of the window such
611 // that the last (fully or partially) visible line is the given one
612 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
613 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
615 // get the total height of the lines between lineMin (inclusive) and
616 // lineMax (exclusive)
617 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
618 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
624 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
626 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
627 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
628 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
631 SWIGSTATICINLINE(unsigned long)
632 SWIG_AsUnsignedLong(PyObject
* obj
)
634 if (PyLong_Check(obj
)) {
635 return PyLong_AsUnsignedLong(obj
);
637 long i
= PyInt_AsLong(obj
);
638 if ( !PyErr_Occurred() && (i
< 0)) {
639 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
646 SWIGSTATICINLINE(int)
647 SWIG_CheckUnsignedLong(PyObject
* obj
)
649 SWIG_AsUnsignedLong(obj
);
650 if (PyErr_Occurred()) {
659 SWIGSTATICINLINE(PyObject
* )
660 SWIG_FromUnsignedLong(unsigned long value
)
662 return (value
> LONG_MAX
) ?
663 PyLong_FromUnsignedLong(value
)
664 : PyInt_FromLong(swig_numeric_cast(long,value
));
668 #include <wx/vlbox.h>
670 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
672 class wxPyVListBox
: public wxVListBox
674 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
676 wxPyVListBox() : wxVListBox() {}
678 wxPyVListBox(wxWindow
*parent
,
679 wxWindowID id
= wxID_ANY
,
680 const wxPoint
& pos
= wxDefaultPosition
,
681 const wxSize
& size
= wxDefaultSize
,
683 const wxString
& name
= wxPyVListBoxNameStr
)
684 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
687 // Overridable virtuals
689 // the derived class must implement this function to actually draw the item
690 // with the given index on the provided DC
691 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
692 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
695 // the derived class must implement this method to return the height of the
697 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
698 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
701 // this method may be used to draw separators between the lines; note that
702 // the rectangle may be modified, typically to deflate it a bit before
703 // passing to OnDrawItem()
705 // the base class version doesn't do anything
706 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
707 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
710 // this method is used to draw the items background and, maybe, a border
713 // the base class version implements a reasonable default behaviour which
714 // consists in drawing the selected item with the standard background
715 // colour and drawing a border around the item if it is either selected or
717 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
718 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
724 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
726 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
727 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
728 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
729 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
733 #include <wx/htmllbox.h>
736 class wxPyHtmlListBox
: public wxHtmlListBox
738 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
740 wxPyHtmlListBox() : wxHtmlListBox() {}
742 wxPyHtmlListBox(wxWindow
*parent
,
743 wxWindowID id
= wxID_ANY
,
744 const wxPoint
& pos
= wxDefaultPosition
,
745 const wxSize
& size
= wxDefaultSize
,
747 const wxString
& name
= wxPyVListBoxNameStr
)
748 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
751 // Overridable virtuals
753 // this method must be implemented in the derived class and should return
754 // the body (i.e. without <html>) of the HTML for the given item
755 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
757 // this function may be overridden to decorate HTML returned by OnGetItem()
758 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
761 // // this method allows to customize the selection appearance: it may be used
762 // // to specify the colour of the text which normally has the given colour
763 // // colFg when it is inside the selection
765 // // by default, the original colour is not used at all and all text has the
766 // // same (default for this system) colour inside selection
767 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
769 // // this is the same as GetSelectedTextColour() but allows to customize the
770 // // background colour -- this is even more rarely used as you can change it
771 // // globally using SetSelectionBackground()
772 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
779 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
781 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
782 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
789 // implement dummy classes and such for wxMac
791 class wxTaskBarIcon
: public wxEvtHandler
794 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
798 class wxTaskBarIconEvent
: public wxEvent
801 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
802 { wxPyRaiseNotImplemented(); }
803 virtual wxEvent
* Clone() const { return NULL
; }
807 wxEVT_TASKBAR_MOVE
= 0,
808 wxEVT_TASKBAR_LEFT_DOWN
= 0,
809 wxEVT_TASKBAR_LEFT_UP
= 0,
810 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
811 wxEVT_TASKBAR_RIGHT_UP
= 0,
812 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
813 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
817 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
818 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
819 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
820 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
821 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
822 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
823 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
825 self
->GetFilenames(arr
);
826 return wxArrayString2PyList_helper(arr
);
828 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
831 return wxArrayString2PyList_helper(arr
);
833 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
834 return wxArrayInt2PyList_helper(self
->GetSelections());
836 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
837 return new wxSingleChoiceDialog(parent
, message
, caption
,
838 choices
, choices_array
, NULL
, style
, pos
);
843 // C++ version of Python aware wxWindow
844 class wxPyWindow
: public wxWindow
846 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
848 wxPyWindow() : wxWindow() {}
849 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
850 const wxPoint
& pos
= wxDefaultPosition
,
851 const wxSize
& size
= wxDefaultSize
,
853 const wxString
& name
= wxPyPanelNameStr
)
854 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
857 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
858 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
859 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
860 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
862 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
863 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
864 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
866 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
867 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
869 DEC_PYCALLBACK__(InitDialog
);
870 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
871 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
872 DEC_PYCALLBACK_BOOL_(Validate
);
874 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
875 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
876 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
878 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
879 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
881 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
882 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
887 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
889 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
890 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
891 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
892 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
894 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
895 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
896 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
898 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
899 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
901 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
902 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
903 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
904 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
906 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
907 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
908 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
910 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
911 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
914 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
917 // C++ version of Python aware wxPanel
918 class wxPyPanel
: public wxPanel
920 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
922 wxPyPanel() : wxPanel() {}
923 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
924 const wxPoint
& pos
= wxDefaultPosition
,
925 const wxSize
& size
= wxDefaultSize
,
927 const wxString
& name
= wxPyPanelNameStr
)
928 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
931 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
932 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
933 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
934 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
936 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
937 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
938 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
940 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
941 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
943 DEC_PYCALLBACK__(InitDialog
);
944 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
945 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
946 DEC_PYCALLBACK_BOOL_(Validate
);
948 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
949 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
950 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
952 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
953 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
955 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
956 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
961 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
963 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
964 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
965 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
966 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
968 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
969 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
970 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
972 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
973 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
975 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
976 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
977 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
978 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
980 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
981 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
984 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
985 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
988 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
990 // C++ version of Python aware wxScrolledWindow
991 class wxPyScrolledWindow
: public wxScrolledWindow
993 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
995 wxPyScrolledWindow() : wxScrolledWindow() {}
996 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
997 const wxPoint
& pos
= wxDefaultPosition
,
998 const wxSize
& size
= wxDefaultSize
,
1000 const wxString
& name
= wxPyPanelNameStr
)
1001 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1004 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1005 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1006 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1007 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1009 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1010 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1011 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1013 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1014 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1016 DEC_PYCALLBACK__(InitDialog
);
1017 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1018 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1019 DEC_PYCALLBACK_BOOL_(Validate
);
1021 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1022 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1023 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1025 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1026 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1028 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1029 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1034 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1036 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1037 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1038 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1039 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1041 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1042 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1043 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1045 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1046 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1048 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1049 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1050 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1051 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1053 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1054 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1055 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1057 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1058 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1061 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1064 #include "wx/wxPython/printfw.h"
1067 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1068 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1072 // Since this one would be tough and ugly to do with the Macros...
1073 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1074 bool hadErr
= False
;
1077 bool blocked
= wxPyBeginBlockThreads();
1078 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1079 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1080 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1083 val
= PyTuple_GetItem(result
, 0);
1084 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1087 val
= PyTuple_GetItem(result
, 1);
1088 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1091 val
= PyTuple_GetItem(result
, 2);
1092 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1095 val
= PyTuple_GetItem(result
, 3);
1096 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1103 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1108 wxPyEndBlockThreads(blocked
);
1110 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1113 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1114 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1118 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1119 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1120 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1121 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1122 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1123 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1124 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1130 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1131 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1132 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1135 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1136 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1139 bool blocked = wxPyBeginBlockThreads(); \
1140 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1141 PyObject* win = wxPyMake_wxObject(a); \
1142 PyObject* dc = wxPyMake_wxObject(&b); \
1143 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1147 wxPyEndBlockThreads(blocked); \
1149 rval = PCLASS::CBNAME(a, b); \
1152 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1153 return PCLASS::CBNAME(a, b); \
1159 class wxPyPrintPreview
: public wxPrintPreview
1161 DECLARE_CLASS(wxPyPrintPreview
)
1163 wxPyPrintPreview(wxPyPrintout
* printout
,
1164 wxPyPrintout
* printoutForPrinting
,
1165 wxPrintDialogData
* data
=NULL
)
1166 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1168 wxPyPrintPreview(wxPyPrintout
* printout
,
1169 wxPyPrintout
* printoutForPrinting
,
1170 wxPrintData
* data
=NULL
)
1171 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1174 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1175 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1176 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1177 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1178 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1179 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1180 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1185 // Stupid renamed classes... Fix this in 2.5...
1186 #if defined(__WXMSW__)
1187 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1188 #elif defined(__WXMAC__)
1189 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1191 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1194 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1195 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1196 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1197 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1198 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1199 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1200 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1203 class wxPyPreviewFrame
: public wxPreviewFrame
1205 DECLARE_CLASS(wxPyPreviewFrame
);
1207 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1208 const wxString
& title
,
1209 const wxPoint
& pos
= wxDefaultPosition
,
1210 const wxSize
& size
= wxDefaultSize
,
1211 long style
= wxDEFAULT_FRAME_STYLE
,
1212 const wxString
& name
= wxPyFrameNameStr
)
1213 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1216 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1217 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1219 DEC_PYCALLBACK_VOID_(Initialize
);
1220 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1221 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1226 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1228 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1229 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1230 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1233 class wxPyPreviewControlBar
: public wxPreviewControlBar
1235 DECLARE_CLASS(wxPyPreviewControlBar
);
1237 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1240 const wxPoint
& pos
= wxDefaultPosition
,
1241 const wxSize
& size
= wxDefaultSize
,
1243 const wxString
& name
= wxPyPanelNameStr
)
1244 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1247 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1249 DEC_PYCALLBACK_VOID_(CreateButtons
);
1250 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1255 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1256 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1257 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1262 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
*resultobj
;
1264 wxWindow
*arg1
= (wxWindow
*) 0 ;
1265 int arg2
= (int) (int)-1 ;
1266 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1267 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1268 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1269 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1270 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1271 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1272 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1276 bool temp6
= False
;
1277 PyObject
* obj0
= 0 ;
1278 PyObject
* obj1
= 0 ;
1279 PyObject
* obj2
= 0 ;
1280 PyObject
* obj3
= 0 ;
1281 PyObject
* obj4
= 0 ;
1282 PyObject
* obj5
= 0 ;
1284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1291 arg2
= (int const) SWIG_AsInt(obj1
);
1292 if (PyErr_Occurred()) SWIG_fail
;
1297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1307 arg5
= (long) SWIG_AsLong(obj4
);
1308 if (PyErr_Occurred()) SWIG_fail
;
1312 arg6
= wxString_in_helper(obj5
);
1313 if (arg6
== NULL
) SWIG_fail
;
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1319 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) SWIG_fail
;
1324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1339 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
*resultobj
;
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1349 result
= (wxPanel
*)new wxPanel();
1351 wxPyEndAllowThreads(__tstate
);
1352 if (PyErr_Occurred()) SWIG_fail
;
1354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1361 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
*resultobj
;
1363 wxPanel
*arg1
= (wxPanel
*) 0 ;
1364 wxWindow
*arg2
= (wxWindow
*) 0 ;
1366 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1367 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1368 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1369 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1370 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1371 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1372 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1376 bool temp7
= False
;
1377 PyObject
* obj0
= 0 ;
1378 PyObject
* obj1
= 0 ;
1379 PyObject
* obj2
= 0 ;
1380 PyObject
* obj3
= 0 ;
1381 PyObject
* obj4
= 0 ;
1382 PyObject
* obj5
= 0 ;
1383 PyObject
* obj6
= 0 ;
1385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1393 arg3
= (int const) SWIG_AsInt(obj2
);
1394 if (PyErr_Occurred()) SWIG_fail
;
1398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1408 arg6
= (long) SWIG_AsLong(obj5
);
1409 if (PyErr_Occurred()) SWIG_fail
;
1413 arg7
= wxString_in_helper(obj6
);
1414 if (arg7
== NULL
) SWIG_fail
;
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) SWIG_fail
;
1426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1442 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1444 wxPanel
*arg1
= (wxPanel
*) 0 ;
1445 PyObject
* obj0
= 0 ;
1447 (char *) "self", NULL
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 (arg1
)->InitDialog();
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) SWIG_fail
;
1460 Py_INCREF(Py_None
); resultobj
= Py_None
;
1467 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1470 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1472 return Py_BuildValue((char *)"");
1474 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
*resultobj
;
1476 wxWindow
*arg1
= (wxWindow
*) 0 ;
1477 int arg2
= (int) (int)-1 ;
1478 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1479 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1480 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1481 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1482 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1483 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1484 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1485 wxScrolledWindow
*result
;
1488 bool temp6
= False
;
1489 PyObject
* obj0
= 0 ;
1490 PyObject
* obj1
= 0 ;
1491 PyObject
* obj2
= 0 ;
1492 PyObject
* obj3
= 0 ;
1493 PyObject
* obj4
= 0 ;
1494 PyObject
* obj5
= 0 ;
1496 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1503 arg2
= (int const) SWIG_AsInt(obj1
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1509 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1515 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1519 arg5
= (long) SWIG_AsLong(obj4
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1524 arg6
= wxString_in_helper(obj5
);
1525 if (arg6
== NULL
) SWIG_fail
;
1530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1531 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1533 wxPyEndAllowThreads(__tstate
);
1534 if (PyErr_Occurred()) SWIG_fail
;
1536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1551 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
*resultobj
;
1553 wxScrolledWindow
*result
;
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1573 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
*resultobj
;
1575 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1576 wxWindow
*arg2
= (wxWindow
*) 0 ;
1577 int arg3
= (int) (int)-1 ;
1578 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1579 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1580 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1581 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1582 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1583 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1584 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1588 bool temp7
= False
;
1589 PyObject
* obj0
= 0 ;
1590 PyObject
* obj1
= 0 ;
1591 PyObject
* obj2
= 0 ;
1592 PyObject
* obj3
= 0 ;
1593 PyObject
* obj4
= 0 ;
1594 PyObject
* obj5
= 0 ;
1595 PyObject
* obj6
= 0 ;
1597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1606 arg3
= (int const) SWIG_AsInt(obj2
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1612 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1618 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1622 arg6
= (long) SWIG_AsLong(obj5
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1627 arg7
= wxString_in_helper(obj6
);
1628 if (arg7
== NULL
) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1656 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
*resultobj
;
1658 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1663 int arg6
= (int) 0 ;
1664 int arg7
= (int) 0 ;
1665 bool arg8
= (bool) False
;
1666 PyObject
* obj0
= 0 ;
1667 PyObject
* obj1
= 0 ;
1668 PyObject
* obj2
= 0 ;
1669 PyObject
* obj3
= 0 ;
1670 PyObject
* obj4
= 0 ;
1671 PyObject
* obj5
= 0 ;
1672 PyObject
* obj6
= 0 ;
1673 PyObject
* obj7
= 0 ;
1675 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1681 arg2
= (int) SWIG_AsInt(obj1
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1683 arg3
= (int) SWIG_AsInt(obj2
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1685 arg4
= (int) SWIG_AsInt(obj3
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1687 arg5
= (int) SWIG_AsInt(obj4
);
1688 if (PyErr_Occurred()) SWIG_fail
;
1690 arg6
= (int) SWIG_AsInt(obj5
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1694 arg7
= (int) SWIG_AsInt(obj6
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1698 arg8
= (bool) SWIG_AsBool(obj7
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1708 Py_INCREF(Py_None
); resultobj
= Py_None
;
1715 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
*resultobj
;
1717 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1720 PyObject
* obj0
= 0 ;
1721 PyObject
* obj1
= 0 ;
1722 PyObject
* obj2
= 0 ;
1724 (char *) "self",(char *) "x",(char *) "y", NULL
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1730 arg2
= (int) SWIG_AsInt(obj1
);
1731 if (PyErr_Occurred()) SWIG_fail
;
1732 arg3
= (int) SWIG_AsInt(obj2
);
1733 if (PyErr_Occurred()) SWIG_fail
;
1735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1736 (arg1
)->Scroll(arg2
,arg3
);
1738 wxPyEndAllowThreads(__tstate
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1741 Py_INCREF(Py_None
); resultobj
= Py_None
;
1748 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
*resultobj
;
1750 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1753 PyObject
* obj0
= 0 ;
1754 PyObject
* obj1
= 0 ;
1756 (char *) "self",(char *) "orient", NULL
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1762 arg2
= (int) SWIG_AsInt(obj1
);
1763 if (PyErr_Occurred()) SWIG_fail
;
1765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1766 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1768 wxPyEndAllowThreads(__tstate
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1771 resultobj
= SWIG_FromInt((int)result
);
1778 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
*resultobj
;
1780 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1783 PyObject
* obj0
= 0 ;
1784 PyObject
* obj1
= 0 ;
1785 PyObject
* obj2
= 0 ;
1787 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1793 arg2
= (int) SWIG_AsInt(obj1
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1795 arg3
= (int) SWIG_AsInt(obj2
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1804 Py_INCREF(Py_None
); resultobj
= Py_None
;
1811 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
*resultobj
;
1813 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1816 PyObject
* obj0
= 0 ;
1817 PyObject
* obj1
= 0 ;
1818 PyObject
* obj2
= 0 ;
1820 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1826 arg2
= (int) SWIG_AsInt(obj1
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1828 arg3
= (int) SWIG_AsInt(obj2
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 (arg1
)->SetScrollRate(arg2
,arg3
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) SWIG_fail
;
1837 Py_INCREF(Py_None
); resultobj
= Py_None
;
1844 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
*resultobj
;
1846 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1847 int *arg2
= (int *) 0 ;
1848 int *arg3
= (int *) 0 ;
1851 PyObject
* obj0
= 0 ;
1853 (char *) "self", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 Py_INCREF(Py_None
); resultobj
= Py_None
;
1870 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1871 resultobj
= t_output_helper(resultobj
,o
);
1874 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1875 resultobj
= t_output_helper(resultobj
,o
);
1883 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
*resultobj
;
1885 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1888 PyObject
* obj0
= 0 ;
1889 PyObject
* obj1
= 0 ;
1890 PyObject
* obj2
= 0 ;
1892 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1898 arg2
= (bool) SWIG_AsBool(obj1
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1900 arg3
= (bool) SWIG_AsBool(obj2
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1904 (arg1
)->EnableScrolling(arg2
,arg3
);
1906 wxPyEndAllowThreads(__tstate
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1909 Py_INCREF(Py_None
); resultobj
= Py_None
;
1916 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
*resultobj
;
1918 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1919 int *arg2
= (int *) 0 ;
1920 int *arg3
= (int *) 0 ;
1923 PyObject
* obj0
= 0 ;
1925 (char *) "self", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1940 Py_INCREF(Py_None
); resultobj
= Py_None
;
1942 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1943 resultobj
= t_output_helper(resultobj
,o
);
1946 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1947 resultobj
= t_output_helper(resultobj
,o
);
1955 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1957 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1960 PyObject
* obj0
= 0 ;
1961 PyObject
* obj1
= 0 ;
1962 PyObject
* obj2
= 0 ;
1964 (char *) "self",(char *) "xs",(char *) "ys", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1970 arg2
= (double) SWIG_AsDouble(obj1
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1972 arg3
= (double) SWIG_AsDouble(obj2
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 (arg1
)->SetScale(arg2
,arg3
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1981 Py_INCREF(Py_None
); resultobj
= Py_None
;
1988 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1994 (char *) "self", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 resultobj
= SWIG_FromDouble((double)result
);
2014 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2020 (char *) "self", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 resultobj
= SWIG_FromDouble((double)result
);
2040 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2041 PyObject
*resultobj
;
2042 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2046 PyObject
* obj0
= 0 ;
2047 PyObject
* obj1
= 0 ;
2049 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2064 wxPoint
* resultptr
;
2065 resultptr
= new wxPoint((wxPoint
&) result
);
2066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2074 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2075 PyObject
*resultobj
;
2076 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2079 int *arg4
= (int *) 0 ;
2080 int *arg5
= (int *) 0 ;
2083 PyObject
* obj0
= 0 ;
2084 PyObject
* obj1
= 0 ;
2085 PyObject
* obj2
= 0 ;
2089 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2092 arg2
= (int) SWIG_AsInt(obj1
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2094 arg3
= (int) SWIG_AsInt(obj2
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2098 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2100 wxPyEndAllowThreads(__tstate
);
2101 if (PyErr_Occurred()) SWIG_fail
;
2103 Py_INCREF(Py_None
); resultobj
= Py_None
;
2105 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2106 resultobj
= t_output_helper(resultobj
,o
);
2109 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2110 resultobj
= t_output_helper(resultobj
,o
);
2118 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2123 argc
= PyObject_Length(args
);
2124 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2125 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2131 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2140 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2143 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2151 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2159 _v
= SWIG_CheckInt(argv
[1]);
2161 _v
= SWIG_CheckInt(argv
[2]);
2163 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2169 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2174 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2175 PyObject
*resultobj
;
2176 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2180 PyObject
* obj0
= 0 ;
2181 PyObject
* obj1
= 0 ;
2183 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2198 wxPoint
* resultptr
;
2199 resultptr
= new wxPoint((wxPoint
&) result
);
2200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2208 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2209 PyObject
*resultobj
;
2210 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2213 int *arg4
= (int *) 0 ;
2214 int *arg5
= (int *) 0 ;
2217 PyObject
* obj0
= 0 ;
2218 PyObject
* obj1
= 0 ;
2219 PyObject
* obj2
= 0 ;
2223 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2226 arg2
= (int) SWIG_AsInt(obj1
);
2227 if (PyErr_Occurred()) SWIG_fail
;
2228 arg3
= (int) SWIG_AsInt(obj2
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2239 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2240 resultobj
= t_output_helper(resultobj
,o
);
2243 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2244 resultobj
= t_output_helper(resultobj
,o
);
2252 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2257 argc
= PyObject_Length(args
);
2258 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2259 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2265 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2274 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2277 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2285 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2293 _v
= SWIG_CheckInt(argv
[1]);
2295 _v
= SWIG_CheckInt(argv
[2]);
2297 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2303 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2308 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
*resultobj
;
2310 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2311 PyObject
* obj0
= 0 ;
2313 (char *) "self", NULL
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 (arg1
)->AdjustScrollbars();
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 Py_INCREF(Py_None
); resultobj
= Py_None
;
2333 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
*resultobj
;
2335 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2336 wxScrollWinEvent
*arg2
= 0 ;
2338 PyObject
* obj0
= 0 ;
2339 PyObject
* obj1
= 0 ;
2341 (char *) "self",(char *) "event", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2348 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2351 PyErr_SetString(PyExc_TypeError
,"null reference");
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 resultobj
= SWIG_FromInt((int)result
);
2368 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
*resultobj
;
2370 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2371 wxWindow
*arg2
= (wxWindow
*) 0 ;
2372 PyObject
* obj0
= 0 ;
2373 PyObject
* obj1
= 0 ;
2375 (char *) "self",(char *) "target", NULL
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 (arg1
)->SetTargetWindow(arg2
);
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2390 Py_INCREF(Py_None
); resultobj
= Py_None
;
2397 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
*resultobj
;
2399 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2401 PyObject
* obj0
= 0 ;
2403 (char *) "self", NULL
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2417 resultobj
= wxPyMake_wxObject(result
);
2425 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2427 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2430 PyObject
* obj0
= 0 ;
2431 PyObject
* obj1
= 0 ;
2433 (char *) "self",(char *) "rect", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2441 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2450 Py_INCREF(Py_None
); resultobj
= Py_None
;
2457 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2459 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2461 PyObject
* obj0
= 0 ;
2463 (char *) "self", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2478 resultptr
= new wxRect((wxRect
&) result
);
2479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2487 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2490 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2492 return Py_BuildValue((char *)"");
2494 static int _wrap_FrameNameStr_set(PyObject
*) {
2495 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2500 static PyObject
*_wrap_FrameNameStr_get() {
2505 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2507 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2514 static int _wrap_DialogNameStr_set(PyObject
*) {
2515 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2520 static PyObject
*_wrap_DialogNameStr_get() {
2525 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2527 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2534 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2535 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2540 static PyObject
*_wrap_StatusLineNameStr_get() {
2545 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2547 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2554 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2555 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2560 static PyObject
*_wrap_ToolBarNameStr_get() {
2565 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2567 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2574 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
*resultobj
;
2576 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2577 bool arg2
= (bool) True
;
2578 PyObject
* obj0
= 0 ;
2579 PyObject
* obj1
= 0 ;
2581 (char *) "self",(char *) "maximize", NULL
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2588 arg2
= (bool) SWIG_AsBool(obj1
);
2589 if (PyErr_Occurred()) SWIG_fail
;
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 (arg1
)->Maximize(arg2
);
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2598 Py_INCREF(Py_None
); resultobj
= Py_None
;
2605 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2607 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2608 PyObject
* obj0
= 0 ;
2610 (char *) "self", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2623 Py_INCREF(Py_None
); resultobj
= Py_None
;
2630 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2632 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2633 bool arg2
= (bool) True
;
2634 PyObject
* obj0
= 0 ;
2635 PyObject
* obj1
= 0 ;
2637 (char *) "self",(char *) "iconize", NULL
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2644 arg2
= (bool) SWIG_AsBool(obj1
);
2645 if (PyErr_Occurred()) SWIG_fail
;
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 (arg1
)->Iconize(arg2
);
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2654 Py_INCREF(Py_None
); resultobj
= Py_None
;
2661 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2665 PyObject
* obj0
= 0 ;
2667 (char *) "self", NULL
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2689 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
*resultobj
;
2691 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2693 PyObject
* obj0
= 0 ;
2695 (char *) "self", NULL
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) SWIG_fail
;
2709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2717 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2721 PyObject
* obj0
= 0 ;
2723 (char *) "self", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2738 resultptr
= new wxIcon((wxIcon
&) result
);
2739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2747 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
*resultobj
;
2749 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2751 PyObject
* obj0
= 0 ;
2752 PyObject
* obj1
= 0 ;
2754 (char *) "self",(char *) "icon", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2764 PyErr_SetString(PyExc_TypeError
,"null reference");
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2774 Py_INCREF(Py_None
); resultobj
= Py_None
;
2781 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2784 wxIconBundle
*arg2
= 0 ;
2785 PyObject
* obj0
= 0 ;
2786 PyObject
* obj1
= 0 ;
2788 (char *) "self",(char *) "icons", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2798 PyErr_SetString(PyExc_TypeError
,"null reference");
2802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2803 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2805 wxPyEndAllowThreads(__tstate
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2808 Py_INCREF(Py_None
); resultobj
= Py_None
;
2815 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2817 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2819 long arg3
= (long) wxFULLSCREEN_ALL
;
2821 PyObject
* obj0
= 0 ;
2822 PyObject
* obj1
= 0 ;
2823 PyObject
* obj2
= 0 ;
2825 (char *) "self",(char *) "show",(char *) "style", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2831 arg2
= (bool) SWIG_AsBool(obj1
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 arg3
= (long) SWIG_AsLong(obj2
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2853 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
*resultobj
;
2855 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2857 PyObject
* obj0
= 0 ;
2859 (char *) "self", NULL
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2881 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2884 wxString
*arg2
= 0 ;
2885 bool temp2
= False
;
2886 PyObject
* obj0
= 0 ;
2887 PyObject
* obj1
= 0 ;
2889 (char *) "self",(char *) "title", NULL
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2896 arg2
= wxString_in_helper(obj1
);
2897 if (arg2
== NULL
) SWIG_fail
;
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 (arg1
)->SetTitle((wxString
const &)*arg2
);
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2907 Py_INCREF(Py_None
); resultobj
= Py_None
;
2922 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2924 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2926 PyObject
* obj0
= 0 ;
2928 (char *) "self", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2954 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2957 wxRegion
*arg2
= 0 ;
2959 PyObject
* obj0
= 0 ;
2960 PyObject
* obj1
= 0 ;
2962 (char *) "self",(char *) "region", NULL
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2972 PyErr_SetString(PyExc_TypeError
,"null reference");
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2991 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
2993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2994 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2996 return Py_BuildValue((char *)"");
2998 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxWindow
*arg1
= (wxWindow
*) 0 ;
3002 wxString
*arg3
= 0 ;
3003 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3004 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3005 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3006 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3007 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3008 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3009 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3011 bool temp3
= False
;
3014 bool temp7
= False
;
3015 PyObject
* obj0
= 0 ;
3016 PyObject
* obj1
= 0 ;
3017 PyObject
* obj2
= 0 ;
3018 PyObject
* obj3
= 0 ;
3019 PyObject
* obj4
= 0 ;
3020 PyObject
* obj5
= 0 ;
3021 PyObject
* obj6
= 0 ;
3023 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3029 arg2
= (int const) SWIG_AsInt(obj1
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3032 arg3
= wxString_in_helper(obj2
);
3033 if (arg3
== NULL
) SWIG_fail
;
3039 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3045 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3049 arg6
= (long) SWIG_AsLong(obj5
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3054 arg7
= wxString_in_helper(obj6
);
3055 if (arg7
== NULL
) SWIG_fail
;
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3067 resultobj
= wxPyMake_wxObject(result
);
3091 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 result
= (wxFrame
*)new wxFrame();
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) SWIG_fail
;
3107 resultobj
= wxPyMake_wxObject(result
);
3115 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3117 wxFrame
*arg1
= (wxFrame
*) 0 ;
3118 wxWindow
*arg2
= (wxWindow
*) 0 ;
3120 wxString
*arg4
= 0 ;
3121 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3122 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3123 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3124 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3125 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3126 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3127 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3129 bool temp4
= False
;
3132 bool temp8
= False
;
3133 PyObject
* obj0
= 0 ;
3134 PyObject
* obj1
= 0 ;
3135 PyObject
* obj2
= 0 ;
3136 PyObject
* obj3
= 0 ;
3137 PyObject
* obj4
= 0 ;
3138 PyObject
* obj5
= 0 ;
3139 PyObject
* obj6
= 0 ;
3140 PyObject
* obj7
= 0 ;
3142 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 arg3
= (int const) SWIG_AsInt(obj2
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3153 arg4
= wxString_in_helper(obj3
);
3154 if (arg4
== NULL
) SWIG_fail
;
3160 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3166 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3170 arg7
= (long) SWIG_AsLong(obj6
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3175 arg8
= wxString_in_helper(obj7
);
3176 if (arg8
== NULL
) SWIG_fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3212 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
;
3214 wxFrame
*arg1
= (wxFrame
*) 0 ;
3216 PyObject
* obj0
= 0 ;
3218 (char *) "self", NULL
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3232 wxPoint
* resultptr
;
3233 resultptr
= new wxPoint((wxPoint
&) result
);
3234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3242 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
*resultobj
;
3244 wxFrame
*arg1
= (wxFrame
*) 0 ;
3245 PyObject
* obj0
= 0 ;
3247 (char *) "self", NULL
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 (arg1
)->SendSizeEvent();
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 Py_INCREF(Py_None
); resultobj
= Py_None
;
3267 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3269 wxFrame
*arg1
= (wxFrame
*) 0 ;
3270 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3272 PyObject
* obj1
= 0 ;
3274 (char *) "self",(char *) "menubar", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 (arg1
)->SetMenuBar(arg2
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 Py_INCREF(Py_None
); resultobj
= Py_None
;
3296 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxFrame
*arg1
= (wxFrame
*) 0 ;
3300 PyObject
* obj0
= 0 ;
3302 (char *) "self", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3316 resultobj
= wxPyMake_wxObject(result
);
3324 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxFrame
*arg1
= (wxFrame
*) 0 ;
3329 PyObject
* obj0
= 0 ;
3330 PyObject
* obj1
= 0 ;
3332 (char *) "self",(char *) "winid", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3338 arg2
= (int) SWIG_AsInt(obj1
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3356 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxFrame
*arg1
= (wxFrame
*) 0 ;
3359 int arg2
= (int) 1 ;
3360 long arg3
= (long) wxST_SIZEGRIP
;
3361 int arg4
= (int) 0 ;
3362 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3363 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3364 wxStatusBar
*result
;
3365 bool temp5
= False
;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3368 PyObject
* obj2
= 0 ;
3369 PyObject
* obj3
= 0 ;
3370 PyObject
* obj4
= 0 ;
3372 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3379 arg2
= (int) SWIG_AsInt(obj1
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3383 arg3
= (long) SWIG_AsLong(obj2
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3387 arg4
= (int) SWIG_AsInt(obj3
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3392 arg5
= wxString_in_helper(obj4
);
3393 if (arg5
== NULL
) SWIG_fail
;
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3405 resultobj
= wxPyMake_wxObject(result
);
3421 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxFrame
*arg1
= (wxFrame
*) 0 ;
3424 wxStatusBar
*result
;
3425 PyObject
* obj0
= 0 ;
3427 (char *) "self", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3441 resultobj
= wxPyMake_wxObject(result
);
3449 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxFrame
*arg1
= (wxFrame
*) 0 ;
3452 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3454 PyObject
* obj1
= 0 ;
3456 (char *) "self",(char *) "statBar", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 (arg1
)->SetStatusBar(arg2
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3471 Py_INCREF(Py_None
); resultobj
= Py_None
;
3478 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3479 PyObject
*resultobj
;
3480 wxFrame
*arg1
= (wxFrame
*) 0 ;
3481 wxString
*arg2
= 0 ;
3482 int arg3
= (int) 0 ;
3483 bool temp2
= False
;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3486 PyObject
* obj2
= 0 ;
3488 (char *) "self",(char *) "text",(char *) "number", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3495 arg2
= wxString_in_helper(obj1
);
3496 if (arg2
== NULL
) SWIG_fail
;
3500 arg3
= (int) SWIG_AsInt(obj2
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 Py_INCREF(Py_None
); resultobj
= Py_None
;
3525 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3527 wxFrame
*arg1
= (wxFrame
*) 0 ;
3529 int *arg3
= (int *) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "widths", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3540 arg2
= PyList_Size(obj1
);
3541 arg3
= int_LIST_helper(obj1
);
3542 if (arg3
== NULL
) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3553 if (arg3
) delete [] arg3
;
3558 if (arg3
) delete [] arg3
;
3564 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxFrame
*arg1
= (wxFrame
*) 0 ;
3567 wxString
*arg2
= 0 ;
3568 int arg3
= (int) 0 ;
3569 bool temp2
= False
;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3572 PyObject
* obj2
= 0 ;
3574 (char *) "self",(char *) "text",(char *) "number", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3581 arg2
= wxString_in_helper(obj1
);
3582 if (arg2
== NULL
) SWIG_fail
;
3586 arg3
= (int) SWIG_AsInt(obj2
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3596 Py_INCREF(Py_None
); resultobj
= Py_None
;
3611 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxFrame
*arg1
= (wxFrame
*) 0 ;
3614 int arg2
= (int) 0 ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3618 (char *) "self",(char *) "number", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3625 arg2
= (int) SWIG_AsInt(obj1
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 (arg1
)->PopStatusText(arg2
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 Py_INCREF(Py_None
); resultobj
= Py_None
;
3642 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 wxFrame
*arg1
= (wxFrame
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3647 PyObject
* obj1
= 0 ;
3649 (char *) "self",(char *) "n", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3655 arg2
= (int) SWIG_AsInt(obj1
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 (arg1
)->SetStatusBarPane(arg2
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 Py_INCREF(Py_None
); resultobj
= Py_None
;
3671 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3673 wxFrame
*arg1
= (wxFrame
*) 0 ;
3675 PyObject
* obj0
= 0 ;
3677 (char *) "self", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 resultobj
= SWIG_FromInt((int)result
);
3697 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxFrame
*arg1
= (wxFrame
*) 0 ;
3700 long arg2
= (long) -1 ;
3701 int arg3
= (int) -1 ;
3702 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3703 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3705 bool temp4
= False
;
3706 PyObject
* obj0
= 0 ;
3707 PyObject
* obj1
= 0 ;
3708 PyObject
* obj2
= 0 ;
3709 PyObject
* obj3
= 0 ;
3711 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3718 arg2
= (long) SWIG_AsLong(obj1
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3722 arg3
= (int) SWIG_AsInt(obj2
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3727 arg4
= wxString_in_helper(obj3
);
3728 if (arg4
== NULL
) SWIG_fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3740 resultobj
= wxPyMake_wxObject(result
);
3756 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxFrame
*arg1
= (wxFrame
*) 0 ;
3760 PyObject
* obj0
= 0 ;
3762 (char *) "self", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= wxPyMake_wxObject(result
);
3784 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxFrame
*arg1
= (wxFrame
*) 0 ;
3787 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3788 PyObject
* obj0
= 0 ;
3789 PyObject
* obj1
= 0 ;
3791 (char *) "self",(char *) "toolbar", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 (arg1
)->SetToolBar(arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxFrame
*arg1
= (wxFrame
*) 0 ;
3816 wxString
*arg2
= 0 ;
3818 bool temp2
= False
;
3819 PyObject
* obj0
= 0 ;
3820 PyObject
* obj1
= 0 ;
3821 PyObject
* obj2
= 0 ;
3823 (char *) "self",(char *) "text",(char *) "show", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3830 arg2
= wxString_in_helper(obj1
);
3831 if (arg2
== NULL
) SWIG_fail
;
3834 arg3
= (bool) SWIG_AsBool(obj2
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3843 Py_INCREF(Py_None
); resultobj
= Py_None
;
3858 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3860 wxFrame
*arg1
= (wxFrame
*) 0 ;
3861 wxMenu
*arg2
= (wxMenu
*) NULL
;
3862 PyObject
* obj0
= 0 ;
3863 PyObject
* obj1
= 0 ;
3865 (char *) "self",(char *) "menu", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 (arg1
)->DoMenuUpdates(arg2
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 Py_INCREF(Py_None
); resultobj
= Py_None
;
3889 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
3891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3892 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3894 return Py_BuildValue((char *)"");
3896 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxWindow
*arg1
= (wxWindow
*) 0 ;
3900 wxString
*arg3
= 0 ;
3901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3905 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3906 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3907 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3909 bool temp3
= False
;
3912 bool temp7
= False
;
3913 PyObject
* obj0
= 0 ;
3914 PyObject
* obj1
= 0 ;
3915 PyObject
* obj2
= 0 ;
3916 PyObject
* obj3
= 0 ;
3917 PyObject
* obj4
= 0 ;
3918 PyObject
* obj5
= 0 ;
3919 PyObject
* obj6
= 0 ;
3921 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 arg2
= (int const) SWIG_AsInt(obj1
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 arg3
= wxString_in_helper(obj2
);
3931 if (arg3
== NULL
) SWIG_fail
;
3937 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3943 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3947 arg6
= (long) SWIG_AsLong(obj5
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3952 arg7
= wxString_in_helper(obj6
);
3953 if (arg7
== NULL
) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3987 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 result
= (wxDialog
*)new wxDialog();
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4009 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
;
4011 wxDialog
*arg1
= (wxDialog
*) 0 ;
4012 wxWindow
*arg2
= (wxWindow
*) 0 ;
4014 wxString
*arg4
= 0 ;
4015 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4016 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4017 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4018 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4019 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4020 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4021 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4023 bool temp4
= False
;
4026 bool temp8
= False
;
4027 PyObject
* obj0
= 0 ;
4028 PyObject
* obj1
= 0 ;
4029 PyObject
* obj2
= 0 ;
4030 PyObject
* obj3
= 0 ;
4031 PyObject
* obj4
= 0 ;
4032 PyObject
* obj5
= 0 ;
4033 PyObject
* obj6
= 0 ;
4034 PyObject
* obj7
= 0 ;
4036 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4044 arg3
= (int const) SWIG_AsInt(obj2
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4047 arg4
= wxString_in_helper(obj3
);
4048 if (arg4
== NULL
) SWIG_fail
;
4054 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4060 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4064 arg7
= (long) SWIG_AsLong(obj6
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4069 arg8
= wxString_in_helper(obj7
);
4070 if (arg8
== NULL
) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4106 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxDialog
*arg1
= (wxDialog
*) 0 ;
4110 PyObject
* obj0
= 0 ;
4111 PyObject
* obj1
= 0 ;
4113 (char *) "self",(char *) "returnCode", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 arg2
= (int) SWIG_AsInt(obj1
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 (arg1
)->SetReturnCode(arg2
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 Py_INCREF(Py_None
); resultobj
= Py_None
;
4135 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 wxDialog
*arg1
= (wxDialog
*) 0 ;
4139 PyObject
* obj0
= 0 ;
4141 (char *) "self", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= SWIG_FromInt((int)result
);
4161 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxDialog
*arg1
= (wxDialog
*) 0 ;
4164 wxString
*arg2
= 0 ;
4166 bool temp2
= False
;
4167 PyObject
* obj0
= 0 ;
4168 PyObject
* obj1
= 0 ;
4170 (char *) "self",(char *) "message", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4177 arg2
= wxString_in_helper(obj1
);
4178 if (arg2
== NULL
) SWIG_fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= wxPyMake_wxSizer(result
);
4205 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxDialog
*arg1
= (wxDialog
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4213 (char *) "self",(char *) "flags", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 arg2
= (long) SWIG_AsLong(obj1
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= wxPyMake_wxSizer(result
);
4237 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxDialog
*arg1
= (wxDialog
*) 0 ;
4241 PyObject
* obj0
= 0 ;
4243 (char *) "self", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4265 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxDialog
*arg1
= (wxDialog
*) 0 ;
4269 PyObject
* obj0
= 0 ;
4271 (char *) "self", NULL
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= (int)(arg1
)->ShowModal();
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= SWIG_FromInt((int)result
);
4291 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxDialog
*arg1
= (wxDialog
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4296 PyObject
* obj1
= 0 ;
4298 (char *) "self",(char *) "retCode", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4304 arg2
= (int) SWIG_AsInt(obj1
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->EndModal(arg2
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 Py_INCREF(Py_None
); resultobj
= Py_None
;
4320 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxDialog
*arg1
= (wxDialog
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4326 (char *) "self", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (bool)wxDialog_IsModalShowing(arg1
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4348 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4351 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4353 return Py_BuildValue((char *)"");
4355 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxWindow
*arg1
= (wxWindow
*) 0 ;
4359 wxString
*arg3
= 0 ;
4360 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4361 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4362 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4363 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4364 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4365 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4366 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4367 wxMiniFrame
*result
;
4368 bool temp3
= False
;
4371 bool temp7
= False
;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4374 PyObject
* obj2
= 0 ;
4375 PyObject
* obj3
= 0 ;
4376 PyObject
* obj4
= 0 ;
4377 PyObject
* obj5
= 0 ;
4378 PyObject
* obj6
= 0 ;
4380 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4386 arg2
= (int const) SWIG_AsInt(obj1
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4389 arg3
= wxString_in_helper(obj2
);
4390 if (arg3
== NULL
) SWIG_fail
;
4396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4406 arg6
= (long) SWIG_AsLong(obj5
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4411 arg7
= wxString_in_helper(obj6
);
4412 if (arg7
== NULL
) SWIG_fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4446 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxMiniFrame
*result
;
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (wxMiniFrame
*)new wxMiniFrame();
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4468 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4471 wxWindow
*arg2
= (wxWindow
*) 0 ;
4473 wxString
*arg4
= 0 ;
4474 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4475 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4476 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4477 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4478 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4479 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4480 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4482 bool temp4
= False
;
4485 bool temp8
= False
;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4488 PyObject
* obj2
= 0 ;
4489 PyObject
* obj3
= 0 ;
4490 PyObject
* obj4
= 0 ;
4491 PyObject
* obj5
= 0 ;
4492 PyObject
* obj6
= 0 ;
4493 PyObject
* obj7
= 0 ;
4495 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4503 arg3
= (int const) SWIG_AsInt(obj2
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 arg4
= wxString_in_helper(obj3
);
4507 if (arg4
== NULL
) SWIG_fail
;
4513 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4519 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4523 arg7
= (long) SWIG_AsLong(obj6
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4528 arg8
= wxString_in_helper(obj7
);
4529 if (arg8
== NULL
) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4565 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4568 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4570 return Py_BuildValue((char *)"");
4572 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxBitmap
*arg1
= 0 ;
4575 wxWindow
*arg2
= (wxWindow
*) 0 ;
4577 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4578 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4579 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4580 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4581 long arg6
= (long) wxNO_BORDER
;
4582 wxSplashScreenWindow
*result
;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4587 PyObject
* obj2
= 0 ;
4588 PyObject
* obj3
= 0 ;
4589 PyObject
* obj4
= 0 ;
4590 PyObject
* obj5
= 0 ;
4592 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4600 PyErr_SetString(PyExc_TypeError
,"null reference");
4603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4605 arg3
= (int) SWIG_AsInt(obj2
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4610 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4616 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4620 arg6
= (long) SWIG_AsLong(obj5
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4637 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4639 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4640 wxBitmap
*arg2
= 0 ;
4641 PyObject
* obj0
= 0 ;
4642 PyObject
* obj1
= 0 ;
4644 (char *) "self",(char *) "bitmap", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4654 PyErr_SetString(PyExc_TypeError
,"null reference");
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4664 Py_INCREF(Py_None
); resultobj
= Py_None
;
4671 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4677 (char *) "self", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4687 result
= (wxBitmap
*) &_result_ref
;
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 wxBitmap
* resultptr
= new wxBitmap(*result
);
4695 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4703 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
4705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4706 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4708 return Py_BuildValue((char *)"");
4710 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxBitmap
*arg1
= 0 ;
4715 wxWindow
*arg4
= (wxWindow
*) 0 ;
4717 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4718 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4719 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4720 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4721 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4722 wxSplashScreen
*result
;
4725 PyObject
* obj0
= 0 ;
4726 PyObject
* obj1
= 0 ;
4727 PyObject
* obj2
= 0 ;
4728 PyObject
* obj3
= 0 ;
4729 PyObject
* obj4
= 0 ;
4730 PyObject
* obj5
= 0 ;
4731 PyObject
* obj6
= 0 ;
4732 PyObject
* obj7
= 0 ;
4734 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4742 PyErr_SetString(PyExc_TypeError
,"null reference");
4745 arg2
= (long) SWIG_AsLong(obj1
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4747 arg3
= (int) SWIG_AsInt(obj2
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4749 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4751 arg5
= (int) SWIG_AsInt(obj4
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4756 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4762 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4766 arg8
= (long) SWIG_AsLong(obj7
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4783 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4787 PyObject
* obj0
= 0 ;
4789 (char *) "self", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= SWIG_FromLong((long)result
);
4809 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4811 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4812 wxSplashScreenWindow
*result
;
4813 PyObject
* obj0
= 0 ;
4815 (char *) "self", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4835 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4837 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4839 PyObject
* obj0
= 0 ;
4841 (char *) "self", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= SWIG_FromInt((int)result
);
4861 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
4863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4864 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4866 return Py_BuildValue((char *)"");
4868 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxWindow
*arg1
= (wxWindow
*) 0 ;
4871 int arg2
= (int) -1 ;
4872 long arg3
= (long) wxST_SIZEGRIP
;
4873 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4874 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4875 wxStatusBar
*result
;
4876 bool temp4
= False
;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4879 PyObject
* obj2
= 0 ;
4880 PyObject
* obj3
= 0 ;
4882 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4889 arg2
= (int) SWIG_AsInt(obj1
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4893 arg3
= (long) SWIG_AsLong(obj2
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4898 arg4
= wxString_in_helper(obj3
);
4899 if (arg4
== NULL
) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= wxPyMake_wxObject(result
);
4927 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxStatusBar
*result
;
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 result
= (wxStatusBar
*)new wxStatusBar();
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= wxPyMake_wxObject(result
);
4951 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4954 wxWindow
*arg2
= (wxWindow
*) 0 ;
4956 long arg4
= (long) wxST_SIZEGRIP
;
4957 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4958 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4960 bool temp5
= False
;
4961 PyObject
* obj0
= 0 ;
4962 PyObject
* obj1
= 0 ;
4963 PyObject
* obj2
= 0 ;
4964 PyObject
* obj3
= 0 ;
4965 PyObject
* obj4
= 0 ;
4967 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4975 arg3
= (int) SWIG_AsInt(obj2
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 arg4
= (long) SWIG_AsLong(obj3
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4983 arg5
= wxString_in_helper(obj4
);
4984 if (arg5
== NULL
) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5012 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
;
5014 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5015 int arg2
= (int) 1 ;
5016 PyObject
* obj0
= 0 ;
5017 PyObject
* obj1
= 0 ;
5019 (char *) "self",(char *) "number", NULL
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5026 arg2
= (int) SWIG_AsInt(obj1
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 (arg1
)->SetFieldsCount(arg2
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 Py_INCREF(Py_None
); resultobj
= Py_None
;
5043 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5047 PyObject
* obj0
= 0 ;
5049 (char *) "self", NULL
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 resultobj
= SWIG_FromInt((int)result
);
5069 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
;
5071 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5072 wxString
*arg2
= 0 ;
5073 int arg3
= (int) 0 ;
5074 bool temp2
= False
;
5075 PyObject
* obj0
= 0 ;
5076 PyObject
* obj1
= 0 ;
5077 PyObject
* obj2
= 0 ;
5079 (char *) "self",(char *) "text",(char *) "number", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5086 arg2
= wxString_in_helper(obj1
);
5087 if (arg2
== NULL
) SWIG_fail
;
5091 arg3
= (int) SWIG_AsInt(obj2
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 Py_INCREF(Py_None
); resultobj
= Py_None
;
5116 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
*resultobj
;
5118 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5119 int arg2
= (int) 0 ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5124 (char *) "self",(char *) "number", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5131 arg2
= (int) SWIG_AsInt(obj1
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5154 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5157 wxString
*arg2
= 0 ;
5158 int arg3
= (int) 0 ;
5159 bool temp2
= False
;
5160 PyObject
* obj0
= 0 ;
5161 PyObject
* obj1
= 0 ;
5162 PyObject
* obj2
= 0 ;
5164 (char *) "self",(char *) "text",(char *) "number", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5171 arg2
= wxString_in_helper(obj1
);
5172 if (arg2
== NULL
) SWIG_fail
;
5176 arg3
= (int) SWIG_AsInt(obj2
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 Py_INCREF(Py_None
); resultobj
= Py_None
;
5201 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5204 int arg2
= (int) 0 ;
5205 PyObject
* obj0
= 0 ;
5206 PyObject
* obj1
= 0 ;
5208 (char *) "self",(char *) "number", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 arg2
= (int) SWIG_AsInt(obj1
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 (arg1
)->PopStatusText(arg2
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 Py_INCREF(Py_None
); resultobj
= Py_None
;
5232 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5236 int *arg3
= (int *) 0 ;
5237 PyObject
* obj0
= 0 ;
5238 PyObject
* obj1
= 0 ;
5240 (char *) "self",(char *) "widths", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 arg2
= PyList_Size(obj1
);
5248 arg3
= int_LIST_helper(obj1
);
5249 if (arg3
== NULL
) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 Py_INCREF(Py_None
); resultobj
= Py_None
;
5260 if (arg3
) delete [] arg3
;
5265 if (arg3
) delete [] arg3
;
5271 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5276 PyObject
* obj0
= 0 ;
5277 PyObject
* obj1
= 0 ;
5279 (char *) "self",(char *) "i", NULL
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5285 arg2
= (int) SWIG_AsInt(obj1
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5296 resultptr
= new wxRect((wxRect
&) result
);
5297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5305 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5310 PyObject
* obj1
= 0 ;
5312 (char *) "self",(char *) "height", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5318 arg2
= (int) SWIG_AsInt(obj1
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 (arg1
)->SetMinHeight(arg2
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 Py_INCREF(Py_None
); resultobj
= Py_None
;
5334 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5338 PyObject
* obj0
= 0 ;
5340 (char *) "self", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_FromInt((int)result
);
5360 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5364 PyObject
* obj0
= 0 ;
5366 (char *) "self", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5379 resultobj
= SWIG_FromInt((int)result
);
5386 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5389 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5391 return Py_BuildValue((char *)"");
5393 static int _wrap_SplitterNameStr_set(PyObject
*) {
5394 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5399 static PyObject
*_wrap_SplitterNameStr_get() {
5404 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5406 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5413 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxWindow
*arg1
= (wxWindow
*) 0 ;
5417 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5418 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5419 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5420 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5421 long arg5
= (long) wxSP_3D
;
5422 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5423 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5424 wxSplitterWindow
*result
;
5427 bool temp6
= False
;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5430 PyObject
* obj2
= 0 ;
5431 PyObject
* obj3
= 0 ;
5432 PyObject
* obj4
= 0 ;
5433 PyObject
* obj5
= 0 ;
5435 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5441 arg2
= (int) SWIG_AsInt(obj1
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5446 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5452 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5456 arg5
= (long) SWIG_AsLong(obj4
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5461 arg6
= wxString_in_helper(obj5
);
5462 if (arg6
== NULL
) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5488 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxSplitterWindow
*result
;
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5510 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5513 wxWindow
*arg2
= (wxWindow
*) 0 ;
5515 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5516 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5517 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5518 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5519 long arg6
= (long) wxSP_3D
;
5520 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5521 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5525 bool temp7
= False
;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5528 PyObject
* obj2
= 0 ;
5529 PyObject
* obj3
= 0 ;
5530 PyObject
* obj4
= 0 ;
5531 PyObject
* obj5
= 0 ;
5532 PyObject
* obj6
= 0 ;
5534 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5542 arg3
= (int) SWIG_AsInt(obj2
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5557 arg6
= (long) SWIG_AsLong(obj5
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5562 arg7
= wxString_in_helper(obj6
);
5563 if (arg7
== NULL
) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5591 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5597 (char *) "self", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= wxPyMake_wxObject(result
);
5619 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5623 PyObject
* obj0
= 0 ;
5625 (char *) "self", NULL
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5639 resultobj
= wxPyMake_wxObject(result
);
5647 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5652 PyObject
* obj1
= 0 ;
5654 (char *) "self",(char *) "mode", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 arg2
= (int) SWIG_AsInt(obj1
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 (arg1
)->SetSplitMode(arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5676 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
;
5678 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5680 PyObject
* obj0
= 0 ;
5682 (char *) "self", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 resultobj
= SWIG_FromInt((int)result
);
5702 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5705 wxWindow
*arg2
= (wxWindow
*) 0 ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5709 (char *) "self",(char *) "window", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 (arg1
)->Initialize(arg2
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 Py_INCREF(Py_None
); resultobj
= Py_None
;
5731 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
;
5733 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5734 wxWindow
*arg2
= (wxWindow
*) 0 ;
5735 wxWindow
*arg3
= (wxWindow
*) 0 ;
5736 int arg4
= (int) 0 ;
5738 PyObject
* obj0
= 0 ;
5739 PyObject
* obj1
= 0 ;
5740 PyObject
* obj2
= 0 ;
5741 PyObject
* obj3
= 0 ;
5743 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5751 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5754 arg4
= (int) SWIG_AsInt(obj3
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5773 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5776 wxWindow
*arg2
= (wxWindow
*) 0 ;
5777 wxWindow
*arg3
= (wxWindow
*) 0 ;
5778 int arg4
= (int) 0 ;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5782 PyObject
* obj2
= 0 ;
5783 PyObject
* obj3
= 0 ;
5785 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5793 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5796 arg4
= (int) SWIG_AsInt(obj3
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5815 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5818 wxWindow
*arg2
= (wxWindow
*) NULL
;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5823 (char *) "self",(char *) "toRemove", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (bool)(arg1
)->Unsplit(arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5849 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5852 wxWindow
*arg2
= (wxWindow
*) 0 ;
5853 wxWindow
*arg3
= (wxWindow
*) 0 ;
5855 PyObject
* obj0
= 0 ;
5856 PyObject
* obj1
= 0 ;
5857 PyObject
* obj2
= 0 ;
5859 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5885 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "self", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 (arg1
)->UpdateSize();
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 Py_INCREF(Py_None
); resultobj
= Py_None
;
5910 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5914 PyObject
* obj0
= 0 ;
5916 (char *) "self", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5938 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
;
5940 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5942 PyObject
* obj0
= 0 ;
5943 PyObject
* obj1
= 0 ;
5945 (char *) "self",(char *) "width", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5951 arg2
= (int) SWIG_AsInt(obj1
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 (arg1
)->SetSashSize(arg2
);
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 Py_INCREF(Py_None
); resultobj
= Py_None
;
5967 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
;
5969 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5972 PyObject
* obj1
= 0 ;
5974 (char *) "self",(char *) "width", NULL
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5980 arg2
= (int) SWIG_AsInt(obj1
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 (arg1
)->SetBorderSize(arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 Py_INCREF(Py_None
); resultobj
= Py_None
;
5996 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6002 (char *) "self", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_FromInt((int)result
);
6022 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6026 PyObject
* obj0
= 0 ;
6028 (char *) "self", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= SWIG_FromInt((int)result
);
6048 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6052 bool arg3
= (bool) True
;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6055 PyObject
* obj2
= 0 ;
6057 (char *) "self",(char *) "position",(char *) "redraw", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6063 arg2
= (int) SWIG_AsInt(obj1
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 arg3
= (bool) SWIG_AsBool(obj2
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 (arg1
)->SetSashPosition(arg2
,arg3
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 Py_INCREF(Py_None
); resultobj
= Py_None
;
6083 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6087 PyObject
* obj0
= 0 ;
6089 (char *) "self", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= SWIG_FromInt((int)result
);
6109 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6114 PyObject
* obj1
= 0 ;
6116 (char *) "self",(char *) "min", NULL
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6122 arg2
= (int) SWIG_AsInt(obj1
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 (arg1
)->SetMinimumPaneSize(arg2
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 Py_INCREF(Py_None
); resultobj
= Py_None
;
6138 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6142 PyObject
* obj0
= 0 ;
6144 (char *) "self", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= SWIG_FromInt((int)result
);
6164 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6169 int arg4
= (int) 5 ;
6171 PyObject
* obj0
= 0 ;
6172 PyObject
* obj1
= 0 ;
6173 PyObject
* obj2
= 0 ;
6174 PyObject
* obj3
= 0 ;
6176 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6182 arg2
= (int) SWIG_AsInt(obj1
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6184 arg3
= (int) SWIG_AsInt(obj2
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 arg4
= (int) SWIG_AsInt(obj3
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6206 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6211 (char *) "self", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 (arg1
)->SizeWindows();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 Py_INCREF(Py_None
); resultobj
= Py_None
;
6231 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6235 PyObject
* obj0
= 0 ;
6236 PyObject
* obj1
= 0 ;
6238 (char *) "self",(char *) "needUpdating", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6244 arg2
= (bool) SWIG_AsBool(obj1
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 (arg1
)->SetNeedUpdating(arg2
);
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 Py_INCREF(Py_None
); resultobj
= Py_None
;
6260 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6264 PyObject
* obj0
= 0 ;
6266 (char *) "self", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6288 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6291 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6293 return Py_BuildValue((char *)"");
6295 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6298 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6299 wxSplitterEvent
*result
;
6300 PyObject
* obj0
= 0 ;
6301 PyObject
* obj1
= 0 ;
6303 (char *) "type",(char *) "splitter", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6308 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6329 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6336 (char *) "self",(char *) "pos", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 arg2
= (int) SWIG_AsInt(obj1
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 (arg1
)->SetSashPosition(arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 Py_INCREF(Py_None
); resultobj
= Py_None
;
6358 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6364 (char *) "self", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= SWIG_FromInt((int)result
);
6384 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
;
6386 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6388 PyObject
* obj0
= 0 ;
6390 (char *) "self", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6404 resultobj
= wxPyMake_wxObject(result
);
6412 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6416 PyObject
* obj0
= 0 ;
6418 (char *) "self", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= SWIG_FromInt((int)result
);
6438 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= SWIG_FromInt((int)result
);
6464 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6467 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6469 return Py_BuildValue((char *)"");
6471 static int _wrap_SashNameStr_set(PyObject
*) {
6472 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6477 static PyObject
*_wrap_SashNameStr_get() {
6482 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6484 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6491 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6492 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6497 static PyObject
*_wrap_SashLayoutNameStr_get() {
6502 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6504 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6511 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxWindow
*arg1
= (wxWindow
*) 0 ;
6515 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6516 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6517 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6518 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6519 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6520 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6521 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6522 wxSashWindow
*result
;
6525 bool temp6
= False
;
6526 PyObject
* obj0
= 0 ;
6527 PyObject
* obj1
= 0 ;
6528 PyObject
* obj2
= 0 ;
6529 PyObject
* obj3
= 0 ;
6530 PyObject
* obj4
= 0 ;
6531 PyObject
* obj5
= 0 ;
6533 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6539 arg2
= (int) SWIG_AsInt(obj1
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6544 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6550 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6554 arg5
= (long) SWIG_AsLong(obj4
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6559 arg6
= wxString_in_helper(obj5
);
6560 if (arg6
== NULL
) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6586 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxSashWindow
*result
;
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (wxSashWindow
*)new wxSashWindow();
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6608 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6611 wxWindow
*arg2
= (wxWindow
*) 0 ;
6613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6617 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6618 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6623 bool temp7
= False
;
6624 PyObject
* obj0
= 0 ;
6625 PyObject
* obj1
= 0 ;
6626 PyObject
* obj2
= 0 ;
6627 PyObject
* obj3
= 0 ;
6628 PyObject
* obj4
= 0 ;
6629 PyObject
* obj5
= 0 ;
6630 PyObject
* obj6
= 0 ;
6632 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6640 arg3
= (int) SWIG_AsInt(obj2
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6645 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6651 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6655 arg6
= (long) SWIG_AsLong(obj5
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6660 arg7
= wxString_in_helper(obj6
);
6661 if (arg7
== NULL
) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6689 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6694 PyObject
* obj0
= 0 ;
6695 PyObject
* obj1
= 0 ;
6696 PyObject
* obj2
= 0 ;
6698 (char *) "self",(char *) "edge",(char *) "sash", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6704 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6706 arg3
= (bool) SWIG_AsBool(obj2
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 Py_INCREF(Py_None
); resultobj
= Py_None
;
6722 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6724 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6728 PyObject
* obj1
= 0 ;
6730 (char *) "self",(char *) "edge", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6736 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6754 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
;
6756 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6759 PyObject
* obj0
= 0 ;
6760 PyObject
* obj1
= 0 ;
6761 PyObject
* obj2
= 0 ;
6763 (char *) "self",(char *) "edge",(char *) "border", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6769 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6771 arg3
= (bool) SWIG_AsBool(obj2
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 Py_INCREF(Py_None
); resultobj
= Py_None
;
6787 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
;
6789 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6792 PyObject
* obj0
= 0 ;
6793 PyObject
* obj1
= 0 ;
6795 (char *) "self",(char *) "edge", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6801 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6819 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
;
6821 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6825 PyObject
* obj1
= 0 ;
6827 (char *) "self",(char *) "edge", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6833 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= SWIG_FromInt((int)result
);
6849 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6856 (char *) "self",(char *) "width", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 arg2
= (int) SWIG_AsInt(obj1
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 (arg1
)->SetDefaultBorderSize(arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 Py_INCREF(Py_None
); resultobj
= Py_None
;
6878 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6882 PyObject
* obj0
= 0 ;
6884 (char *) "self", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_FromInt((int)result
);
6904 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6911 (char *) "self",(char *) "width", NULL
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6917 arg2
= (int) SWIG_AsInt(obj1
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 (arg1
)->SetExtraBorderSize(arg2
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 Py_INCREF(Py_None
); resultobj
= Py_None
;
6933 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6939 (char *) "self", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_FromInt((int)result
);
6959 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6966 (char *) "self",(char *) "min", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6972 arg2
= (int) SWIG_AsInt(obj1
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 (arg1
)->SetMinimumSizeX(arg2
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 Py_INCREF(Py_None
); resultobj
= Py_None
;
6988 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6992 PyObject
* obj0
= 0 ;
6993 PyObject
* obj1
= 0 ;
6995 (char *) "self",(char *) "min", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7001 arg2
= (int) SWIG_AsInt(obj1
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 (arg1
)->SetMinimumSizeY(arg2
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 Py_INCREF(Py_None
); resultobj
= Py_None
;
7017 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= SWIG_FromInt((int)result
);
7043 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7047 PyObject
* obj0
= 0 ;
7049 (char *) "self", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 resultobj
= SWIG_FromInt((int)result
);
7069 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7076 (char *) "self",(char *) "max", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7082 arg2
= (int) SWIG_AsInt(obj1
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 (arg1
)->SetMaximumSizeX(arg2
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 Py_INCREF(Py_None
); resultobj
= Py_None
;
7098 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7103 PyObject
* obj1
= 0 ;
7105 (char *) "self",(char *) "max", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7111 arg2
= (int) SWIG_AsInt(obj1
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 (arg1
)->SetMaximumSizeY(arg2
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 Py_INCREF(Py_None
); resultobj
= Py_None
;
7127 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7133 (char *) "self", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= SWIG_FromInt((int)result
);
7153 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7159 (char *) "self", NULL
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= SWIG_FromInt((int)result
);
7179 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7184 int arg4
= (int) 2 ;
7186 PyObject
* obj0
= 0 ;
7187 PyObject
* obj1
= 0 ;
7188 PyObject
* obj2
= 0 ;
7189 PyObject
* obj3
= 0 ;
7191 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7197 arg2
= (int) SWIG_AsInt(obj1
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7199 arg3
= (int) SWIG_AsInt(obj2
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 arg4
= (int) SWIG_AsInt(obj3
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= SWIG_FromInt((int)result
);
7219 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "self", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 (arg1
)->SizeWindows();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7244 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7247 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7249 return Py_BuildValue((char *)"");
7251 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 int arg1
= (int) 0 ;
7254 int arg2
= (int) wxSASH_NONE
;
7255 wxSashEvent
*result
;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7259 (char *) "id",(char *) "edge", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7264 arg1
= (int) SWIG_AsInt(obj0
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7268 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7285 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
;
7287 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7289 PyObject
* obj0
= 0 ;
7290 PyObject
* obj1
= 0 ;
7292 (char *) "self",(char *) "edge", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7298 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 Py_INCREF(Py_None
); resultobj
= Py_None
;
7314 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7316 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7318 PyObject
* obj0
= 0 ;
7320 (char *) "self", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= SWIG_FromInt((int)result
);
7340 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7342 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7345 PyObject
* obj0
= 0 ;
7346 PyObject
* obj1
= 0 ;
7348 (char *) "self",(char *) "rect", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7356 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 Py_INCREF(Py_None
); resultobj
= Py_None
;
7372 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
;
7374 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7376 PyObject
* obj0
= 0 ;
7378 (char *) "self", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7393 resultptr
= new wxRect((wxRect
&) result
);
7394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7402 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7407 PyObject
* obj1
= 0 ;
7409 (char *) "self",(char *) "status", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7415 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 Py_INCREF(Py_None
); resultobj
= Py_None
;
7431 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7437 (char *) "self", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= SWIG_FromInt((int)result
);
7457 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7460 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7462 return Py_BuildValue((char *)"");
7464 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 int arg1
= (int) 0 ;
7467 wxQueryLayoutInfoEvent
*result
;
7468 PyObject
* obj0
= 0 ;
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7475 arg1
= (int) SWIG_AsInt(obj0
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7492 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7496 PyObject
* obj0
= 0 ;
7497 PyObject
* obj1
= 0 ;
7499 (char *) "self",(char *) "length", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7505 arg2
= (int) SWIG_AsInt(obj1
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 (arg1
)->SetRequestedLength(arg2
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 Py_INCREF(Py_None
); resultobj
= Py_None
;
7521 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7527 (char *) "self", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_FromInt((int)result
);
7547 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7554 (char *) "self",(char *) "flags", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7560 arg2
= (int) SWIG_AsInt(obj1
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 (arg1
)->SetFlags(arg2
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 Py_INCREF(Py_None
); resultobj
= Py_None
;
7576 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7580 PyObject
* obj0
= 0 ;
7582 (char *) "self", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= SWIG_FromInt((int)result
);
7602 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7604 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7607 PyObject
* obj0
= 0 ;
7608 PyObject
* obj1
= 0 ;
7610 (char *) "self",(char *) "size", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7618 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 (arg1
)->SetSize((wxSize
const &)*arg2
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 Py_INCREF(Py_None
); resultobj
= Py_None
;
7634 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
;
7636 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7640 (char *) "self", NULL
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7655 resultptr
= new wxSize((wxSize
&) result
);
7656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7664 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7669 PyObject
* obj1
= 0 ;
7671 (char *) "self",(char *) "orient", NULL
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7686 Py_INCREF(Py_None
); resultobj
= Py_None
;
7693 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7697 PyObject
* obj0
= 0 ;
7699 (char *) "self", NULL
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= SWIG_FromInt((int)result
);
7719 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7723 PyObject
* obj0
= 0 ;
7724 PyObject
* obj1
= 0 ;
7726 (char *) "self",(char *) "align", NULL
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7732 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 Py_INCREF(Py_None
); resultobj
= Py_None
;
7748 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7752 PyObject
* obj0
= 0 ;
7754 (char *) "self", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= SWIG_FromInt((int)result
);
7774 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
7776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7777 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7779 return Py_BuildValue((char *)"");
7781 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 int arg1
= (int) 0 ;
7784 wxCalculateLayoutEvent
*result
;
7785 PyObject
* obj0
= 0 ;
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7792 arg1
= (int) SWIG_AsInt(obj0
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7809 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7814 PyObject
* obj1
= 0 ;
7816 (char *) "self",(char *) "flags", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7822 arg2
= (int) SWIG_AsInt(obj1
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 (arg1
)->SetFlags(arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 Py_INCREF(Py_None
); resultobj
= Py_None
;
7838 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_FromInt((int)result
);
7864 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7872 (char *) "self",(char *) "rect", NULL
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7880 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 (arg1
)->SetRect((wxRect
const &)*arg2
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 Py_INCREF(Py_None
); resultobj
= Py_None
;
7896 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7900 PyObject
* obj0
= 0 ;
7902 (char *) "self", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7917 resultptr
= new wxRect((wxRect
&) result
);
7918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7926 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
7928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7929 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7931 return Py_BuildValue((char *)"");
7933 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxWindow
*arg1
= (wxWindow
*) 0 ;
7937 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7938 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7939 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7940 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7941 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7942 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7943 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7944 wxSashLayoutWindow
*result
;
7947 bool temp6
= False
;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 PyObject
* obj2
= 0 ;
7951 PyObject
* obj3
= 0 ;
7952 PyObject
* obj4
= 0 ;
7953 PyObject
* obj5
= 0 ;
7955 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7961 arg2
= (int) SWIG_AsInt(obj1
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7972 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7976 arg5
= (long) SWIG_AsLong(obj4
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7981 arg6
= wxString_in_helper(obj5
);
7982 if (arg6
== NULL
) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8008 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
;
8010 wxSashLayoutWindow
*result
;
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8030 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8033 wxWindow
*arg2
= (wxWindow
*) 0 ;
8035 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8036 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8037 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8038 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8039 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8040 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8041 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8045 bool temp7
= False
;
8046 PyObject
* obj0
= 0 ;
8047 PyObject
* obj1
= 0 ;
8048 PyObject
* obj2
= 0 ;
8049 PyObject
* obj3
= 0 ;
8050 PyObject
* obj4
= 0 ;
8051 PyObject
* obj5
= 0 ;
8052 PyObject
* obj6
= 0 ;
8054 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8062 arg3
= (int) SWIG_AsInt(obj2
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8067 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8073 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8077 arg6
= (long) SWIG_AsLong(obj5
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8082 arg7
= wxString_in_helper(obj6
);
8083 if (arg7
== NULL
) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8111 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8117 (char *) "self", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 result
= (int)(arg1
)->GetAlignment();
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= SWIG_FromInt((int)result
);
8137 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8141 PyObject
* obj0
= 0 ;
8143 (char *) "self", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (int)(arg1
)->GetOrientation();
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= SWIG_FromInt((int)result
);
8163 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8170 (char *) "self",(char *) "alignment", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8176 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 Py_INCREF(Py_None
); resultobj
= Py_None
;
8192 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8197 PyObject
* obj0
= 0 ;
8198 PyObject
* obj1
= 0 ;
8200 (char *) "self",(char *) "size", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8208 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 Py_INCREF(Py_None
); resultobj
= Py_None
;
8224 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8228 PyObject
* obj0
= 0 ;
8229 PyObject
* obj1
= 0 ;
8231 (char *) "self",(char *) "orientation", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8237 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 Py_INCREF(Py_None
); resultobj
= Py_None
;
8253 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8256 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8258 return Py_BuildValue((char *)"");
8260 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxLayoutAlgorithm
*result
;
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8282 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8285 PyObject
* obj0
= 0 ;
8287 (char *) "self", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8300 Py_INCREF(Py_None
); resultobj
= Py_None
;
8307 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
*resultobj
;
8309 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8310 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8311 wxRect
*arg3
= (wxRect
*) NULL
;
8313 PyObject
* obj0
= 0 ;
8314 PyObject
* obj1
= 0 ;
8315 PyObject
* obj2
= 0 ;
8317 (char *) "self",(char *) "frame",(char *) "rect", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8326 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8345 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8348 wxFrame
*arg2
= (wxFrame
*) 0 ;
8349 wxWindow
*arg3
= (wxWindow
*) NULL
;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8353 PyObject
* obj2
= 0 ;
8355 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8364 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8383 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8386 wxWindow
*arg2
= (wxWindow
*) 0 ;
8387 wxWindow
*arg3
= (wxWindow
*) NULL
;
8389 PyObject
* obj0
= 0 ;
8390 PyObject
* obj1
= 0 ;
8391 PyObject
* obj2
= 0 ;
8393 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8402 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8421 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8424 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8426 return Py_BuildValue((char *)"");
8428 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxWindow
*arg1
= (wxWindow
*) 0 ;
8431 int arg2
= (int) wxBORDER_NONE
;
8432 wxPopupWindow
*result
;
8433 PyObject
* obj0
= 0 ;
8434 PyObject
* obj1
= 0 ;
8436 (char *) "parent",(char *) "flags", NULL
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8443 arg2
= (int) SWIG_AsInt(obj1
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8460 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxPopupWindow
*result
;
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (wxPopupWindow
*)new wxPopupWindow();
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8482 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
8484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8485 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8487 return Py_BuildValue((char *)"");
8489 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxWindow
*arg1
= (wxWindow
*) 0 ;
8492 int arg2
= (int) wxBORDER_NONE
;
8493 wxPyPopupTransientWindow
*result
;
8494 PyObject
* obj0
= 0 ;
8495 PyObject
* obj1
= 0 ;
8497 (char *) "parent",(char *) "style", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8504 arg2
= (int) SWIG_AsInt(obj1
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8521 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxPyPopupTransientWindow
*result
;
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8543 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
8545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8546 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8548 return Py_BuildValue((char *)"");
8550 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
;
8552 wxWindow
*arg1
= (wxWindow
*) 0 ;
8553 wxString
*arg2
= 0 ;
8554 int arg3
= (int) 100 ;
8555 wxRect
*arg4
= (wxRect
*) NULL
;
8556 wxTipWindow
*result
;
8557 bool temp2
= False
;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8560 PyObject
* obj2
= 0 ;
8561 PyObject
* obj3
= 0 ;
8563 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8570 arg2
= wxString_in_helper(obj1
);
8571 if (arg2
== NULL
) SWIG_fail
;
8575 arg3
= (int) SWIG_AsInt(obj2
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8579 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8604 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8609 PyObject
* obj0
= 0 ;
8610 PyObject
* obj1
= 0 ;
8612 (char *) "self",(char *) "rectBound", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 Py_INCREF(Py_None
); resultobj
= Py_None
;
8636 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
;
8638 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8639 PyObject
* obj0
= 0 ;
8641 (char *) "self", NULL
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 Py_INCREF(Py_None
); resultobj
= Py_None
;
8661 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
8663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8664 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8666 return Py_BuildValue((char *)"");
8668 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxWindow
*arg1
= (wxWindow
*) 0 ;
8671 int arg2
= (int) wxID_ANY
;
8672 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8673 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8674 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8675 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8676 long arg5
= (long) 0 ;
8677 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8678 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8679 wxPyVScrolledWindow
*result
;
8682 bool temp6
= False
;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8685 PyObject
* obj2
= 0 ;
8686 PyObject
* obj3
= 0 ;
8687 PyObject
* obj4
= 0 ;
8688 PyObject
* obj5
= 0 ;
8690 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8697 arg2
= (int) SWIG_AsInt(obj1
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8709 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8713 arg5
= (long) SWIG_AsLong(obj4
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8718 arg6
= wxString_in_helper(obj5
);
8719 if (arg6
== NULL
) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8745 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxPyVScrolledWindow
*result
;
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8767 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8769 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8770 PyObject
*arg2
= (PyObject
*) 0 ;
8771 PyObject
*arg3
= (PyObject
*) 0 ;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8774 PyObject
* obj2
= 0 ;
8776 (char *) "self",(char *) "self",(char *) "_class", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8801 wxWindow
*arg2
= (wxWindow
*) 0 ;
8802 int arg3
= (int) wxID_ANY
;
8803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8807 long arg6
= (long) 0 ;
8808 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8809 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8813 bool temp7
= False
;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8816 PyObject
* obj2
= 0 ;
8817 PyObject
* obj3
= 0 ;
8818 PyObject
* obj4
= 0 ;
8819 PyObject
* obj5
= 0 ;
8820 PyObject
* obj6
= 0 ;
8822 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8831 arg3
= (int) SWIG_AsInt(obj2
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8847 arg6
= (long) SWIG_AsLong(obj5
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8852 arg7
= wxString_in_helper(obj6
);
8853 if (arg7
== NULL
) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8881 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8888 (char *) "self",(char *) "count", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8894 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 (arg1
)->SetLineCount(arg2
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 Py_INCREF(Py_None
); resultobj
= Py_None
;
8910 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8918 (char *) "self",(char *) "line", NULL
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8924 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8942 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8950 (char *) "self",(char *) "lines", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8956 arg2
= (int) SWIG_AsInt(obj1
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 result
= (bool)(arg1
)->ScrollLines(arg2
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8974 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8979 PyObject
* obj0
= 0 ;
8980 PyObject
* obj1
= 0 ;
8982 (char *) "self",(char *) "pages", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8988 arg2
= (int) SWIG_AsInt(obj1
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 result
= (bool)(arg1
)->ScrollPages(arg2
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9006 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9008 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9013 (char *) "self",(char *) "line", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 (arg1
)->RefreshLine(arg2
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 Py_INCREF(Py_None
); resultobj
= Py_None
;
9035 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9041 PyObject
* obj1
= 0 ;
9042 PyObject
* obj2
= 0 ;
9044 (char *) "self",(char *) "from",(char *) "to", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9050 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9052 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 (arg1
)->RefreshLines(arg2
,arg3
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 Py_INCREF(Py_None
); resultobj
= Py_None
;
9068 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 PyObject
* obj2
= 0 ;
9078 (char *) "self",(char *) "x",(char *) "y", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 arg2
= (int) SWIG_AsInt(obj1
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9086 arg3
= (int) SWIG_AsInt(obj2
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_FromInt((int)result
);
9102 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9111 (char *) "self",(char *) "pt", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= SWIG_FromInt((int)result
);
9135 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9138 PyObject
* obj0
= 0 ;
9140 (char *) "self", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 (arg1
)->RefreshAll();
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 Py_INCREF(Py_None
); resultobj
= Py_None
;
9160 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
;
9162 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9166 (char *) "self", NULL
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9186 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9190 PyObject
* obj0
= 0 ;
9192 (char *) "self", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9212 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9216 PyObject
* obj0
= 0 ;
9218 (char *) "self", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9238 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9246 (char *) "self",(char *) "line", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9252 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9270 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9273 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9275 return Py_BuildValue((char *)"");
9277 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9278 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9283 static PyObject
*_wrap_VListBoxNameStr_get() {
9288 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9290 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9297 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxWindow
*arg1
= (wxWindow
*) 0 ;
9300 int arg2
= (int) wxID_ANY
;
9301 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9302 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9303 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9304 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9305 long arg5
= (long) 0 ;
9306 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9307 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9308 wxPyVListBox
*result
;
9311 bool temp6
= False
;
9312 PyObject
* obj0
= 0 ;
9313 PyObject
* obj1
= 0 ;
9314 PyObject
* obj2
= 0 ;
9315 PyObject
* obj3
= 0 ;
9316 PyObject
* obj4
= 0 ;
9317 PyObject
* obj5
= 0 ;
9319 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9326 arg2
= (int) SWIG_AsInt(obj1
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9332 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9338 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9342 arg5
= (long) SWIG_AsLong(obj4
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9347 arg6
= wxString_in_helper(obj5
);
9348 if (arg6
== NULL
) SWIG_fail
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9374 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxPyVListBox
*result
;
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= (wxPyVListBox
*)new wxPyVListBox();
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9396 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9399 PyObject
*arg2
= (PyObject
*) 0 ;
9400 PyObject
*arg3
= (PyObject
*) 0 ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 PyObject
* obj2
= 0 ;
9405 (char *) "self",(char *) "self",(char *) "_class", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 Py_INCREF(Py_None
); resultobj
= Py_None
;
9427 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9430 wxWindow
*arg2
= (wxWindow
*) 0 ;
9431 int arg3
= (int) wxID_ANY
;
9432 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9433 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9434 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9435 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9436 long arg6
= (long) 0 ;
9437 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9438 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9442 bool temp7
= False
;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9445 PyObject
* obj2
= 0 ;
9446 PyObject
* obj3
= 0 ;
9447 PyObject
* obj4
= 0 ;
9448 PyObject
* obj5
= 0 ;
9449 PyObject
* obj6
= 0 ;
9451 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9460 arg3
= (int) SWIG_AsInt(obj2
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9466 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9472 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9476 arg6
= (long) SWIG_AsLong(obj5
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9481 arg7
= wxString_in_helper(obj6
);
9482 if (arg7
== NULL
) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9510 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "self", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9536 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9542 (char *) "self", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9564 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9570 (char *) "self", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_FromInt((int)result
);
9590 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9598 (char *) "self",(char *) "item", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9604 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9622 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9627 PyObject
* obj0
= 0 ;
9628 PyObject
* obj1
= 0 ;
9630 (char *) "self",(char *) "item", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9636 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9654 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9658 PyObject
* obj0
= 0 ;
9660 (char *) "self", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9680 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9683 unsigned long *arg2
= 0 ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9688 (char *) "self",(char *) "cookie", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9698 PyErr_SetString(PyExc_TypeError
,"null reference");
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= SWIG_FromInt((int)result
);
9715 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9718 unsigned long *arg2
= 0 ;
9720 PyObject
* obj0
= 0 ;
9721 PyObject
* obj1
= 0 ;
9723 (char *) "self",(char *) "cookie", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9733 PyErr_SetString(PyExc_TypeError
,"null reference");
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= SWIG_FromInt((int)result
);
9750 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "self", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9770 wxPoint
* resultptr
;
9771 resultptr
= new wxPoint((wxPoint
&) result
);
9772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9780 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
;
9782 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9786 (char *) "self", NULL
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9796 result
= (wxColour
*) &_result_ref
;
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9809 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9816 (char *) "self",(char *) "count", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9822 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 (arg1
)->SetItemCount(arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 Py_INCREF(Py_None
); resultobj
= Py_None
;
9838 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9843 (char *) "self", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 Py_INCREF(Py_None
); resultobj
= Py_None
;
9863 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9868 PyObject
* obj1
= 0 ;
9870 (char *) "self",(char *) "selection", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 arg2
= (int) SWIG_AsInt(obj1
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 (arg1
)->SetSelection(arg2
);
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 Py_INCREF(Py_None
); resultobj
= Py_None
;
9892 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9896 bool arg3
= (bool) True
;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9900 PyObject
* obj2
= 0 ;
9902 (char *) "self",(char *) "item",(char *) "select", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9908 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 arg3
= (bool) SWIG_AsBool(obj2
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9930 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9936 PyObject
* obj0
= 0 ;
9937 PyObject
* obj1
= 0 ;
9938 PyObject
* obj2
= 0 ;
9940 (char *) "self",(char *) "from",(char *) "to", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9946 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9948 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9966 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9973 (char *) "self",(char *) "item", NULL
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9979 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 (arg1
)->Toggle(arg2
);
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9988 Py_INCREF(Py_None
); resultobj
= Py_None
;
9995 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9999 PyObject
* obj0
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "self", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= (bool)(arg1
)->SelectAll();
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10023 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10027 PyObject
* obj0
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 result
= (bool)(arg1
)->DeselectAll();
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10051 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
;
10053 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10054 wxPoint
*arg2
= 0 ;
10056 PyObject
* obj0
= 0 ;
10057 PyObject
* obj1
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "self",(char *) "pt", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 Py_INCREF(Py_None
); resultobj
= Py_None
;
10083 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 PyObject
* obj2
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "self",(char *) "x",(char *) "y", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10098 arg2
= (int) SWIG_AsInt(obj1
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10100 arg3
= (int) SWIG_AsInt(obj2
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 (arg1
)->SetMargins(arg2
,arg3
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 Py_INCREF(Py_None
); resultobj
= Py_None
;
10116 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10119 wxColour
*arg2
= 0 ;
10121 PyObject
* obj0
= 0 ;
10122 PyObject
* obj1
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self",(char *) "col", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 Py_INCREF(Py_None
); resultobj
= Py_None
;
10148 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10151 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10153 return Py_BuildValue((char *)"");
10155 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
;
10157 wxWindow
*arg1
= (wxWindow
*) 0 ;
10158 int arg2
= (int) wxID_ANY
;
10159 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10160 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10161 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10162 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10163 long arg5
= (long) 0 ;
10164 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10165 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10166 wxPyHtmlListBox
*result
;
10169 bool temp6
= False
;
10170 PyObject
* obj0
= 0 ;
10171 PyObject
* obj1
= 0 ;
10172 PyObject
* obj2
= 0 ;
10173 PyObject
* obj3
= 0 ;
10174 PyObject
* obj4
= 0 ;
10175 PyObject
* obj5
= 0 ;
10176 char *kwnames
[] = {
10177 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10184 arg2
= (int) SWIG_AsInt(obj1
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10190 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10196 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10200 arg5
= (long) SWIG_AsLong(obj4
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10205 arg6
= wxString_in_helper(obj5
);
10206 if (arg6
== NULL
) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10232 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
;
10234 wxPyHtmlListBox
*result
;
10235 char *kwnames
[] = {
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10254 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10257 PyObject
*arg2
= (PyObject
*) 0 ;
10258 PyObject
*arg3
= (PyObject
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 PyObject
* obj2
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "self",(char *) "self",(char *) "_class", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 Py_INCREF(Py_None
); resultobj
= Py_None
;
10285 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10288 wxWindow
*arg2
= (wxWindow
*) 0 ;
10289 int arg3
= (int) wxID_ANY
;
10290 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10291 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10292 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10293 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10294 long arg6
= (long) 0 ;
10295 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10296 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10300 bool temp7
= False
;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 PyObject
* obj2
= 0 ;
10304 PyObject
* obj3
= 0 ;
10305 PyObject
* obj4
= 0 ;
10306 PyObject
* obj5
= 0 ;
10307 PyObject
* obj6
= 0 ;
10308 char *kwnames
[] = {
10309 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10318 arg3
= (int) SWIG_AsInt(obj2
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10334 arg6
= (long) SWIG_AsLong(obj5
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10339 arg7
= wxString_in_helper(obj6
);
10340 if (arg7
== NULL
) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10368 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10371 PyObject
* obj0
= 0 ;
10372 char *kwnames
[] = {
10373 (char *) "self", NULL
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->RefreshAll();
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10397 PyObject
* obj0
= 0 ;
10398 PyObject
* obj1
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "self",(char *) "count", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10406 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 (arg1
)->SetItemCount(arg2
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 Py_INCREF(Py_None
); resultobj
= Py_None
;
10422 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
10424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10425 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10427 return Py_BuildValue((char *)"");
10429 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
*resultobj
;
10431 wxTaskBarIcon
*result
;
10432 char *kwnames
[] = {
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10451 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 Py_INCREF(Py_None
); resultobj
= Py_None
;
10476 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
10478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10479 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10481 return Py_BuildValue((char *)"");
10483 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10486 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10487 wxTaskBarIconEvent
*result
;
10488 PyObject
* obj0
= 0 ;
10489 PyObject
* obj1
= 0 ;
10490 char *kwnames
[] = {
10491 (char *) "evtType",(char *) "tbIcon", NULL
10494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10495 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10513 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
10515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10516 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10518 return Py_BuildValue((char *)"");
10520 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
10521 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10526 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10531 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10533 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10540 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
10541 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10546 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10551 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10553 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10560 static int _wrap_DirDialogNameStr_set(PyObject
*) {
10561 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10566 static PyObject
*_wrap_DirDialogNameStr_get() {
10571 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10573 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10580 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
10581 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10586 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10591 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10593 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10600 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
10601 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10606 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10611 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10613 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10620 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
10621 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10626 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10631 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10633 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10640 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxColourData
*result
;
10643 char *kwnames
[] = {
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (wxColourData
*)new wxColourData();
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10662 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxColourData
*arg1
= (wxColourData
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 Py_INCREF(Py_None
); resultobj
= Py_None
;
10687 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxColourData
*arg1
= (wxColourData
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (bool)(arg1
)->GetChooseFull();
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10715 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxColourData
*arg1
= (wxColourData
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 char *kwnames
[] = {
10721 (char *) "self", NULL
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (arg1
)->GetColour();
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10735 wxColour
* resultptr
;
10736 resultptr
= new wxColour((wxColour
&) result
);
10737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10745 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxColourData
*arg1
= (wxColourData
*) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 char *kwnames
[] = {
10753 (char *) "self",(char *) "i", NULL
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10759 arg2
= (int) SWIG_AsInt(obj1
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (arg1
)->GetCustomColour(arg2
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10769 wxColour
* resultptr
;
10770 resultptr
= new wxColour((wxColour
&) result
);
10771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10779 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxColourData
*arg1
= (wxColourData
*) 0 ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self",(char *) "flag", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10792 arg2
= (int) SWIG_AsInt(obj1
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetChooseFull(arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 Py_INCREF(Py_None
); resultobj
= Py_None
;
10808 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxColourData
*arg1
= (wxColourData
*) 0 ;
10811 wxColour
*arg2
= 0 ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self",(char *) "colour", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10824 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 (arg1
)->SetColour((wxColour
const &)*arg2
);
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10833 Py_INCREF(Py_None
); resultobj
= Py_None
;
10840 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxColourData
*arg1
= (wxColourData
*) 0 ;
10844 wxColour
*arg3
= 0 ;
10846 PyObject
* obj0
= 0 ;
10847 PyObject
* obj1
= 0 ;
10848 PyObject
* obj2
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "i",(char *) "colour", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10856 arg2
= (int) SWIG_AsInt(obj1
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10860 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 Py_INCREF(Py_None
); resultobj
= Py_None
;
10876 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
10878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10879 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10881 return Py_BuildValue((char *)"");
10883 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxWindow
*arg1
= (wxWindow
*) 0 ;
10886 wxColourData
*arg2
= (wxColourData
*) NULL
;
10887 wxColourDialog
*result
;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "parent",(char *) "data", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
10899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
10915 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10918 wxColourData
*result
;
10919 PyObject
* obj0
= 0 ;
10920 char *kwnames
[] = {
10921 (char *) "self", NULL
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
10926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10931 result
= (wxColourData
*) &_result_ref
;
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
10944 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
10946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10947 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
10949 return Py_BuildValue((char *)"");
10951 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
;
10953 wxWindow
*arg1
= (wxWindow
*) 0 ;
10954 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
10955 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10956 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10957 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10958 long arg4
= (long) 0 ;
10959 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10960 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10961 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10962 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10963 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10964 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10965 wxDirDialog
*result
;
10966 bool temp2
= False
;
10967 bool temp3
= False
;
10970 bool temp7
= False
;
10971 PyObject
* obj0
= 0 ;
10972 PyObject
* obj1
= 0 ;
10973 PyObject
* obj2
= 0 ;
10974 PyObject
* obj3
= 0 ;
10975 PyObject
* obj4
= 0 ;
10976 PyObject
* obj5
= 0 ;
10977 PyObject
* obj6
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10987 arg2
= wxString_in_helper(obj1
);
10988 if (arg2
== NULL
) SWIG_fail
;
10994 arg3
= wxString_in_helper(obj2
);
10995 if (arg3
== NULL
) SWIG_fail
;
11000 arg4
= (long) SWIG_AsLong(obj3
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11006 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11012 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11017 arg7
= wxString_in_helper(obj6
);
11018 if (arg7
== NULL
) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11060 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11064 PyObject
* obj0
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (arg1
)->GetPath();
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11092 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= (arg1
)->GetMessage();
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11124 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
;
11126 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11128 PyObject
* obj0
= 0 ;
11129 char *kwnames
[] = {
11130 (char *) "self", NULL
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= (long)(arg1
)->GetStyle();
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11143 resultobj
= SWIG_FromLong((long)result
);
11150 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11152 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11153 wxString
*arg2
= 0 ;
11154 bool temp2
= False
;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self",(char *) "message", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 arg2
= wxString_in_helper(obj1
);
11166 if (arg2
== NULL
) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 (arg1
)->SetMessage((wxString
const &)*arg2
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 Py_INCREF(Py_None
); resultobj
= Py_None
;
11191 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11194 wxString
*arg2
= 0 ;
11195 bool temp2
= False
;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "path", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11206 arg2
= wxString_in_helper(obj1
);
11207 if (arg2
== NULL
) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 (arg1
)->SetPath((wxString
const &)*arg2
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 Py_INCREF(Py_None
); resultobj
= Py_None
;
11232 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
11234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11235 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11237 return Py_BuildValue((char *)"");
11239 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxWindow
*arg1
= (wxWindow
*) 0 ;
11242 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11243 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11244 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11245 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11246 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11247 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11248 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11249 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11250 long arg6
= (long) 0 ;
11251 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11252 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11253 wxFileDialog
*result
;
11254 bool temp2
= False
;
11255 bool temp3
= False
;
11256 bool temp4
= False
;
11257 bool temp5
= False
;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 PyObject
* obj3
= 0 ;
11263 PyObject
* obj4
= 0 ;
11264 PyObject
* obj5
= 0 ;
11265 PyObject
* obj6
= 0 ;
11266 char *kwnames
[] = {
11267 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11275 arg2
= wxString_in_helper(obj1
);
11276 if (arg2
== NULL
) SWIG_fail
;
11282 arg3
= wxString_in_helper(obj2
);
11283 if (arg3
== NULL
) SWIG_fail
;
11289 arg4
= wxString_in_helper(obj3
);
11290 if (arg4
== NULL
) SWIG_fail
;
11296 arg5
= wxString_in_helper(obj4
);
11297 if (arg5
== NULL
) SWIG_fail
;
11302 arg6
= (long) SWIG_AsLong(obj5
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11308 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11357 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11360 wxString
*arg2
= 0 ;
11361 bool temp2
= False
;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self",(char *) "message", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11372 arg2
= wxString_in_helper(obj1
);
11373 if (arg2
== NULL
) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 (arg1
)->SetMessage((wxString
const &)*arg2
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 Py_INCREF(Py_None
); resultobj
= Py_None
;
11398 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11401 wxString
*arg2
= 0 ;
11402 bool temp2
= False
;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "path", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11413 arg2
= wxString_in_helper(obj1
);
11414 if (arg2
== NULL
) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 (arg1
)->SetPath((wxString
const &)*arg2
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 Py_INCREF(Py_None
); resultobj
= Py_None
;
11439 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11442 wxString
*arg2
= 0 ;
11443 bool temp2
= False
;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self",(char *) "dir", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11454 arg2
= wxString_in_helper(obj1
);
11455 if (arg2
== NULL
) SWIG_fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11465 Py_INCREF(Py_None
); resultobj
= Py_None
;
11480 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11483 wxString
*arg2
= 0 ;
11484 bool temp2
= False
;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self",(char *) "name", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11495 arg2
= wxString_in_helper(obj1
);
11496 if (arg2
== NULL
) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 (arg1
)->SetFilename((wxString
const &)*arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 Py_INCREF(Py_None
); resultobj
= Py_None
;
11521 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11524 wxString
*arg2
= 0 ;
11525 bool temp2
= False
;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self",(char *) "wildCard", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11536 arg2
= wxString_in_helper(obj1
);
11537 if (arg2
== NULL
) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 Py_INCREF(Py_None
); resultobj
= Py_None
;
11562 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "self",(char *) "style", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11575 arg2
= (long) SWIG_AsLong(obj1
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 (arg1
)->SetStyle(arg2
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 Py_INCREF(Py_None
); resultobj
= Py_None
;
11591 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
;
11593 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11595 PyObject
* obj0
= 0 ;
11596 PyObject
* obj1
= 0 ;
11597 char *kwnames
[] = {
11598 (char *) "self",(char *) "filterIndex", NULL
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11604 arg2
= (int) SWIG_AsInt(obj1
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 (arg1
)->SetFilterIndex(arg2
);
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 Py_INCREF(Py_None
); resultobj
= Py_None
;
11620 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11624 PyObject
* obj0
= 0 ;
11625 char *kwnames
[] = {
11626 (char *) "self", NULL
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11652 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11684 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11688 PyObject
* obj0
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11716 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
;
11718 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11720 PyObject
* obj0
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "self", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11748 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11752 PyObject
* obj0
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "self", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11780 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11784 PyObject
* obj0
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= SWIG_FromLong((long)result
);
11806 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
;
11808 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11810 PyObject
* obj0
= 0 ;
11811 char *kwnames
[] = {
11812 (char *) "self", NULL
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= SWIG_FromInt((int)result
);
11832 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
;
11834 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11836 PyObject
* obj0
= 0 ;
11837 char *kwnames
[] = {
11838 (char *) "self", NULL
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11851 resultobj
= result
;
11858 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11862 PyObject
* obj0
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= result
;
11884 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
11886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11887 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11889 return Py_BuildValue((char *)"");
11891 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
;
11893 wxWindow
*arg1
= (wxWindow
*) 0 ;
11894 wxString
*arg2
= 0 ;
11895 wxString
*arg3
= 0 ;
11896 int arg4
= (int) 0 ;
11897 wxString
*arg5
= (wxString
*) 0 ;
11898 long arg6
= (long) wxCHOICEDLG_STYLE
;
11899 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11900 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11901 wxMultiChoiceDialog
*result
;
11902 bool temp2
= False
;
11903 bool temp3
= False
;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 PyObject
* obj2
= 0 ;
11908 PyObject
* obj3
= 0 ;
11909 PyObject
* obj4
= 0 ;
11910 PyObject
* obj5
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 arg2
= wxString_in_helper(obj1
);
11920 if (arg2
== NULL
) SWIG_fail
;
11924 arg3
= wxString_in_helper(obj2
);
11925 if (arg3
== NULL
) SWIG_fail
;
11930 arg4
= PyList_Size(obj3
);
11931 arg5
= wxString_LIST_helper(obj3
);
11932 if (arg5
== NULL
) SWIG_fail
;
11936 arg6
= (long) SWIG_AsLong(obj4
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11942 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
11962 if (arg5
) delete [] arg5
;
11975 if (arg5
) delete [] arg5
;
11981 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11984 wxArrayInt
*arg2
= 0 ;
11985 bool temp2
= False
;
11986 PyObject
* obj0
= 0 ;
11987 PyObject
* obj1
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self",(char *) "selections", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
11993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
11994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11996 if (! PySequence_Check(obj1
)) {
11997 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12000 arg2
= new wxArrayInt
;
12002 int i
, len
=PySequence_Length(obj1
);
12003 for (i
=0; i
<len
; i
++) {
12004 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12005 PyObject
* number
= PyNumber_Int(item
);
12006 arg2
->Add(PyInt_AS_LONG(number
));
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 Py_INCREF(Py_None
); resultobj
= Py_None
;
12020 if (temp2
) delete arg2
;
12025 if (temp2
) delete arg2
;
12031 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12035 PyObject
* obj0
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= result
;
12057 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12060 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12062 return Py_BuildValue((char *)"");
12064 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxWindow
*arg1
= (wxWindow
*) 0 ;
12067 wxString
*arg2
= 0 ;
12068 wxString
*arg3
= 0 ;
12070 wxString
*arg5
= (wxString
*) 0 ;
12071 long arg6
= (long) wxCHOICEDLG_STYLE
;
12072 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12073 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12074 wxSingleChoiceDialog
*result
;
12075 bool temp2
= False
;
12076 bool temp3
= False
;
12078 PyObject
* obj0
= 0 ;
12079 PyObject
* obj1
= 0 ;
12080 PyObject
* obj2
= 0 ;
12081 PyObject
* obj3
= 0 ;
12082 PyObject
* obj4
= 0 ;
12083 PyObject
* obj5
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12092 arg2
= wxString_in_helper(obj1
);
12093 if (arg2
== NULL
) SWIG_fail
;
12097 arg3
= wxString_in_helper(obj2
);
12098 if (arg3
== NULL
) SWIG_fail
;
12102 arg4
= PyList_Size(obj3
);
12103 arg5
= wxString_LIST_helper(obj3
);
12104 if (arg5
== NULL
) SWIG_fail
;
12107 arg6
= (long) SWIG_AsLong(obj4
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12113 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12133 if (arg5
) delete [] arg5
;
12146 if (arg5
) delete [] arg5
;
12152 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
;
12154 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12156 PyObject
* obj0
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 result
= (int)(arg1
)->GetSelection();
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= SWIG_FromInt((int)result
);
12178 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (arg1
)->GetStringSelection();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12210 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self",(char *) "sel", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12223 arg2
= (int) SWIG_AsInt(obj1
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 (arg1
)->SetSelection(arg2
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 Py_INCREF(Py_None
); resultobj
= Py_None
;
12239 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12242 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12244 return Py_BuildValue((char *)"");
12246 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxWindow
*arg1
= (wxWindow
*) 0 ;
12249 wxString
*arg2
= 0 ;
12250 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12252 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12253 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12254 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12255 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12256 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12257 wxTextEntryDialog
*result
;
12258 bool temp2
= False
;
12259 bool temp3
= False
;
12260 bool temp4
= False
;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 PyObject
* obj2
= 0 ;
12265 PyObject
* obj3
= 0 ;
12266 PyObject
* obj4
= 0 ;
12267 PyObject
* obj5
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12276 arg2
= wxString_in_helper(obj1
);
12277 if (arg2
== NULL
) SWIG_fail
;
12282 arg3
= wxString_in_helper(obj2
);
12283 if (arg3
== NULL
) SWIG_fail
;
12289 arg4
= wxString_in_helper(obj3
);
12290 if (arg4
== NULL
) SWIG_fail
;
12295 arg5
= (long) SWIG_AsLong(obj4
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12301 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12342 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12346 PyObject
* obj0
= 0 ;
12347 char *kwnames
[] = {
12348 (char *) "self", NULL
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 result
= (arg1
)->GetValue();
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12374 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12377 wxString
*arg2
= 0 ;
12378 bool temp2
= False
;
12379 PyObject
* obj0
= 0 ;
12380 PyObject
* obj1
= 0 ;
12381 char *kwnames
[] = {
12382 (char *) "self",(char *) "value", NULL
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12389 arg2
= wxString_in_helper(obj1
);
12390 if (arg2
== NULL
) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 (arg1
)->SetValue((wxString
const &)*arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 Py_INCREF(Py_None
); resultobj
= Py_None
;
12415 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
12417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12418 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12420 return Py_BuildValue((char *)"");
12422 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxFontData
*result
;
12425 char *kwnames
[] = {
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (wxFontData
*)new wxFontData();
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12444 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxFontData
*arg1
= (wxFontData
*) 0 ;
12447 PyObject
* obj0
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 Py_INCREF(Py_None
); resultobj
= Py_None
;
12469 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
;
12471 wxFontData
*arg1
= (wxFontData
*) 0 ;
12473 PyObject
* obj0
= 0 ;
12474 PyObject
* obj1
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self",(char *) "enable", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12482 arg2
= (bool) SWIG_AsBool(obj1
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 (arg1
)->EnableEffects(arg2
);
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 Py_INCREF(Py_None
); resultobj
= Py_None
;
12498 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
;
12500 wxFontData
*arg1
= (wxFontData
*) 0 ;
12502 PyObject
* obj0
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "self", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (bool)(arg1
)->GetAllowSymbols();
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12526 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxFontData
*arg1
= (wxFontData
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= (arg1
)->GetColour();
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12546 wxColour
* resultptr
;
12547 resultptr
= new wxColour((wxColour
&) result
);
12548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12556 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxFontData
*arg1
= (wxFontData
*) 0 ;
12560 PyObject
* obj0
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 result
= (arg1
)->GetChosenFont();
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12576 wxFont
* resultptr
;
12577 resultptr
= new wxFont((wxFont
&) result
);
12578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12586 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
;
12588 wxFontData
*arg1
= (wxFontData
*) 0 ;
12590 PyObject
* obj0
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (bool)(arg1
)->GetEnableEffects();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12614 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxFontData
*arg1
= (wxFontData
*) 0 ;
12618 PyObject
* obj0
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (arg1
)->GetInitialFont();
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12634 wxFont
* resultptr
;
12635 resultptr
= new wxFont((wxFont
&) result
);
12636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12644 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxFontData
*arg1
= (wxFontData
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (bool)(arg1
)->GetShowHelp();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12672 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxFontData
*arg1
= (wxFontData
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 PyObject
* obj1
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "self",(char *) "allowSymbols", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12685 arg2
= (bool) SWIG_AsBool(obj1
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 (arg1
)->SetAllowSymbols(arg2
);
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 Py_INCREF(Py_None
); resultobj
= Py_None
;
12701 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxFontData
*arg1
= (wxFontData
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self",(char *) "font", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12717 if (arg2
== NULL
) {
12718 PyErr_SetString(PyExc_TypeError
,"null reference");
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 Py_INCREF(Py_None
); resultobj
= Py_None
;
12735 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxFontData
*arg1
= (wxFontData
*) 0 ;
12738 wxColour
*arg2
= 0 ;
12740 PyObject
* obj0
= 0 ;
12741 PyObject
* obj1
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self",(char *) "colour", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12751 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 (arg1
)->SetColour((wxColour
const &)*arg2
);
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12760 Py_INCREF(Py_None
); resultobj
= Py_None
;
12767 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxFontData
*arg1
= (wxFontData
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self",(char *) "font", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12783 if (arg2
== NULL
) {
12784 PyErr_SetString(PyExc_TypeError
,"null reference");
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 Py_INCREF(Py_None
); resultobj
= Py_None
;
12801 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
;
12803 wxFontData
*arg1
= (wxFontData
*) 0 ;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "min",(char *) "max", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12816 arg2
= (int) SWIG_AsInt(obj1
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12818 arg3
= (int) SWIG_AsInt(obj2
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 (arg1
)->SetRange(arg2
,arg3
);
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 Py_INCREF(Py_None
); resultobj
= Py_None
;
12834 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12836 wxFontData
*arg1
= (wxFontData
*) 0 ;
12838 PyObject
* obj0
= 0 ;
12839 PyObject
* obj1
= 0 ;
12840 char *kwnames
[] = {
12841 (char *) "self",(char *) "showHelp", NULL
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12847 arg2
= (bool) SWIG_AsBool(obj1
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 (arg1
)->SetShowHelp(arg2
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 Py_INCREF(Py_None
); resultobj
= Py_None
;
12863 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
12865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12866 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12868 return Py_BuildValue((char *)"");
12870 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxWindow
*arg1
= (wxWindow
*) 0 ;
12873 wxFontData
*arg2
= 0 ;
12874 wxFontDialog
*result
;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "parent",(char *) "data", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
12885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12887 if (arg2
== NULL
) {
12888 PyErr_SetString(PyExc_TypeError
,"null reference");
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
12905 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12908 wxFontData
*result
;
12909 PyObject
* obj0
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
12915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
12916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 wxFontData
&_result_ref
= (arg1
)->GetFontData();
12921 result
= (wxFontData
*) &_result_ref
;
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
12934 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
12936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12937 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12939 return Py_BuildValue((char *)"");
12941 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxWindow
*arg1
= (wxWindow
*) 0 ;
12944 wxString
*arg2
= 0 ;
12945 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
12946 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12947 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12948 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12949 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12950 wxMessageDialog
*result
;
12951 bool temp2
= False
;
12952 bool temp3
= False
;
12954 PyObject
* obj0
= 0 ;
12955 PyObject
* obj1
= 0 ;
12956 PyObject
* obj2
= 0 ;
12957 PyObject
* obj3
= 0 ;
12958 PyObject
* obj4
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12967 arg2
= wxString_in_helper(obj1
);
12968 if (arg2
== NULL
) SWIG_fail
;
12973 arg3
= wxString_in_helper(obj2
);
12974 if (arg3
== NULL
) SWIG_fail
;
12979 arg4
= (long) SWIG_AsLong(obj3
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13018 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13021 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13023 return Py_BuildValue((char *)"");
13025 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13026 PyObject
*resultobj
;
13027 wxString
*arg1
= 0 ;
13028 wxString
*arg2
= 0 ;
13029 int arg3
= (int) 100 ;
13030 wxWindow
*arg4
= (wxWindow
*) NULL
;
13031 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13032 wxProgressDialog
*result
;
13033 bool temp1
= False
;
13034 bool temp2
= False
;
13035 PyObject
* obj0
= 0 ;
13036 PyObject
* obj1
= 0 ;
13037 PyObject
* obj2
= 0 ;
13038 PyObject
* obj3
= 0 ;
13039 PyObject
* obj4
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13046 arg1
= wxString_in_helper(obj0
);
13047 if (arg1
== NULL
) SWIG_fail
;
13051 arg2
= wxString_in_helper(obj1
);
13052 if (arg2
== NULL
) SWIG_fail
;
13056 arg3
= (int) SWIG_AsInt(obj2
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13060 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13064 arg5
= (int) SWIG_AsInt(obj4
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13097 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13101 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13102 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13104 bool temp3
= False
;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 PyObject
* obj2
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13115 arg2
= (int) SWIG_AsInt(obj1
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 arg3
= wxString_in_helper(obj2
);
13120 if (arg3
== NULL
) SWIG_fail
;
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13148 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 Py_INCREF(Py_None
); resultobj
= Py_None
;
13173 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
13175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13176 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13178 return Py_BuildValue((char *)"");
13180 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13183 int arg2
= (int) 0 ;
13184 wxFindDialogEvent
*result
;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "commandType",(char *) "id", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13193 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 arg2
= (int) SWIG_AsInt(obj1
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13214 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (int)(arg1
)->GetFlags();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_FromInt((int)result
);
13240 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13244 PyObject
* obj0
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 wxString
const &_result_ref
= (arg1
)->GetFindString();
13256 result
= (wxString
*) &_result_ref
;
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13266 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13275 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13291 result
= (wxString
*) &_result_ref
;
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13301 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13310 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13313 wxFindReplaceDialog
*result
;
13314 PyObject
* obj0
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13336 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self",(char *) "flags", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13349 arg2
= (int) SWIG_AsInt(obj1
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 (arg1
)->SetFlags(arg2
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 Py_INCREF(Py_None
); resultobj
= Py_None
;
13365 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
;
13367 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13368 wxString
*arg2
= 0 ;
13369 bool temp2
= False
;
13370 PyObject
* obj0
= 0 ;
13371 PyObject
* obj1
= 0 ;
13372 char *kwnames
[] = {
13373 (char *) "self",(char *) "str", NULL
13376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13380 arg2
= wxString_in_helper(obj1
);
13381 if (arg2
== NULL
) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 (arg1
)->SetFindString((wxString
const &)*arg2
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 Py_INCREF(Py_None
); resultobj
= Py_None
;
13406 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13409 wxString
*arg2
= 0 ;
13410 bool temp2
= False
;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "self",(char *) "str", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13421 arg2
= wxString_in_helper(obj1
);
13422 if (arg2
== NULL
) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 Py_INCREF(Py_None
); resultobj
= Py_None
;
13447 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
13449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13450 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13452 return Py_BuildValue((char *)"");
13454 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 int arg1
= (int) 0 ;
13457 wxFindReplaceData
*result
;
13458 PyObject
* obj0
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "flags", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13465 arg1
= (int) SWIG_AsInt(obj0
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13482 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13485 PyObject
* obj0
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 Py_INCREF(Py_None
); resultobj
= Py_None
;
13507 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13511 PyObject
* obj0
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "self", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 wxString
const &_result_ref
= (arg1
)->GetFindString();
13523 result
= (wxString
*) &_result_ref
;
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13533 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13542 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13546 PyObject
* obj0
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13558 result
= (wxString
*) &_result_ref
;
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13568 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13577 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (int)(arg1
)->GetFlags();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= SWIG_FromInt((int)result
);
13603 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13605 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 PyObject
* obj1
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "self",(char *) "flags", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13616 arg2
= (int) SWIG_AsInt(obj1
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13620 (arg1
)->SetFlags(arg2
);
13622 wxPyEndAllowThreads(__tstate
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13625 Py_INCREF(Py_None
); resultobj
= Py_None
;
13632 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
;
13634 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13635 wxString
*arg2
= 0 ;
13636 bool temp2
= False
;
13637 PyObject
* obj0
= 0 ;
13638 PyObject
* obj1
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "self",(char *) "str", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13647 arg2
= wxString_in_helper(obj1
);
13648 if (arg2
== NULL
) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 (arg1
)->SetFindString((wxString
const &)*arg2
);
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 Py_INCREF(Py_None
); resultobj
= Py_None
;
13673 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13676 wxString
*arg2
= 0 ;
13677 bool temp2
= False
;
13678 PyObject
* obj0
= 0 ;
13679 PyObject
* obj1
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "self",(char *) "str", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13688 arg2
= wxString_in_helper(obj1
);
13689 if (arg2
== NULL
) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 Py_INCREF(Py_None
); resultobj
= Py_None
;
13714 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
13716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13717 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13719 return Py_BuildValue((char *)"");
13721 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
;
13723 wxWindow
*arg1
= (wxWindow
*) 0 ;
13724 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13725 wxString
*arg3
= 0 ;
13726 int arg4
= (int) 0 ;
13727 wxFindReplaceDialog
*result
;
13728 bool temp3
= False
;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 PyObject
* obj2
= 0 ;
13732 PyObject
* obj3
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13743 arg3
= wxString_in_helper(obj2
);
13744 if (arg3
== NULL
) SWIG_fail
;
13748 arg4
= (int) SWIG_AsInt(obj3
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13773 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxFindReplaceDialog
*result
;
13776 char *kwnames
[] = {
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13785 wxPyEndAllowThreads(__tstate
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13795 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13798 wxWindow
*arg2
= (wxWindow
*) 0 ;
13799 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13800 wxString
*arg4
= 0 ;
13801 int arg5
= (int) 0 ;
13803 bool temp4
= False
;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 PyObject
* obj2
= 0 ;
13807 PyObject
* obj3
= 0 ;
13808 PyObject
* obj4
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
13819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13821 arg4
= wxString_in_helper(obj3
);
13822 if (arg4
== NULL
) SWIG_fail
;
13826 arg5
= (int) SWIG_AsInt(obj4
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13853 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13854 PyObject
*resultobj
;
13855 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13856 wxFindReplaceData
*result
;
13857 PyObject
* obj0
= 0 ;
13858 char *kwnames
[] = {
13859 (char *) "self", NULL
13862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
13863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 result
= (wxFindReplaceData
*)(arg1
)->GetData();
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
13879 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
*resultobj
;
13881 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13882 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13883 PyObject
* obj0
= 0 ;
13884 PyObject
* obj1
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self",(char *) "data", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 (arg1
)->SetData(arg2
);
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 Py_INCREF(Py_None
); resultobj
= Py_None
;
13908 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
13910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13911 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
13913 return Py_BuildValue((char *)"");
13915 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
;
13917 wxWindow
*arg1
= (wxWindow
*) 0 ;
13919 wxString
*arg3
= 0 ;
13920 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13921 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13922 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13923 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13924 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13925 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13926 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13927 wxMDIParentFrame
*result
;
13928 bool temp3
= False
;
13931 bool temp7
= False
;
13932 PyObject
* obj0
= 0 ;
13933 PyObject
* obj1
= 0 ;
13934 PyObject
* obj2
= 0 ;
13935 PyObject
* obj3
= 0 ;
13936 PyObject
* obj4
= 0 ;
13937 PyObject
* obj5
= 0 ;
13938 PyObject
* obj6
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 arg2
= (int const) SWIG_AsInt(obj1
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 arg3
= wxString_in_helper(obj2
);
13950 if (arg3
== NULL
) SWIG_fail
;
13956 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13962 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13966 arg6
= (long) SWIG_AsLong(obj5
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13971 arg7
= wxString_in_helper(obj6
);
13972 if (arg7
== NULL
) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14006 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxMDIParentFrame
*result
;
14009 char *kwnames
[] = {
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14028 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
;
14030 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14031 wxWindow
*arg2
= (wxWindow
*) 0 ;
14033 wxString
*arg4
= 0 ;
14034 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14035 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14036 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14037 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14038 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14039 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14040 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14042 bool temp4
= False
;
14045 bool temp8
= False
;
14046 PyObject
* obj0
= 0 ;
14047 PyObject
* obj1
= 0 ;
14048 PyObject
* obj2
= 0 ;
14049 PyObject
* obj3
= 0 ;
14050 PyObject
* obj4
= 0 ;
14051 PyObject
* obj5
= 0 ;
14052 PyObject
* obj6
= 0 ;
14053 PyObject
* obj7
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14063 arg3
= (int const) SWIG_AsInt(obj2
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 arg4
= wxString_in_helper(obj3
);
14067 if (arg4
== NULL
) SWIG_fail
;
14073 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14079 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14083 arg7
= (long) SWIG_AsLong(obj6
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14088 arg8
= wxString_in_helper(obj7
);
14089 if (arg8
== NULL
) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14125 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 (arg1
)->ActivateNext();
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 Py_INCREF(Py_None
); resultobj
= Py_None
;
14150 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14153 PyObject
* obj0
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 (arg1
)->ActivatePrevious();
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 Py_INCREF(Py_None
); resultobj
= Py_None
;
14175 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 (arg1
)->ArrangeIcons();
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 Py_INCREF(Py_None
); resultobj
= Py_None
;
14200 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14203 PyObject
* obj0
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 Py_INCREF(Py_None
); resultobj
= Py_None
;
14225 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14228 wxMDIChildFrame
*result
;
14229 PyObject
* obj0
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= wxPyMake_wxObject(result
);
14253 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14256 wxMDIClientWindow
*result
;
14257 PyObject
* obj0
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "self", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= wxPyMake_wxObject(result
);
14281 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14285 PyObject
* obj0
= 0 ;
14286 char *kwnames
[] = {
14287 (char *) "self", NULL
14290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (wxWindow
*)(arg1
)->GetToolBar();
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= wxPyMake_wxObject(result
);
14309 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 Py_INCREF(Py_None
); resultobj
= Py_None
;
14334 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
14336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14337 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14339 return Py_BuildValue((char *)"");
14341 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14345 wxString
*arg3
= 0 ;
14346 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14347 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14348 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14349 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14350 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14351 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14352 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14353 wxMDIChildFrame
*result
;
14354 bool temp3
= False
;
14357 bool temp7
= False
;
14358 PyObject
* obj0
= 0 ;
14359 PyObject
* obj1
= 0 ;
14360 PyObject
* obj2
= 0 ;
14361 PyObject
* obj3
= 0 ;
14362 PyObject
* obj4
= 0 ;
14363 PyObject
* obj5
= 0 ;
14364 PyObject
* obj6
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14372 arg2
= (int const) SWIG_AsInt(obj1
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 arg3
= wxString_in_helper(obj2
);
14376 if (arg3
== NULL
) SWIG_fail
;
14382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14392 arg6
= (long) SWIG_AsLong(obj5
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14397 arg7
= wxString_in_helper(obj6
);
14398 if (arg7
== NULL
) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= wxPyMake_wxObject(result
);
14434 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14436 wxMDIChildFrame
*result
;
14437 char *kwnames
[] = {
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= wxPyMake_wxObject(result
);
14458 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14461 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14463 wxString
*arg4
= 0 ;
14464 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14465 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14466 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14467 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14468 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14469 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14470 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14472 bool temp4
= False
;
14475 bool temp8
= False
;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 PyObject
* obj2
= 0 ;
14479 PyObject
* obj3
= 0 ;
14480 PyObject
* obj4
= 0 ;
14481 PyObject
* obj5
= 0 ;
14482 PyObject
* obj6
= 0 ;
14483 PyObject
* obj7
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14493 arg3
= (int const) SWIG_AsInt(obj2
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 arg4
= wxString_in_helper(obj3
);
14497 if (arg4
== NULL
) SWIG_fail
;
14503 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14509 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14513 arg7
= (long) SWIG_AsLong(obj6
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14518 arg8
= wxString_in_helper(obj7
);
14519 if (arg8
== NULL
) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14555 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14558 PyObject
* obj0
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 (arg1
)->Activate();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 Py_INCREF(Py_None
); resultobj
= Py_None
;
14580 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14584 PyObject
* obj0
= 0 ;
14585 PyObject
* obj1
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self",(char *) "maximize", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 arg2
= (bool) SWIG_AsBool(obj1
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 (arg1
)->Maximize(arg2
);
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 Py_INCREF(Py_None
); resultobj
= Py_None
;
14609 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 Py_INCREF(Py_None
); resultobj
= Py_None
;
14634 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
14636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14637 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14639 return Py_BuildValue((char *)"");
14641 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14644 long arg2
= (long) 0 ;
14645 wxMDIClientWindow
*result
;
14646 PyObject
* obj0
= 0 ;
14647 PyObject
* obj1
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "parent",(char *) "style", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14656 arg2
= (long) SWIG_AsLong(obj1
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= wxPyMake_wxObject(result
);
14675 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxMDIClientWindow
*result
;
14678 char *kwnames
[] = {
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= wxPyMake_wxObject(result
);
14699 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14702 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14703 long arg3
= (long) 0 ;
14705 PyObject
* obj0
= 0 ;
14706 PyObject
* obj1
= 0 ;
14707 PyObject
* obj2
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self",(char *) "parent",(char *) "style", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14718 arg3
= (long) SWIG_AsLong(obj2
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14737 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
14739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14740 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14742 return Py_BuildValue((char *)"");
14744 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
;
14746 wxWindow
*arg1
= (wxWindow
*) 0 ;
14748 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14749 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14750 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14751 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14752 long arg5
= (long) 0 ;
14753 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14754 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14755 wxPyWindow
*result
;
14758 bool temp6
= False
;
14759 PyObject
* obj0
= 0 ;
14760 PyObject
* obj1
= 0 ;
14761 PyObject
* obj2
= 0 ;
14762 PyObject
* obj3
= 0 ;
14763 PyObject
* obj4
= 0 ;
14764 PyObject
* obj5
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 arg2
= (int const) SWIG_AsInt(obj1
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14777 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14783 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14787 arg5
= (long) SWIG_AsLong(obj4
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14792 arg6
= wxString_in_helper(obj5
);
14793 if (arg6
== NULL
) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14819 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxPyWindow
*result
;
14822 char *kwnames
[] = {
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (wxPyWindow
*)new wxPyWindow();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14841 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14844 PyObject
*arg2
= (PyObject
*) 0 ;
14845 PyObject
*arg3
= (PyObject
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 PyObject
* obj1
= 0 ;
14848 PyObject
* obj2
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self",(char *) "self",(char *) "_class", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 Py_INCREF(Py_None
); resultobj
= Py_None
;
14872 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 PyObject
* obj2
= 0 ;
14882 PyObject
* obj3
= 0 ;
14883 PyObject
* obj4
= 0 ;
14884 char *kwnames
[] = {
14885 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14891 arg2
= (int) SWIG_AsInt(obj1
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14893 arg3
= (int) SWIG_AsInt(obj2
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14895 arg4
= (int) SWIG_AsInt(obj3
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14897 arg5
= (int) SWIG_AsInt(obj4
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 Py_INCREF(Py_None
); resultobj
= Py_None
;
14913 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14920 int arg6
= (int) wxSIZE_AUTO
;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 PyObject
* obj2
= 0 ;
14924 PyObject
* obj3
= 0 ;
14925 PyObject
* obj4
= 0 ;
14926 PyObject
* obj5
= 0 ;
14927 char *kwnames
[] = {
14928 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14934 arg2
= (int) SWIG_AsInt(obj1
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14936 arg3
= (int) SWIG_AsInt(obj2
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14938 arg4
= (int) SWIG_AsInt(obj3
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14940 arg5
= (int) SWIG_AsInt(obj4
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 arg6
= (int) SWIG_AsInt(obj5
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 Py_INCREF(Py_None
); resultobj
= Py_None
;
14960 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 PyObject
* obj2
= 0 ;
14968 char *kwnames
[] = {
14969 (char *) "self",(char *) "width",(char *) "height", NULL
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14975 arg2
= (int) SWIG_AsInt(obj1
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14977 arg3
= (int) SWIG_AsInt(obj2
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 Py_INCREF(Py_None
); resultobj
= Py_None
;
14993 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 PyObject
* obj2
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self",(char *) "x",(char *) "y", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 arg2
= (int) SWIG_AsInt(obj1
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15010 arg3
= (int) SWIG_AsInt(obj2
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15019 Py_INCREF(Py_None
); resultobj
= Py_None
;
15026 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15029 int *arg2
= (int *) 0 ;
15030 int *arg3
= (int *) 0 ;
15033 PyObject
* obj0
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "self", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 Py_INCREF(Py_None
); resultobj
= Py_None
;
15052 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15053 resultobj
= t_output_helper(resultobj
,o
);
15056 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15057 resultobj
= t_output_helper(resultobj
,o
);
15065 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15068 int *arg2
= (int *) 0 ;
15069 int *arg3
= (int *) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 Py_INCREF(Py_None
); resultobj
= Py_None
;
15091 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15092 resultobj
= t_output_helper(resultobj
,o
);
15095 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15096 resultobj
= t_output_helper(resultobj
,o
);
15104 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15107 int *arg2
= (int *) 0 ;
15108 int *arg3
= (int *) 0 ;
15111 PyObject
* obj0
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 Py_INCREF(Py_None
); resultobj
= Py_None
;
15130 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15131 resultobj
= t_output_helper(resultobj
,o
);
15134 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15135 resultobj
= t_output_helper(resultobj
,o
);
15143 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
;
15145 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15163 wxSize
* resultptr
;
15164 resultptr
= new wxSize((wxSize
&) result
);
15165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15173 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15193 wxSize
* resultptr
;
15194 resultptr
= new wxSize((wxSize
&) result
);
15195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15203 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15206 PyObject
* obj0
= 0 ;
15207 char *kwnames
[] = {
15208 (char *) "self", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 (arg1
)->base_InitDialog();
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 Py_INCREF(Py_None
); resultobj
= Py_None
;
15228 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15232 PyObject
* obj0
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 result
= (bool)(arg1
)->base_TransferDataToWindow();
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15256 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15260 PyObject
* obj0
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15284 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 char *kwnames
[] = {
15290 (char *) "self", NULL
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 result
= (bool)(arg1
)->base_Validate();
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15312 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15316 PyObject
* obj0
= 0 ;
15317 char *kwnames
[] = {
15318 (char *) "self", NULL
15321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15340 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15344 PyObject
* obj0
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15368 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15372 PyObject
* obj0
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "self", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15388 wxSize
* resultptr
;
15389 resultptr
= new wxSize((wxSize
&) result
);
15390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15398 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15401 wxWindow
*arg2
= (wxWindow
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self",(char *) "child", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 (arg1
)->base_AddChild(arg2
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 Py_INCREF(Py_None
); resultobj
= Py_None
;
15427 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
;
15429 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15430 wxWindow
*arg2
= (wxWindow
*) 0 ;
15431 PyObject
* obj0
= 0 ;
15432 PyObject
* obj1
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self",(char *) "child", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 (arg1
)->base_RemoveChild(arg2
);
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 Py_INCREF(Py_None
); resultobj
= Py_None
;
15456 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15460 PyObject
* obj0
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 result
= (bool)(arg1
)->base_ShouldInheritColours();
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15484 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15486 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15487 wxColour
*arg2
= 0 ;
15489 PyObject
* obj0
= 0 ;
15490 PyObject
* obj1
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self",(char *) "c", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15500 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 Py_INCREF(Py_None
); resultobj
= Py_None
;
15516 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
15518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15519 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15521 return Py_BuildValue((char *)"");
15523 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
;
15525 wxWindow
*arg1
= (wxWindow
*) 0 ;
15527 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15528 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15529 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15530 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15531 long arg5
= (long) 0 ;
15532 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15533 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15537 bool temp6
= False
;
15538 PyObject
* obj0
= 0 ;
15539 PyObject
* obj1
= 0 ;
15540 PyObject
* obj2
= 0 ;
15541 PyObject
* obj3
= 0 ;
15542 PyObject
* obj4
= 0 ;
15543 PyObject
* obj5
= 0 ;
15544 char *kwnames
[] = {
15545 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15551 arg2
= (int const) SWIG_AsInt(obj1
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15556 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15562 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15566 arg5
= (long) SWIG_AsLong(obj4
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15571 arg6
= wxString_in_helper(obj5
);
15572 if (arg6
== NULL
) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15598 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15601 char *kwnames
[] = {
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (wxPyPanel
*)new wxPyPanel();
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15620 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15623 PyObject
*arg2
= (PyObject
*) 0 ;
15624 PyObject
*arg3
= (PyObject
*) 0 ;
15625 PyObject
* obj0
= 0 ;
15626 PyObject
* obj1
= 0 ;
15627 PyObject
* obj2
= 0 ;
15628 char *kwnames
[] = {
15629 (char *) "self",(char *) "self",(char *) "_class", NULL
15632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 Py_INCREF(Py_None
); resultobj
= Py_None
;
15651 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15658 PyObject
* obj0
= 0 ;
15659 PyObject
* obj1
= 0 ;
15660 PyObject
* obj2
= 0 ;
15661 PyObject
* obj3
= 0 ;
15662 PyObject
* obj4
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15670 arg2
= (int) SWIG_AsInt(obj1
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15672 arg3
= (int) SWIG_AsInt(obj2
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15674 arg4
= (int) SWIG_AsInt(obj3
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15676 arg5
= (int) SWIG_AsInt(obj4
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 Py_INCREF(Py_None
); resultobj
= Py_None
;
15692 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15694 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15699 int arg6
= (int) wxSIZE_AUTO
;
15700 PyObject
* obj0
= 0 ;
15701 PyObject
* obj1
= 0 ;
15702 PyObject
* obj2
= 0 ;
15703 PyObject
* obj3
= 0 ;
15704 PyObject
* obj4
= 0 ;
15705 PyObject
* obj5
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15713 arg2
= (int) SWIG_AsInt(obj1
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15715 arg3
= (int) SWIG_AsInt(obj2
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15717 arg4
= (int) SWIG_AsInt(obj3
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15719 arg5
= (int) SWIG_AsInt(obj4
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 arg6
= (int) SWIG_AsInt(obj5
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 Py_INCREF(Py_None
); resultobj
= Py_None
;
15739 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
;
15741 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15744 PyObject
* obj0
= 0 ;
15745 PyObject
* obj1
= 0 ;
15746 PyObject
* obj2
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self",(char *) "width",(char *) "height", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15754 arg2
= (int) SWIG_AsInt(obj1
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15756 arg3
= (int) SWIG_AsInt(obj2
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 Py_INCREF(Py_None
); resultobj
= Py_None
;
15772 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15774 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 PyObject
* obj2
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self",(char *) "x",(char *) "y", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15787 arg2
= (int) SWIG_AsInt(obj1
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15789 arg3
= (int) SWIG_AsInt(obj2
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 Py_INCREF(Py_None
); resultobj
= Py_None
;
15805 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15808 int *arg2
= (int *) 0 ;
15809 int *arg3
= (int *) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 Py_INCREF(Py_None
); resultobj
= Py_None
;
15831 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15832 resultobj
= t_output_helper(resultobj
,o
);
15835 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15836 resultobj
= t_output_helper(resultobj
,o
);
15844 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15847 int *arg2
= (int *) 0 ;
15848 int *arg3
= (int *) 0 ;
15851 PyObject
* obj0
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 Py_INCREF(Py_None
); resultobj
= Py_None
;
15870 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15871 resultobj
= t_output_helper(resultobj
,o
);
15874 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15875 resultobj
= t_output_helper(resultobj
,o
);
15883 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15886 int *arg2
= (int *) 0 ;
15887 int *arg3
= (int *) 0 ;
15890 PyObject
* obj0
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "self", NULL
15897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15907 Py_INCREF(Py_None
); resultobj
= Py_None
;
15909 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15910 resultobj
= t_output_helper(resultobj
,o
);
15913 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15914 resultobj
= t_output_helper(resultobj
,o
);
15922 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15923 PyObject
*resultobj
;
15924 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15926 PyObject
* obj0
= 0 ;
15927 char *kwnames
[] = {
15928 (char *) "self", NULL
15931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
15938 wxPyEndAllowThreads(__tstate
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15942 wxSize
* resultptr
;
15943 resultptr
= new wxSize((wxSize
&) result
);
15944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15952 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "self", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15972 wxSize
* resultptr
;
15973 resultptr
= new wxSize((wxSize
&) result
);
15974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15982 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15985 PyObject
* obj0
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 (arg1
)->base_InitDialog();
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 Py_INCREF(Py_None
); resultobj
= Py_None
;
16007 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (bool)(arg1
)->base_TransferDataToWindow();
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16035 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16039 PyObject
* obj0
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16063 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16067 PyObject
* obj0
= 0 ;
16068 char *kwnames
[] = {
16069 (char *) "self", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (bool)(arg1
)->base_Validate();
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16091 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16095 PyObject
* obj0
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16119 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16123 PyObject
* obj0
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16147 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16167 wxSize
* resultptr
;
16168 resultptr
= new wxSize((wxSize
&) result
);
16169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16177 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16180 wxWindow
*arg2
= (wxWindow
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 PyObject
* obj1
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self",(char *) "child", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 (arg1
)->base_AddChild(arg2
);
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16199 Py_INCREF(Py_None
); resultobj
= Py_None
;
16206 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16209 wxWindow
*arg2
= (wxWindow
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 PyObject
* obj1
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self",(char *) "child", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 (arg1
)->base_RemoveChild(arg2
);
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 Py_INCREF(Py_None
); resultobj
= Py_None
;
16235 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16239 PyObject
* obj0
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= (bool)(arg1
)->base_ShouldInheritColours();
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16263 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16266 wxColour
*arg2
= 0 ;
16268 PyObject
* obj0
= 0 ;
16269 PyObject
* obj1
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self",(char *) "c", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 Py_INCREF(Py_None
); resultobj
= Py_None
;
16295 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
16297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16298 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16300 return Py_BuildValue((char *)"");
16302 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxWindow
*arg1
= (wxWindow
*) 0 ;
16306 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16307 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16308 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16309 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16310 long arg5
= (long) 0 ;
16311 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16312 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16313 wxPyScrolledWindow
*result
;
16316 bool temp6
= False
;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 PyObject
* obj2
= 0 ;
16320 PyObject
* obj3
= 0 ;
16321 PyObject
* obj4
= 0 ;
16322 PyObject
* obj5
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16330 arg2
= (int const) SWIG_AsInt(obj1
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16335 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16341 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16345 arg5
= (long) SWIG_AsLong(obj4
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16350 arg6
= wxString_in_helper(obj5
);
16351 if (arg6
== NULL
) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16377 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxPyScrolledWindow
*result
;
16380 char *kwnames
[] = {
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16399 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16402 PyObject
*arg2
= (PyObject
*) 0 ;
16403 PyObject
*arg3
= (PyObject
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 PyObject
* obj1
= 0 ;
16406 PyObject
* obj2
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self",(char *) "self",(char *) "_class", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 Py_INCREF(Py_None
); resultobj
= Py_None
;
16430 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16431 PyObject
*resultobj
;
16432 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 PyObject
* obj1
= 0 ;
16439 PyObject
* obj2
= 0 ;
16440 PyObject
* obj3
= 0 ;
16441 PyObject
* obj4
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16449 arg2
= (int) SWIG_AsInt(obj1
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16451 arg3
= (int) SWIG_AsInt(obj2
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16453 arg4
= (int) SWIG_AsInt(obj3
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16455 arg5
= (int) SWIG_AsInt(obj4
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 Py_INCREF(Py_None
); resultobj
= Py_None
;
16471 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16478 int arg6
= (int) wxSIZE_AUTO
;
16479 PyObject
* obj0
= 0 ;
16480 PyObject
* obj1
= 0 ;
16481 PyObject
* obj2
= 0 ;
16482 PyObject
* obj3
= 0 ;
16483 PyObject
* obj4
= 0 ;
16484 PyObject
* obj5
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16492 arg2
= (int) SWIG_AsInt(obj1
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16494 arg3
= (int) SWIG_AsInt(obj2
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16496 arg4
= (int) SWIG_AsInt(obj3
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16498 arg5
= (int) SWIG_AsInt(obj4
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16501 arg6
= (int) SWIG_AsInt(obj5
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16506 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16511 Py_INCREF(Py_None
); resultobj
= Py_None
;
16518 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16523 PyObject
* obj0
= 0 ;
16524 PyObject
* obj1
= 0 ;
16525 PyObject
* obj2
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self",(char *) "width",(char *) "height", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16533 arg2
= (int) SWIG_AsInt(obj1
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16535 arg3
= (int) SWIG_AsInt(obj2
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 Py_INCREF(Py_None
); resultobj
= Py_None
;
16551 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16553 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16556 PyObject
* obj0
= 0 ;
16557 PyObject
* obj1
= 0 ;
16558 PyObject
* obj2
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self",(char *) "x",(char *) "y", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16566 arg2
= (int) SWIG_AsInt(obj1
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16568 arg3
= (int) SWIG_AsInt(obj2
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 Py_INCREF(Py_None
); resultobj
= Py_None
;
16584 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16587 int *arg2
= (int *) 0 ;
16588 int *arg3
= (int *) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 Py_INCREF(Py_None
); resultobj
= Py_None
;
16610 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16611 resultobj
= t_output_helper(resultobj
,o
);
16614 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16615 resultobj
= t_output_helper(resultobj
,o
);
16623 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16626 int *arg2
= (int *) 0 ;
16627 int *arg3
= (int *) 0 ;
16630 PyObject
* obj0
= 0 ;
16631 char *kwnames
[] = {
16632 (char *) "self", NULL
16637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16647 Py_INCREF(Py_None
); resultobj
= Py_None
;
16649 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16650 resultobj
= t_output_helper(resultobj
,o
);
16653 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16654 resultobj
= t_output_helper(resultobj
,o
);
16662 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16665 int *arg2
= (int *) 0 ;
16666 int *arg3
= (int *) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 Py_INCREF(Py_None
); resultobj
= Py_None
;
16688 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16689 resultobj
= t_output_helper(resultobj
,o
);
16692 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16693 resultobj
= t_output_helper(resultobj
,o
);
16701 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
;
16703 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16705 PyObject
* obj0
= 0 ;
16706 char *kwnames
[] = {
16707 (char *) "self", NULL
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16721 wxSize
* resultptr
;
16722 resultptr
= new wxSize((wxSize
&) result
);
16723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16731 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16751 wxSize
* resultptr
;
16752 resultptr
= new wxSize((wxSize
&) result
);
16753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16761 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16764 PyObject
* obj0
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "self", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 (arg1
)->base_InitDialog();
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 Py_INCREF(Py_None
); resultobj
= Py_None
;
16786 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "self", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= (bool)(arg1
)->base_TransferDataToWindow();
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16814 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16818 PyObject
* obj0
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "self", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16842 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16846 PyObject
* obj0
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (bool)(arg1
)->base_Validate();
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16870 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "self", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16898 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16902 PyObject
* obj0
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16926 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
;
16928 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16930 PyObject
* obj0
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self", NULL
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16946 wxSize
* resultptr
;
16947 resultptr
= new wxSize((wxSize
&) result
);
16948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16956 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
;
16958 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16959 wxWindow
*arg2
= (wxWindow
*) 0 ;
16960 PyObject
* obj0
= 0 ;
16961 PyObject
* obj1
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "self",(char *) "child", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 (arg1
)->base_AddChild(arg2
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 Py_INCREF(Py_None
); resultobj
= Py_None
;
16985 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16988 wxWindow
*arg2
= (wxWindow
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self",(char *) "child", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 (arg1
)->base_RemoveChild(arg2
);
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 Py_INCREF(Py_None
); resultobj
= Py_None
;
17014 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (bool)(arg1
)->base_ShouldInheritColours();
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17042 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17045 wxColour
*arg2
= 0 ;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "self",(char *) "c", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17058 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17067 Py_INCREF(Py_None
); resultobj
= Py_None
;
17074 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
17076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17077 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17079 return Py_BuildValue((char *)"");
17081 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
17082 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17087 static PyObject
*_wrap_PrintoutTitleStr_get() {
17092 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17094 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17101 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
17102 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17107 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17112 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17114 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17121 static PyObject
*_wrap_new_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
;
17123 wxPrintData
*result
;
17124 char *kwnames
[] = {
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (wxPrintData
*)new wxPrintData();
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17143 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 Py_INCREF(Py_None
); resultobj
= Py_None
;
17168 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17172 PyObject
* obj0
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 result
= (int)(arg1
)->GetNoCopies();
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= SWIG_FromInt((int)result
);
17194 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17198 PyObject
* obj0
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (bool)(arg1
)->GetCollate();
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17222 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
;
17224 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17226 PyObject
* obj0
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 result
= (int)(arg1
)->GetOrientation();
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= SWIG_FromInt((int)result
);
17248 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17252 PyObject
* obj0
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 result
= (bool)(arg1
)->Ok();
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17276 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17280 PyObject
* obj0
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "self", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17292 result
= (wxString
*) &_result_ref
;
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17302 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17311 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17313 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17315 PyObject
* obj0
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= (bool)(arg1
)->GetColour();
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17339 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (int)(arg1
)->GetDuplex();
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 resultobj
= SWIG_FromInt((int)result
);
17365 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17369 PyObject
* obj0
= 0 ;
17370 char *kwnames
[] = {
17371 (char *) "self", NULL
17374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17379 result
= (int)(arg1
)->GetPaperId();
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17384 resultobj
= SWIG_FromInt((int)result
);
17391 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17393 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17395 PyObject
* obj0
= 0 ;
17396 char *kwnames
[] = {
17397 (char *) "self", NULL
17400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17407 result
= (wxSize
*) &_result_ref
;
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17420 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17421 PyObject
*resultobj
;
17422 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17424 PyObject
* obj0
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (int)(arg1
)->GetQuality();
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_FromInt((int)result
);
17446 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 PyObject
* obj1
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self",(char *) "v", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 arg2
= (int) SWIG_AsInt(obj1
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 (arg1
)->SetNoCopies(arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 Py_INCREF(Py_None
); resultobj
= Py_None
;
17475 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 PyObject
* obj1
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self",(char *) "flag", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17488 arg2
= (bool) SWIG_AsBool(obj1
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 (arg1
)->SetCollate(arg2
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 Py_INCREF(Py_None
); resultobj
= Py_None
;
17504 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17508 PyObject
* obj0
= 0 ;
17509 PyObject
* obj1
= 0 ;
17510 char *kwnames
[] = {
17511 (char *) "self",(char *) "orient", NULL
17514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17517 arg2
= (int) SWIG_AsInt(obj1
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 (arg1
)->SetOrientation(arg2
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 Py_INCREF(Py_None
); resultobj
= Py_None
;
17533 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17536 wxString
*arg2
= 0 ;
17537 bool temp2
= False
;
17538 PyObject
* obj0
= 0 ;
17539 PyObject
* obj1
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "self",(char *) "name", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17548 arg2
= wxString_in_helper(obj1
);
17549 if (arg2
== NULL
) SWIG_fail
;
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 Py_INCREF(Py_None
); resultobj
= Py_None
;
17574 static PyObject
*_wrap_PrintData_SetColour(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 *) "colour", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",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
)->SetColour(arg2
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 Py_INCREF(Py_None
); resultobj
= Py_None
;
17603 static PyObject
*_wrap_PrintData_SetDuplex(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 *) "duplex", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",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
= (wxDuplexMode
) SWIG_AsInt(obj1
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 Py_INCREF(Py_None
); resultobj
= Py_None
;
17632 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self",(char *) "sizeId", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17645 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 Py_INCREF(Py_None
); resultobj
= Py_None
;
17661 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self",(char *) "sz", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17677 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 Py_INCREF(Py_None
); resultobj
= Py_None
;
17693 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17697 PyObject
* obj0
= 0 ;
17698 PyObject
* obj1
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self",(char *) "quality", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17706 arg2
= (int) SWIG_AsInt(obj1
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 (arg1
)->SetQuality(arg2
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 Py_INCREF(Py_None
); resultobj
= Py_None
;
17722 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
17738 result
= (wxString
*) &_result_ref
;
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17748 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17757 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17761 PyObject
* obj0
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
17773 result
= (wxString
*) &_result_ref
;
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17783 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17792 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
17808 result
= (wxString
*) &_result_ref
;
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17818 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17827 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17828 PyObject
*resultobj
;
17829 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17831 PyObject
* obj0
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "self", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
17837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 wxString
const &_result_ref
= (arg1
)->GetFilename();
17843 result
= (wxString
*) &_result_ref
;
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17851 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17853 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17862 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17878 result
= (wxString
*) &_result_ref
;
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17888 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17897 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17901 PyObject
* obj0
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
17907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (double)(arg1
)->GetPrinterScaleX();
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_FromDouble((double)result
);
17923 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "self", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (double)(arg1
)->GetPrinterScaleY();
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_FromDouble((double)result
);
17949 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17953 PyObject
* obj0
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 result
= (long)(arg1
)->GetPrinterTranslateX();
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= SWIG_FromLong((long)result
);
17975 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= (long)(arg1
)->GetPrinterTranslateY();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= SWIG_FromLong((long)result
);
18001 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "self", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (int)(arg1
)->GetPrintMode();
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 resultobj
= SWIG_FromInt((int)result
);
18027 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18030 wxString
*arg2
= 0 ;
18031 bool temp2
= False
;
18032 PyObject
* obj0
= 0 ;
18033 PyObject
* obj1
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self",(char *) "command", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18042 arg2
= wxString_in_helper(obj1
);
18043 if (arg2
== NULL
) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 Py_INCREF(Py_None
); resultobj
= Py_None
;
18068 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18070 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18071 wxString
*arg2
= 0 ;
18072 bool temp2
= False
;
18073 PyObject
* obj0
= 0 ;
18074 PyObject
* obj1
= 0 ;
18075 char *kwnames
[] = {
18076 (char *) "self",(char *) "options", NULL
18079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18083 arg2
= wxString_in_helper(obj1
);
18084 if (arg2
== NULL
) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 Py_INCREF(Py_None
); resultobj
= Py_None
;
18109 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18112 wxString
*arg2
= 0 ;
18113 bool temp2
= False
;
18114 PyObject
* obj0
= 0 ;
18115 PyObject
* obj1
= 0 ;
18116 char *kwnames
[] = {
18117 (char *) "self",(char *) "command", NULL
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18124 arg2
= wxString_in_helper(obj1
);
18125 if (arg2
== NULL
) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 Py_INCREF(Py_None
); resultobj
= Py_None
;
18150 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18153 wxString
*arg2
= 0 ;
18154 bool temp2
= False
;
18155 PyObject
* obj0
= 0 ;
18156 PyObject
* obj1
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self",(char *) "filename", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18165 arg2
= wxString_in_helper(obj1
);
18166 if (arg2
== NULL
) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 (arg1
)->SetFilename((wxString
const &)*arg2
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 Py_INCREF(Py_None
); resultobj
= Py_None
;
18191 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18194 wxString
*arg2
= 0 ;
18195 bool temp2
= False
;
18196 PyObject
* obj0
= 0 ;
18197 PyObject
* obj1
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self",(char *) "path", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18206 arg2
= wxString_in_helper(obj1
);
18207 if (arg2
== NULL
) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 Py_INCREF(Py_None
); resultobj
= Py_None
;
18232 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
;
18234 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self",(char *) "x", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 arg2
= (double) SWIG_AsDouble(obj1
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 (arg1
)->SetPrinterScaleX(arg2
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 Py_INCREF(Py_None
); resultobj
= Py_None
;
18261 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 PyObject
* obj1
= 0 ;
18267 char *kwnames
[] = {
18268 (char *) "self",(char *) "y", NULL
18271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18274 arg2
= (double) SWIG_AsDouble(obj1
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 (arg1
)->SetPrinterScaleY(arg2
);
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 Py_INCREF(Py_None
); resultobj
= Py_None
;
18290 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18295 PyObject
* obj0
= 0 ;
18296 PyObject
* obj1
= 0 ;
18297 PyObject
* obj2
= 0 ;
18298 char *kwnames
[] = {
18299 (char *) "self",(char *) "x",(char *) "y", NULL
18302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18305 arg2
= (double) SWIG_AsDouble(obj1
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18307 arg3
= (double) SWIG_AsDouble(obj2
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 Py_INCREF(Py_None
); resultobj
= Py_None
;
18323 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
;
18325 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18327 PyObject
* obj0
= 0 ;
18328 PyObject
* obj1
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self",(char *) "x", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18336 arg2
= (long) SWIG_AsLong(obj1
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 (arg1
)->SetPrinterTranslateX(arg2
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 Py_INCREF(Py_None
); resultobj
= Py_None
;
18352 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self",(char *) "y", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18365 arg2
= (long) SWIG_AsLong(obj1
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 (arg1
)->SetPrinterTranslateY(arg2
);
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 Py_INCREF(Py_None
); resultobj
= Py_None
;
18381 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
;
18383 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18386 PyObject
* obj0
= 0 ;
18387 PyObject
* obj1
= 0 ;
18388 PyObject
* obj2
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self",(char *) "x",(char *) "y", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18396 arg2
= (long) SWIG_AsLong(obj1
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18398 arg3
= (long) SWIG_AsLong(obj2
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 Py_INCREF(Py_None
); resultobj
= Py_None
;
18414 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
;
18416 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18418 PyObject
* obj0
= 0 ;
18419 PyObject
* obj1
= 0 ;
18420 char *kwnames
[] = {
18421 (char *) "self",(char *) "printMode", NULL
18424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18427 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18436 Py_INCREF(Py_None
); resultobj
= Py_None
;
18443 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18444 PyObject
*resultobj
;
18445 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18446 wxOutputStream
*result
;
18447 PyObject
* obj0
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18469 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18472 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18473 PyObject
* obj0
= 0 ;
18474 PyObject
* obj1
= 0 ;
18475 char *kwnames
[] = {
18476 (char *) "self",(char *) "outputstream", NULL
18479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 (arg1
)->SetOutputStream(arg2
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 Py_INCREF(Py_None
); resultobj
= Py_None
;
18498 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
18500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18501 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18503 return Py_BuildValue((char *)"");
18505 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
;
18507 wxPageSetupDialogData
*result
;
18508 char *kwnames
[] = {
18512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18527 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 Py_INCREF(Py_None
); resultobj
= Py_None
;
18552 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self",(char *) "flag", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18565 arg2
= (bool) SWIG_AsBool(obj1
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 (arg1
)->EnableHelp(arg2
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 Py_INCREF(Py_None
); resultobj
= Py_None
;
18581 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18585 PyObject
* obj0
= 0 ;
18586 PyObject
* obj1
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self",(char *) "flag", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18594 arg2
= (bool) SWIG_AsBool(obj1
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 (arg1
)->EnableMargins(arg2
);
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 Py_INCREF(Py_None
); resultobj
= Py_None
;
18610 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
;
18612 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self",(char *) "flag", NULL
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18623 arg2
= (bool) SWIG_AsBool(obj1
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 (arg1
)->EnableOrientation(arg2
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 Py_INCREF(Py_None
); resultobj
= Py_None
;
18639 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self",(char *) "flag", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18652 arg2
= (bool) SWIG_AsBool(obj1
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 (arg1
)->EnablePaper(arg2
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 Py_INCREF(Py_None
); resultobj
= Py_None
;
18668 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18672 PyObject
* obj0
= 0 ;
18673 PyObject
* obj1
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self",(char *) "flag", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 arg2
= (bool) SWIG_AsBool(obj1
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 (arg1
)->EnablePrinter(arg2
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 Py_INCREF(Py_None
); resultobj
= Py_None
;
18697 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
18707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (bool)(arg1
)->GetDefaultMinMargins();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18725 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
18735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= (bool)(arg1
)->GetEnableMargins();
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18753 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18757 PyObject
* obj0
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
18763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 result
= (bool)(arg1
)->GetEnableOrientation();
18769 wxPyEndAllowThreads(__tstate
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18781 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18785 PyObject
* obj0
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (bool)(arg1
)->GetEnablePaper();
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18809 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
;
18811 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18813 PyObject
* obj0
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
18819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (bool)(arg1
)->GetEnablePrinter();
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18837 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
;
18839 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18841 PyObject
* obj0
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 result
= (bool)(arg1
)->GetEnableHelp();
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18865 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
18875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 result
= (bool)(arg1
)->GetDefaultInfo();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18893 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18897 PyObject
* obj0
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 result
= (arg1
)->GetMarginTopLeft();
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18913 wxPoint
* resultptr
;
18914 resultptr
= new wxPoint((wxPoint
&) result
);
18915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18923 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18924 PyObject
*resultobj
;
18925 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18927 PyObject
* obj0
= 0 ;
18928 char *kwnames
[] = {
18929 (char *) "self", NULL
18932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 result
= (arg1
)->GetMarginBottomRight();
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18943 wxPoint
* resultptr
;
18944 resultptr
= new wxPoint((wxPoint
&) result
);
18945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18953 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18957 PyObject
* obj0
= 0 ;
18958 char *kwnames
[] = {
18959 (char *) "self", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 result
= (arg1
)->GetMinMarginTopLeft();
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18973 wxPoint
* resultptr
;
18974 resultptr
= new wxPoint((wxPoint
&) result
);
18975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18983 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (arg1
)->GetMinMarginBottomRight();
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19003 wxPoint
* resultptr
;
19004 resultptr
= new wxPoint((wxPoint
&) result
);
19005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19013 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19017 PyObject
* obj0
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (int)(arg1
)->GetPaperId();
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= SWIG_FromInt((int)result
);
19039 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (arg1
)->GetPaperSize();
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19059 wxSize
* resultptr
;
19060 resultptr
= new wxSize((wxSize
&) result
);
19061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19069 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19072 wxPrintData
*result
;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19085 result
= (wxPrintData
*) &_result_ref
;
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19098 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "self", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 result
= (bool)(arg1
)->Ok();
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19126 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
;
19128 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19130 PyObject
* obj0
= 0 ;
19131 PyObject
* obj1
= 0 ;
19132 char *kwnames
[] = {
19133 (char *) "self",(char *) "flag", NULL
19136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19139 arg2
= (bool) SWIG_AsBool(obj1
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 (arg1
)->SetDefaultInfo(arg2
);
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 Py_INCREF(Py_None
); resultobj
= Py_None
;
19155 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19157 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19159 PyObject
* obj0
= 0 ;
19160 PyObject
* obj1
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "self",(char *) "flag", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19168 arg2
= (bool) SWIG_AsBool(obj1
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 (arg1
)->SetDefaultMinMargins(arg2
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 Py_INCREF(Py_None
); resultobj
= Py_None
;
19184 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
;
19186 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19187 wxPoint
*arg2
= 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "pt", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 Py_INCREF(Py_None
); resultobj
= Py_None
;
19216 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19219 wxPoint
*arg2
= 0 ;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self",(char *) "pt", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 Py_INCREF(Py_None
); resultobj
= Py_None
;
19248 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19251 wxPoint
*arg2
= 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self",(char *) "pt", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19264 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 Py_INCREF(Py_None
); resultobj
= Py_None
;
19280 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19283 wxPoint
*arg2
= 0 ;
19285 PyObject
* obj0
= 0 ;
19286 PyObject
* obj1
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self",(char *) "pt", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 Py_INCREF(Py_None
); resultobj
= Py_None
;
19312 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19316 PyObject
* obj0
= 0 ;
19317 PyObject
* obj1
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self",(char *) "id", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19325 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 Py_INCREF(Py_None
); resultobj
= Py_None
;
19341 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19342 PyObject
*resultobj
;
19343 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 char *kwnames
[] = {
19349 (char *) "self",(char *) "size", NULL
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19357 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 Py_INCREF(Py_None
); resultobj
= Py_None
;
19373 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19376 wxPrintData
*arg2
= 0 ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self",(char *) "printData", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19389 if (arg2
== NULL
) {
19390 PyErr_SetString(PyExc_TypeError
,"null reference");
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 Py_INCREF(Py_None
); resultobj
= Py_None
;
19407 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
19409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19410 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19412 return Py_BuildValue((char *)"");
19414 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxWindow
*arg1
= (wxWindow
*) 0 ;
19417 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19418 wxPageSetupDialog
*result
;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "parent",(char *) "data", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19446 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19449 wxPageSetupDialogData
*result
;
19450 PyObject
* obj0
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19462 result
= (wxPageSetupDialogData
*) &_result_ref
;
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19475 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19479 PyObject
* obj0
= 0 ;
19480 char *kwnames
[] = {
19481 (char *) "self", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (int)(arg1
)->ShowModal();
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= SWIG_FromInt((int)result
);
19501 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
19503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19504 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19506 return Py_BuildValue((char *)"");
19508 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19509 PyObject
*resultobj
;
19510 wxPrintDialogData
*result
;
19512 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19527 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19528 PyObject
*resultobj
;
19529 wxPrintData
*arg1
= 0 ;
19530 wxPrintDialogData
*result
;
19531 PyObject
* obj0
= 0 ;
19533 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19537 if (arg1
== NULL
) {
19538 PyErr_SetString(PyExc_TypeError
,"null reference");
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19555 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19560 argc
= PyObject_Length(args
);
19561 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19562 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19565 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19571 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
19579 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
19583 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
19588 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19591 PyObject
* obj0
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
19597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 Py_INCREF(Py_None
); resultobj
= Py_None
;
19613 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
;
19615 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19617 PyObject
* obj0
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= SWIG_FromInt((int)result
);
19639 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= SWIG_FromInt((int)result
);
19665 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19669 PyObject
* obj0
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= SWIG_FromInt((int)result
);
19691 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
;
19693 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19695 PyObject
* obj0
= 0 ;
19696 char *kwnames
[] = {
19697 (char *) "self", NULL
19700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= SWIG_FromInt((int)result
);
19717 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
;
19719 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 char *kwnames
[] = {
19723 (char *) "self", NULL
19726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
19727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= SWIG_FromInt((int)result
);
19743 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19747 PyObject
* obj0
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19771 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19773 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19775 PyObject
* obj0
= 0 ;
19776 char *kwnames
[] = {
19777 (char *) "self", NULL
19780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
19781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19799 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 char *kwnames
[] = {
19805 (char *) "self", NULL
19808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
19809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19827 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
19837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19855 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19859 PyObject
* obj0
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19883 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 PyObject
* obj1
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self",(char *) "v", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 arg2
= (int) SWIG_AsInt(obj1
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 (arg1
)->SetFromPage(arg2
);
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 Py_INCREF(Py_None
); resultobj
= Py_None
;
19912 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19913 PyObject
*resultobj
;
19914 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self",(char *) "v", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19925 arg2
= (int) SWIG_AsInt(obj1
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 (arg1
)->SetToPage(arg2
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 Py_INCREF(Py_None
); resultobj
= Py_None
;
19941 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19945 PyObject
* obj0
= 0 ;
19946 PyObject
* obj1
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self",(char *) "v", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19954 arg2
= (int) SWIG_AsInt(obj1
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 (arg1
)->SetMinPage(arg2
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 Py_INCREF(Py_None
); resultobj
= Py_None
;
19970 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19974 PyObject
* obj0
= 0 ;
19975 PyObject
* obj1
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self",(char *) "v", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19983 arg2
= (int) SWIG_AsInt(obj1
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 (arg1
)->SetMaxPage(arg2
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 Py_INCREF(Py_None
); resultobj
= Py_None
;
19999 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self",(char *) "v", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 arg2
= (int) SWIG_AsInt(obj1
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->SetNoCopies(arg2
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 Py_INCREF(Py_None
); resultobj
= Py_None
;
20028 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "self",(char *) "flag", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20041 arg2
= (bool) SWIG_AsBool(obj1
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 (arg1
)->SetAllPages(arg2
);
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20050 Py_INCREF(Py_None
); resultobj
= Py_None
;
20057 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20058 PyObject
*resultobj
;
20059 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 char *kwnames
[] = {
20064 (char *) "self",(char *) "flag", NULL
20067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20070 arg2
= (bool) SWIG_AsBool(obj1
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 (arg1
)->SetSelection(arg2
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 Py_INCREF(Py_None
); resultobj
= Py_None
;
20086 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20090 PyObject
* obj0
= 0 ;
20091 PyObject
* obj1
= 0 ;
20092 char *kwnames
[] = {
20093 (char *) "self",(char *) "flag", NULL
20096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20099 arg2
= (bool) SWIG_AsBool(obj1
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20103 (arg1
)->SetCollate(arg2
);
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20108 Py_INCREF(Py_None
); resultobj
= Py_None
;
20115 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 PyObject
* obj1
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self",(char *) "flag", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20128 arg2
= (bool) SWIG_AsBool(obj1
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20132 (arg1
)->SetPrintToFile(arg2
);
20134 wxPyEndAllowThreads(__tstate
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20137 Py_INCREF(Py_None
); resultobj
= Py_None
;
20144 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20148 PyObject
* obj0
= 0 ;
20149 PyObject
* obj1
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self",(char *) "flag", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20157 arg2
= (bool) SWIG_AsBool(obj1
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 (arg1
)->SetSetupDialog(arg2
);
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 Py_INCREF(Py_None
); resultobj
= Py_None
;
20173 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
;
20175 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self",(char *) "flag", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20186 arg2
= (bool) SWIG_AsBool(obj1
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 (arg1
)->EnablePrintToFile(arg2
);
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 Py_INCREF(Py_None
); resultobj
= Py_None
;
20202 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self",(char *) "flag", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20215 arg2
= (bool) SWIG_AsBool(obj1
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 (arg1
)->EnableSelection(arg2
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 Py_INCREF(Py_None
); resultobj
= Py_None
;
20231 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 PyObject
* obj1
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self",(char *) "flag", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 arg2
= (bool) SWIG_AsBool(obj1
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 (arg1
)->EnablePageNumbers(arg2
);
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 Py_INCREF(Py_None
); resultobj
= Py_None
;
20260 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20264 PyObject
* obj0
= 0 ;
20265 PyObject
* obj1
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self",(char *) "flag", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20273 arg2
= (bool) SWIG_AsBool(obj1
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 (arg1
)->EnableHelp(arg2
);
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 Py_INCREF(Py_None
); resultobj
= Py_None
;
20289 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20317 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20345 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20373 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20401 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20429 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20431 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20432 wxPrintData
*result
;
20433 PyObject
* obj0
= 0 ;
20434 char *kwnames
[] = {
20435 (char *) "self", NULL
20438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20445 result
= (wxPrintData
*) &_result_ref
;
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20458 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20461 wxPrintData
*arg2
= 0 ;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "printData", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20474 if (arg2
== NULL
) {
20475 PyErr_SetString(PyExc_TypeError
,"null reference");
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 Py_INCREF(Py_None
); resultobj
= Py_None
;
20492 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
20494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20495 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20497 return Py_BuildValue((char *)"");
20499 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20500 PyObject
*resultobj
;
20501 wxWindow
*arg1
= (wxWindow
*) 0 ;
20502 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20503 wxPrintDialog
*result
;
20504 PyObject
* obj0
= 0 ;
20505 PyObject
* obj1
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "parent",(char *) "data", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20531 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20534 wxPrintDialogData
*result
;
20535 PyObject
* obj0
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "self", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20547 result
= (wxPrintDialogData
*) &_result_ref
;
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20560 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 result
= (wxDC
*)(arg1
)->GetPrintDC();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20580 resultobj
= wxPyMake_wxObject(result
);
20588 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20589 PyObject
*resultobj
;
20590 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 result
= (int)(arg1
)->ShowModal();
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= SWIG_FromInt((int)result
);
20614 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
20616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20617 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
20619 return Py_BuildValue((char *)"");
20621 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
;
20623 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20625 PyObject
* obj0
= 0 ;
20626 char *kwnames
[] = {
20627 (char *) "data", NULL
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (wxPrinter
*)new wxPrinter(arg1
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20649 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20652 PyObject
* obj0
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "self", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 Py_INCREF(Py_None
); resultobj
= Py_None
;
20674 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20675 PyObject
*resultobj
;
20676 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20677 wxWindow
*arg2
= (wxWindow
*) 0 ;
20678 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20679 PyObject
* obj0
= 0 ;
20680 PyObject
* obj1
= 0 ;
20681 PyObject
* obj2
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "self",(char *) "parent",(char *) "printout", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20691 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 (arg1
)->CreateAbortWindow(arg2
,arg3
);
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 Py_INCREF(Py_None
); resultobj
= Py_None
;
20707 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20709 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20710 wxPrintDialogData
*result
;
20711 PyObject
* obj0
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20723 result
= (wxPrintDialogData
*) &_result_ref
;
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20736 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20739 wxWindow
*arg2
= (wxWindow
*) 0 ;
20740 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20741 int arg4
= (int) True
;
20743 PyObject
* obj0
= 0 ;
20744 PyObject
* obj1
= 0 ;
20745 PyObject
* obj2
= 0 ;
20746 PyObject
* obj3
= 0 ;
20747 char *kwnames
[] = {
20748 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20756 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20759 arg4
= (int) SWIG_AsInt(obj3
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20778 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20781 wxWindow
*arg2
= (wxWindow
*) 0 ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self",(char *) "parent", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= wxPyMake_wxObject(result
);
20810 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20813 wxWindow
*arg2
= (wxWindow
*) 0 ;
20814 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20815 wxString
*arg4
= 0 ;
20816 bool temp4
= False
;
20817 PyObject
* obj0
= 0 ;
20818 PyObject
* obj1
= 0 ;
20819 PyObject
* obj2
= 0 ;
20820 PyObject
* obj3
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20830 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20833 arg4
= wxString_in_helper(obj3
);
20834 if (arg4
== NULL
) SWIG_fail
;
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 Py_INCREF(Py_None
); resultobj
= Py_None
;
20859 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20862 wxWindow
*arg2
= (wxWindow
*) 0 ;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self",(char *) "parent", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 result
= (bool)(arg1
)->Setup(arg2
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20891 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20892 PyObject
*resultobj
;
20893 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20895 PyObject
* obj0
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 result
= (bool)(arg1
)->GetAbort();
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20919 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20922 char *kwnames
[] = {
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= (int)wxPrinter::GetLastError();
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= SWIG_FromInt((int)result
);
20941 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
20943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20944 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
20946 return Py_BuildValue((char *)"");
20948 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
20951 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
20952 wxPyPrintout
*result
;
20953 bool temp1
= False
;
20954 PyObject
* obj0
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "title", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
20962 arg1
= wxString_in_helper(obj0
);
20963 if (arg1
== NULL
) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= wxPyMake_wxObject(result
);
20991 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
;
20993 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20994 PyObject
*arg2
= (PyObject
*) 0 ;
20995 PyObject
*arg3
= (PyObject
*) 0 ;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 PyObject
* obj2
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self",(char *) "self",(char *) "_class", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 Py_INCREF(Py_None
); resultobj
= Py_None
;
21022 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21026 PyObject
* obj0
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21054 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (wxDC
*)(arg1
)->GetDC();
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= wxPyMake_wxObject(result
);
21082 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21085 wxDC
*arg2
= (wxDC
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self",(char *) "dc", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 (arg1
)->SetDC(arg2
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 Py_INCREF(Py_None
); resultobj
= Py_None
;
21111 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21116 PyObject
* obj0
= 0 ;
21117 PyObject
* obj1
= 0 ;
21118 PyObject
* obj2
= 0 ;
21119 char *kwnames
[] = {
21120 (char *) "self",(char *) "w",(char *) "h", NULL
21123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21126 arg2
= (int) SWIG_AsInt(obj1
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21128 arg3
= (int) SWIG_AsInt(obj2
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 Py_INCREF(Py_None
); resultobj
= Py_None
;
21144 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
;
21146 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21147 int *arg2
= (int *) 0 ;
21148 int *arg3
= (int *) 0 ;
21151 PyObject
* obj0
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self", NULL
21158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 Py_INCREF(Py_None
); resultobj
= Py_None
;
21170 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21171 resultobj
= t_output_helper(resultobj
,o
);
21174 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21175 resultobj
= t_output_helper(resultobj
,o
);
21183 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21185 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 PyObject
* obj2
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self",(char *) "w",(char *) "h", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21198 arg2
= (int) SWIG_AsInt(obj1
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21200 arg3
= (int) SWIG_AsInt(obj2
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 Py_INCREF(Py_None
); resultobj
= Py_None
;
21216 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21219 int *arg2
= (int *) 0 ;
21220 int *arg3
= (int *) 0 ;
21223 PyObject
* obj0
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self", NULL
21230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 Py_INCREF(Py_None
); resultobj
= Py_None
;
21242 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21243 resultobj
= t_output_helper(resultobj
,o
);
21246 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21247 resultobj
= t_output_helper(resultobj
,o
);
21255 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
;
21257 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21260 PyObject
* obj0
= 0 ;
21261 PyObject
* obj1
= 0 ;
21262 PyObject
* obj2
= 0 ;
21263 char *kwnames
[] = {
21264 (char *) "self",(char *) "x",(char *) "y", NULL
21267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21270 arg2
= (int) SWIG_AsInt(obj1
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21272 arg3
= (int) SWIG_AsInt(obj2
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 (arg1
)->SetPPIScreen(arg2
,arg3
);
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 Py_INCREF(Py_None
); resultobj
= Py_None
;
21288 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21291 int *arg2
= (int *) 0 ;
21292 int *arg3
= (int *) 0 ;
21295 PyObject
* obj0
= 0 ;
21296 char *kwnames
[] = {
21297 (char *) "self", NULL
21302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 (arg1
)->GetPPIScreen(arg2
,arg3
);
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21312 Py_INCREF(Py_None
); resultobj
= Py_None
;
21314 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21315 resultobj
= t_output_helper(resultobj
,o
);
21318 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21319 resultobj
= t_output_helper(resultobj
,o
);
21327 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21332 PyObject
* obj0
= 0 ;
21333 PyObject
* obj1
= 0 ;
21334 PyObject
* obj2
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self",(char *) "x",(char *) "y", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21342 arg2
= (int) SWIG_AsInt(obj1
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21344 arg3
= (int) SWIG_AsInt(obj2
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 Py_INCREF(Py_None
); resultobj
= Py_None
;
21360 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
;
21362 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21363 int *arg2
= (int *) 0 ;
21364 int *arg3
= (int *) 0 ;
21367 PyObject
* obj0
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 Py_INCREF(Py_None
); resultobj
= Py_None
;
21386 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21387 resultobj
= t_output_helper(resultobj
,o
);
21390 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21391 resultobj
= t_output_helper(resultobj
,o
);
21399 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21403 PyObject
* obj0
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (bool)(arg1
)->IsPreview();
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21427 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "self",(char *) "p", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21440 arg2
= (bool) SWIG_AsBool(obj1
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 (arg1
)->SetIsPreview(arg2
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 Py_INCREF(Py_None
); resultobj
= Py_None
;
21456 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 PyObject
* obj2
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21472 arg2
= (int) SWIG_AsInt(obj1
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21474 arg3
= (int) SWIG_AsInt(obj2
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21492 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21495 PyObject
* obj0
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 (arg1
)->base_OnEndDocument();
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 Py_INCREF(Py_None
); resultobj
= Py_None
;
21517 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21520 PyObject
* obj0
= 0 ;
21521 char *kwnames
[] = {
21522 (char *) "self", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 (arg1
)->base_OnBeginPrinting();
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 Py_INCREF(Py_None
); resultobj
= Py_None
;
21542 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21545 PyObject
* obj0
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 (arg1
)->base_OnEndPrinting();
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 Py_INCREF(Py_None
); resultobj
= Py_None
;
21567 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
21576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 (arg1
)->base_OnPreparePrinting();
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 Py_INCREF(Py_None
); resultobj
= Py_None
;
21592 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21597 PyObject
* obj0
= 0 ;
21598 PyObject
* obj1
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self",(char *) "page", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21606 arg2
= (int) SWIG_AsInt(obj1
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 result
= (bool)(arg1
)->base_HasPage(arg2
);
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21624 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21625 PyObject
*resultobj
;
21626 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21627 int *arg2
= (int *) 0 ;
21628 int *arg3
= (int *) 0 ;
21629 int *arg4
= (int *) 0 ;
21630 int *arg5
= (int *) 0 ;
21635 PyObject
* obj0
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self", NULL
21644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 Py_INCREF(Py_None
); resultobj
= Py_None
;
21656 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21657 resultobj
= t_output_helper(resultobj
,o
);
21660 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21661 resultobj
= t_output_helper(resultobj
,o
);
21664 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21665 resultobj
= t_output_helper(resultobj
,o
);
21668 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21669 resultobj
= t_output_helper(resultobj
,o
);
21677 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
21679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21680 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
21682 return Py_BuildValue((char *)"");
21684 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21686 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21687 wxWindow
*arg2
= (wxWindow
*) 0 ;
21688 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21689 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21690 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21691 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21692 long arg5
= (long) 0 ;
21693 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
21694 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21695 wxPreviewCanvas
*result
;
21698 bool temp6
= False
;
21699 PyObject
* obj0
= 0 ;
21700 PyObject
* obj1
= 0 ;
21701 PyObject
* obj2
= 0 ;
21702 PyObject
* obj3
= 0 ;
21703 PyObject
* obj4
= 0 ;
21704 PyObject
* obj5
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21717 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21723 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21727 arg5
= (long) SWIG_AsLong(obj4
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21732 arg6
= wxString_in_helper(obj5
);
21733 if (arg6
== NULL
) SWIG_fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
21759 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
21761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21762 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
21764 return Py_BuildValue((char *)"");
21766 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
;
21768 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21769 wxFrame
*arg2
= (wxFrame
*) 0 ;
21770 wxString
*arg3
= 0 ;
21771 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21772 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21773 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21774 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21775 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21776 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21777 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21778 wxPreviewFrame
*result
;
21779 bool temp3
= False
;
21782 bool temp7
= False
;
21783 PyObject
* obj0
= 0 ;
21784 PyObject
* obj1
= 0 ;
21785 PyObject
* obj2
= 0 ;
21786 PyObject
* obj3
= 0 ;
21787 PyObject
* obj4
= 0 ;
21788 PyObject
* obj5
= 0 ;
21789 PyObject
* obj6
= 0 ;
21790 char *kwnames
[] = {
21791 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21800 arg3
= wxString_in_helper(obj2
);
21801 if (arg3
== NULL
) SWIG_fail
;
21807 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21813 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21817 arg6
= (long) SWIG_AsLong(obj5
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21822 arg7
= wxString_in_helper(obj6
);
21823 if (arg7
== NULL
) SWIG_fail
;
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
21857 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
;
21859 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21860 PyObject
* obj0
= 0 ;
21861 char *kwnames
[] = {
21862 (char *) "self", NULL
21865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
21866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 (arg1
)->Initialize();
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 Py_INCREF(Py_None
); resultobj
= Py_None
;
21882 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21885 PyObject
* obj0
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
21891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 (arg1
)->CreateControlBar();
21897 wxPyEndAllowThreads(__tstate
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21900 Py_INCREF(Py_None
); resultobj
= Py_None
;
21907 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21908 PyObject
*resultobj
;
21909 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21910 PyObject
* obj0
= 0 ;
21911 char *kwnames
[] = {
21912 (char *) "self", NULL
21915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
21916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 (arg1
)->CreateCanvas();
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 Py_INCREF(Py_None
); resultobj
= Py_None
;
21932 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21935 wxPreviewControlBar
*result
;
21936 PyObject
* obj0
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
21958 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
21960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21961 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
21963 return Py_BuildValue((char *)"");
21965 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21969 wxWindow
*arg3
= (wxWindow
*) 0 ;
21970 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21971 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21972 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21973 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21974 long arg6
= (long) wxTAB_TRAVERSAL
;
21975 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21976 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21977 wxPreviewControlBar
*result
;
21980 bool temp7
= False
;
21981 PyObject
* obj0
= 0 ;
21982 PyObject
* obj1
= 0 ;
21983 PyObject
* obj2
= 0 ;
21984 PyObject
* obj3
= 0 ;
21985 PyObject
* obj4
= 0 ;
21986 PyObject
* obj5
= 0 ;
21987 PyObject
* obj6
= 0 ;
21988 char *kwnames
[] = {
21989 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21995 arg2
= (long) SWIG_AsLong(obj1
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21997 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
21998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22002 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22008 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22012 arg6
= (long) SWIG_AsLong(obj5
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22017 arg7
= wxString_in_helper(obj6
);
22018 if (arg7
== NULL
) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22044 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 result
= (int)(arg1
)->GetZoomControl();
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 resultobj
= SWIG_FromInt((int)result
);
22070 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22072 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "zoom", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 arg2
= (int) SWIG_AsInt(obj1
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 (arg1
)->SetZoomControl(arg2
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 Py_INCREF(Py_None
); resultobj
= Py_None
;
22099 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22102 wxPrintPreview
*result
;
22103 PyObject
* obj0
= 0 ;
22104 char *kwnames
[] = {
22105 (char *) "self", NULL
22108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22125 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
;
22127 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22128 PyObject
* obj0
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 Py_INCREF(Py_None
); resultobj
= Py_None
;
22150 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22152 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22153 PyObject
* obj0
= 0 ;
22154 char *kwnames
[] = {
22155 (char *) "self", NULL
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 (arg1
)->OnPrevious();
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 Py_INCREF(Py_None
); resultobj
= Py_None
;
22175 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22178 PyObject
* obj0
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22193 Py_INCREF(Py_None
); resultobj
= Py_None
;
22200 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
;
22202 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22203 PyObject
* obj0
= 0 ;
22204 char *kwnames
[] = {
22205 (char *) "self", NULL
22208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 Py_INCREF(Py_None
); resultobj
= Py_None
;
22225 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22226 PyObject
*resultobj
;
22227 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22228 PyObject
* obj0
= 0 ;
22229 char *kwnames
[] = {
22230 (char *) "self", NULL
22233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 Py_INCREF(Py_None
); resultobj
= Py_None
;
22250 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
22252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22253 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22255 return Py_BuildValue((char *)"");
22257 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
22258 PyObject
*resultobj
;
22259 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22260 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22261 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22262 wxPrintPreview
*result
;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 PyObject
* obj2
= 0 ;
22267 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22273 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22278 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22290 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
22291 PyObject
*resultobj
;
22292 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22293 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22294 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22295 wxPrintPreview
*result
;
22296 PyObject
* obj0
= 0 ;
22297 PyObject
* obj1
= 0 ;
22298 PyObject
* obj2
= 0 ;
22300 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22305 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22321 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22326 argc
= PyObject_Length(args
);
22327 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22328 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22330 if ((argc
>= 2) && (argc
<= 3)) {
22334 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22344 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22353 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22357 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22365 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22374 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22384 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22394 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22402 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22408 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22413 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22418 PyObject
* obj0
= 0 ;
22419 PyObject
* obj1
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "self",(char *) "pageNum", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22427 arg2
= (int) SWIG_AsInt(obj1
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22445 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22446 PyObject
*resultobj
;
22447 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22449 PyObject
* obj0
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 result
= (int)(arg1
)->GetCurrentPage();
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= SWIG_FromInt((int)result
);
22471 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
;
22473 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22474 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22475 PyObject
* obj0
= 0 ;
22476 PyObject
* obj1
= 0 ;
22477 char *kwnames
[] = {
22478 (char *) "self",(char *) "printout", NULL
22481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 (arg1
)->SetPrintout(arg2
);
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 Py_INCREF(Py_None
); resultobj
= Py_None
;
22500 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22502 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22503 wxPyPrintout
*result
;
22504 PyObject
* obj0
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22520 resultobj
= wxPyMake_wxObject(result
);
22528 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
;
22530 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22531 wxPyPrintout
*result
;
22532 PyObject
* obj0
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= wxPyMake_wxObject(result
);
22556 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22559 wxFrame
*arg2
= (wxFrame
*) 0 ;
22560 PyObject
* obj0
= 0 ;
22561 PyObject
* obj1
= 0 ;
22562 char *kwnames
[] = {
22563 (char *) "self",(char *) "frame", NULL
22566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 (arg1
)->SetFrame(arg2
);
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 Py_INCREF(Py_None
); resultobj
= Py_None
;
22585 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22588 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self",(char *) "canvas", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->SetCanvas(arg2
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 Py_INCREF(Py_None
); resultobj
= Py_None
;
22614 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22618 PyObject
* obj0
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (wxFrame
*)(arg1
)->GetFrame();
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22634 resultobj
= wxPyMake_wxObject(result
);
22642 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22645 wxPreviewCanvas
*result
;
22646 PyObject
* obj0
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22668 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22671 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22674 PyObject
* obj0
= 0 ;
22675 PyObject
* obj1
= 0 ;
22676 PyObject
* obj2
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22686 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22689 if (arg3
== NULL
) {
22690 PyErr_SetString(PyExc_TypeError
,"null reference");
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22709 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22712 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 PyObject
* obj1
= 0 ;
22717 PyObject
* obj2
= 0 ;
22718 char *kwnames
[] = {
22719 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22727 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22730 if (arg3
== NULL
) {
22731 PyErr_SetString(PyExc_TypeError
,"null reference");
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22750 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22755 PyObject
* obj0
= 0 ;
22756 PyObject
* obj1
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self",(char *) "pageNum", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 arg2
= (int) SWIG_AsInt(obj1
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 result
= (bool)(arg1
)->RenderPage(arg2
);
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22782 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22785 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22786 PyObject
* obj0
= 0 ;
22787 PyObject
* obj1
= 0 ;
22788 char *kwnames
[] = {
22789 (char *) "self",(char *) "canvas", NULL
22792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
22793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 (arg1
)->AdjustScrollbars(arg2
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 Py_INCREF(Py_None
); resultobj
= Py_None
;
22811 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22814 wxPrintDialogData
*result
;
22815 PyObject
* obj0
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22827 result
= (wxPrintDialogData
*) &_result_ref
;
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22840 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
;
22842 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22844 PyObject
* obj0
= 0 ;
22845 PyObject
* obj1
= 0 ;
22846 char *kwnames
[] = {
22847 (char *) "self",(char *) "percent", NULL
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22853 arg2
= (int) SWIG_AsInt(obj1
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 (arg1
)->SetZoom(arg2
);
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 Py_INCREF(Py_None
); resultobj
= Py_None
;
22869 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
22879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (int)(arg1
)->GetZoom();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_FromInt((int)result
);
22895 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
22905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (int)(arg1
)->GetMaxPage();
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= SWIG_FromInt((int)result
);
22921 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 result
= (int)(arg1
)->GetMinPage();
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 resultobj
= SWIG_FromInt((int)result
);
22947 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22951 PyObject
* obj0
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 result
= (bool)(arg1
)->Ok();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22975 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22979 PyObject
* obj0
= 0 ;
22980 PyObject
* obj1
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "self",(char *) "ok", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
22986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22988 arg2
= (bool) SWIG_AsBool(obj1
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 (arg1
)->SetOk(arg2
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 Py_INCREF(Py_None
); resultobj
= Py_None
;
23004 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self",(char *) "interactive", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23018 arg2
= (bool) SWIG_AsBool(obj1
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (bool)(arg1
)->Print(arg2
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23036 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
;
23038 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 (arg1
)->DetermineScaling();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 Py_INCREF(Py_None
); resultobj
= Py_None
;
23061 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
23063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23064 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23066 return Py_BuildValue((char *)"");
23068 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23069 PyObject
*resultobj
;
23070 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23071 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23072 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23073 wxPyPrintPreview
*result
;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 PyObject
* obj2
= 0 ;
23078 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23084 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23101 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23102 PyObject
*resultobj
;
23103 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23104 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23105 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23106 wxPyPrintPreview
*result
;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 PyObject
* obj2
= 0 ;
23111 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23132 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23137 argc
= PyObject_Length(args
);
23138 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23139 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23141 if ((argc
>= 2) && (argc
<= 3)) {
23145 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23155 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23164 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23168 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23176 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23185 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23195 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23205 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23213 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23219 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23224 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23225 PyObject
*resultobj
;
23226 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23227 PyObject
*arg2
= (PyObject
*) 0 ;
23228 PyObject
*arg3
= (PyObject
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23231 PyObject
* obj2
= 0 ;
23232 char *kwnames
[] = {
23233 (char *) "self",(char *) "self",(char *) "_class", NULL
23236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23243 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 Py_INCREF(Py_None
); resultobj
= Py_None
;
23255 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
;
23257 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23260 PyObject
* obj0
= 0 ;
23261 PyObject
* obj1
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self",(char *) "pageNum", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23269 arg2
= (int) SWIG_AsInt(obj1
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23287 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
;
23289 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23290 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 PyObject
* obj2
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23305 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23308 if (arg3
== NULL
) {
23309 PyErr_SetString(PyExc_TypeError
,"null reference");
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23328 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23331 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 PyObject
* obj1
= 0 ;
23336 PyObject
* obj2
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23346 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23349 if (arg3
== NULL
) {
23350 PyErr_SetString(PyExc_TypeError
,"null reference");
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23369 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
;
23371 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23374 PyObject
* obj0
= 0 ;
23375 PyObject
* obj1
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self",(char *) "pageNum", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23383 arg2
= (int) SWIG_AsInt(obj1
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23401 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 PyObject
* obj1
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self",(char *) "percent", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23414 arg2
= (int) SWIG_AsInt(obj1
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 (arg1
)->base_SetZoom(arg2
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 Py_INCREF(Py_None
); resultobj
= Py_None
;
23430 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
;
23432 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23435 PyObject
* obj0
= 0 ;
23436 PyObject
* obj1
= 0 ;
23437 char *kwnames
[] = {
23438 (char *) "self",(char *) "interactive", NULL
23441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23444 arg2
= (bool) SWIG_AsBool(obj1
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (bool)(arg1
)->base_Print(arg2
);
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23462 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
;
23464 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23465 PyObject
* obj0
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 (arg1
)->base_DetermineScaling();
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 Py_INCREF(Py_None
); resultobj
= Py_None
;
23487 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
23489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23490 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23492 return Py_BuildValue((char *)"");
23494 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
;
23496 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23497 wxFrame
*arg2
= (wxFrame
*) 0 ;
23498 wxString
*arg3
= 0 ;
23499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23503 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23504 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23505 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23506 wxPyPreviewFrame
*result
;
23507 bool temp3
= False
;
23510 bool temp7
= False
;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 PyObject
* obj2
= 0 ;
23514 PyObject
* obj3
= 0 ;
23515 PyObject
* obj4
= 0 ;
23516 PyObject
* obj5
= 0 ;
23517 PyObject
* obj6
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23528 arg3
= wxString_in_helper(obj2
);
23529 if (arg3
== NULL
) SWIG_fail
;
23535 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23541 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23545 arg6
= (long) SWIG_AsLong(obj5
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23550 arg7
= wxString_in_helper(obj6
);
23551 if (arg7
== NULL
) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
23585 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
;
23587 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23588 PyObject
*arg2
= (PyObject
*) 0 ;
23589 PyObject
*arg3
= (PyObject
*) 0 ;
23590 PyObject
* obj0
= 0 ;
23591 PyObject
* obj1
= 0 ;
23592 PyObject
* obj2
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "self",(char *) "self",(char *) "_class", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 Py_INCREF(Py_None
); resultobj
= Py_None
;
23616 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
;
23618 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23619 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23620 PyObject
* obj0
= 0 ;
23621 PyObject
* obj1
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self",(char *) "canvas", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 (arg1
)->SetPreviewCanvas(arg2
);
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 Py_INCREF(Py_None
); resultobj
= Py_None
;
23645 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23646 PyObject
*resultobj
;
23647 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23648 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "bar", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 (arg1
)->SetControlBar(arg2
);
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23667 Py_INCREF(Py_None
); resultobj
= Py_None
;
23674 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
;
23676 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23677 PyObject
* obj0
= 0 ;
23678 char *kwnames
[] = {
23679 (char *) "self", NULL
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
23683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 (arg1
)->base_Initialize();
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23692 Py_INCREF(Py_None
); resultobj
= Py_None
;
23699 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23702 PyObject
* obj0
= 0 ;
23703 char *kwnames
[] = {
23704 (char *) "self", NULL
23707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 (arg1
)->base_CreateCanvas();
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 Py_INCREF(Py_None
); resultobj
= Py_None
;
23724 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 (arg1
)->base_CreateControlBar();
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 Py_INCREF(Py_None
); resultobj
= Py_None
;
23749 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23752 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
23754 return Py_BuildValue((char *)"");
23756 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
;
23758 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23760 wxWindow
*arg3
= (wxWindow
*) 0 ;
23761 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23762 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23763 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23764 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23765 long arg6
= (long) 0 ;
23766 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23767 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23768 wxPyPreviewControlBar
*result
;
23771 bool temp7
= False
;
23772 PyObject
* obj0
= 0 ;
23773 PyObject
* obj1
= 0 ;
23774 PyObject
* obj2
= 0 ;
23775 PyObject
* obj3
= 0 ;
23776 PyObject
* obj4
= 0 ;
23777 PyObject
* obj5
= 0 ;
23778 PyObject
* obj6
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23786 arg2
= (long) SWIG_AsLong(obj1
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23788 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23793 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23799 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23803 arg6
= (long) SWIG_AsLong(obj5
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23808 arg7
= wxString_in_helper(obj6
);
23809 if (arg7
== NULL
) SWIG_fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
23835 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23838 PyObject
*arg2
= (PyObject
*) 0 ;
23839 PyObject
*arg3
= (PyObject
*) 0 ;
23840 PyObject
* obj0
= 0 ;
23841 PyObject
* obj1
= 0 ;
23842 PyObject
* obj2
= 0 ;
23843 char *kwnames
[] = {
23844 (char *) "self",(char *) "self",(char *) "_class", NULL
23847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23859 Py_INCREF(Py_None
); resultobj
= Py_None
;
23866 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23867 PyObject
*resultobj
;
23868 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23869 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
23870 PyObject
* obj0
= 0 ;
23871 PyObject
* obj1
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self",(char *) "preview", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
23880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 (arg1
)->SetPrintPreview(arg2
);
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 Py_INCREF(Py_None
); resultobj
= Py_None
;
23895 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
;
23897 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23898 PyObject
* obj0
= 0 ;
23899 char *kwnames
[] = {
23900 (char *) "self", NULL
23903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
23904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 (arg1
)->base_CreateButtons();
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 Py_INCREF(Py_None
); resultobj
= Py_None
;
23920 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self",(char *) "zoom", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 arg2
= (int) SWIG_AsInt(obj1
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 (arg1
)->base_SetZoomControl(arg2
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 Py_INCREF(Py_None
); resultobj
= Py_None
;
23949 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23952 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
23954 return Py_BuildValue((char *)"");
23956 static PyMethodDef SwigMethods
[] = {
23957 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23958 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23959 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23960 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23961 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
23962 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23963 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23964 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23965 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23966 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23967 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23968 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23969 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23970 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23971 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23972 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23973 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23974 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23975 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23976 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
23977 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
23978 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23979 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23980 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23981 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23982 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23983 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23984 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
23985 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23986 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23987 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23988 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23989 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23990 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23991 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23992 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23993 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23994 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23995 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23996 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23997 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23998 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
23999 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24000 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24001 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24002 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24003 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24004 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24005 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24006 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24007 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24008 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24009 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24010 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24011 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24012 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24013 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24014 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24015 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24016 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24017 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24018 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24019 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24020 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24021 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
24022 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24023 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24024 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24025 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24026 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24027 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24028 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24029 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24030 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24031 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24032 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24033 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
24034 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24035 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24036 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24037 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
24038 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24039 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24040 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24041 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
24042 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24043 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24044 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24045 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24046 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
24047 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24048 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24049 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24050 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24051 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24052 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24053 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24054 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24055 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24056 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24057 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24058 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24059 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24060 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24061 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
24062 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24063 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24064 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24065 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24066 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24067 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24068 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24069 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24070 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24071 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24072 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24073 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24074 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24075 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24076 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24077 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24078 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24079 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24080 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24081 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24082 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24083 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24084 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24085 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24086 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24087 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24088 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
24089 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24090 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24091 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24092 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24093 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24094 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24095 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
24096 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24097 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24098 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24099 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24100 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24101 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24102 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24103 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24104 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24105 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24106 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24107 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24108 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24109 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24110 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24111 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24112 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24113 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24114 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24115 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24116 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24117 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24118 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
24119 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24120 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24121 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24122 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24123 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24124 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24125 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24126 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
24127 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24128 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24129 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24130 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24131 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24132 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24133 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24134 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24135 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24136 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24137 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24138 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
24139 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24140 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24141 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24142 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24143 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24144 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
24145 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24146 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24147 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24148 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24149 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24150 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24151 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24152 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24153 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
24154 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24155 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24156 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24157 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24158 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24159 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
24160 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24161 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24162 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
24163 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24164 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24165 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
24166 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24167 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24168 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24169 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
24170 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24171 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24172 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24173 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24174 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24175 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24176 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24177 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24178 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24179 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24180 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24181 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24182 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24183 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24184 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24185 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24186 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24187 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
24188 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24189 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24190 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24191 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24192 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24193 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24194 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24195 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24196 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24197 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24198 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24199 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24200 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24201 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24202 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24203 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24204 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24205 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24206 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24207 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24208 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24209 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24210 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24211 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24212 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24213 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
24214 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24215 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24216 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24217 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24218 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24219 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24220 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
24221 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24222 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24223 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
24224 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24225 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
24226 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24227 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24228 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24229 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24230 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24231 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24232 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24233 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24234 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
24235 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24236 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24237 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
24238 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24239 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24240 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24241 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24242 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24243 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24244 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
24245 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24246 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24247 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24248 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24249 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24250 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24251 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24252 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24253 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24254 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24255 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24256 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24257 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24258 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24259 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24260 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24261 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24262 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
24263 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24264 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24265 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24266 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
24267 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24268 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24269 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24270 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24271 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
24272 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24273 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24274 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24275 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
24276 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24277 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24278 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24279 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24280 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24281 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24282 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24283 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24284 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24285 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24286 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24287 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24288 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24289 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24290 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24291 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
24292 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24293 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24294 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
24295 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24296 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
24297 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24298 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24299 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24300 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
24301 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24302 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24303 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24304 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24305 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24306 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24307 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24308 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24309 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
24310 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24311 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24312 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24313 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24314 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24315 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24316 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24317 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24318 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
24319 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24320 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24321 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24322 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24323 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24324 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
24325 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24326 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24327 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24328 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24329 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24330 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24331 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24332 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24333 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24334 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24335 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24336 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
24337 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24338 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24339 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24340 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24341 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24342 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24343 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
24344 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24345 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24346 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24347 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
24348 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24349 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24350 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24351 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24352 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24353 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24354 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24355 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24356 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24357 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24358 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24359 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24360 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24361 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24362 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24363 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24364 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24365 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24366 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24367 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24368 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24369 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24370 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24371 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
24372 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24373 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24374 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24375 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24376 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24377 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24378 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24379 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24380 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24381 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24382 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24383 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24384 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24385 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24386 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24387 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24388 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24389 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24390 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24391 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24392 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24393 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24394 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24395 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
24396 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24397 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24398 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24399 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24400 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24401 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24402 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24403 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24404 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24405 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24406 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24407 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24408 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24409 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24410 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24411 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24412 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24413 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24414 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24415 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24416 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24417 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24418 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24419 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
24420 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24421 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24422 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24423 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24424 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24425 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24426 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24427 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24428 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24429 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24430 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24431 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24432 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24433 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24434 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24435 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24436 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24437 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24438 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24439 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24440 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24441 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24442 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24443 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24444 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24445 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24446 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24447 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24448 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24449 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24450 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24451 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24452 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24453 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24454 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24455 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24456 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24457 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24458 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24459 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24460 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24461 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24462 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24463 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24464 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24465 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
24466 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24467 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24468 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24469 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24470 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24471 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24472 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24473 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24474 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24475 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24476 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24477 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24478 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24479 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24480 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24481 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24482 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24483 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24484 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24485 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24486 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24487 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24488 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24489 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24490 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24491 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24492 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24493 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24494 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24495 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24496 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24497 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
24498 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24499 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24500 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24501 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
24502 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
24503 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24504 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24505 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24506 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24507 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24508 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24509 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24510 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24511 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24512 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24513 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24514 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24515 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24516 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24517 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24518 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24519 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24520 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24521 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24522 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24523 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24524 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24525 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24526 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24527 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24528 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24529 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24530 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24531 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24532 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24533 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24534 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24535 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
24536 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24537 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24538 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24539 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24540 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
24541 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24542 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24543 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24544 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24545 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24546 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24547 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24548 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24549 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24550 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24551 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
24552 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24553 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24554 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24555 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24556 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24557 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24558 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24559 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24560 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24561 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24562 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24563 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24564 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24565 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24566 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24567 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24568 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24569 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24570 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24571 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24572 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24573 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24574 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
24575 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24576 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
24577 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24578 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24579 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24580 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24581 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24582 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
24583 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24584 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24585 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24586 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24587 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24588 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24589 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24590 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24591 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24592 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
24593 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
24594 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24595 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24596 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24597 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24598 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24599 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24600 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24601 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24602 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24603 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24604 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24605 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24606 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24607 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24608 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24609 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24610 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24611 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24612 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24613 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24614 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24615 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24616 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
24617 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
24618 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24619 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24620 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24621 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24622 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24623 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24624 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24625 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24626 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
24627 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24628 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24629 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24630 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24631 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24632 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24633 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24634 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
24635 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24636 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24637 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24638 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24639 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24640 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
24641 { NULL
, NULL
, 0, NULL
}
24645 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24647 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24648 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24650 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24651 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24653 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24654 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24656 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24657 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24659 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24660 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24662 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24663 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24665 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24666 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24668 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24669 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24671 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
24672 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
24674 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
24675 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
24677 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
24678 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24680 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
24681 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
24683 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
24684 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24686 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
24687 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24689 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
24690 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
24692 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
24693 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24695 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
24696 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24698 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
24699 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
24701 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
24702 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
24704 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
24705 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
24707 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
24708 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
24710 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
24711 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
24713 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
24714 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
24716 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
24717 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
24719 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
24720 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24722 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
24723 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
24725 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
24726 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
24728 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
24729 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
24731 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
24732 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
24734 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
24735 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
24737 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
24738 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
24740 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
24741 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24743 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
24744 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
24746 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
24747 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
24749 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
24750 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
24752 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
24753 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
24755 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
24756 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24758 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
24759 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24761 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
24762 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
24764 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
24765 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
24767 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
24768 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
24770 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
24771 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
24773 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
24774 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24776 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
24777 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24779 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
24780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24782 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
24783 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
24785 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
24786 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
24788 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
24789 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
24791 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
24792 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
24794 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
24795 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
24797 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
24798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24800 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
24801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24803 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
24804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24806 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
24807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24809 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
24810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24812 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
24813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24815 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
24816 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24818 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
24819 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
24821 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
24822 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
24824 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
24825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24827 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
24828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
24830 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
24831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24833 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
24834 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
24836 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
24837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24839 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
24840 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
24842 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
24843 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
24845 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
24846 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
24848 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
24849 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
24851 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
24852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24854 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
24855 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
24857 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
24858 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
24860 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
24861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
24863 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
24864 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
24866 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
24867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24869 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
24870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24872 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
24873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24875 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
24876 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
24878 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
24879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24881 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
24882 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
24884 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
24885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24887 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
24888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24890 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
24891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24893 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24896 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24899 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
24900 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
24902 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
24903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
24905 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
24906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24908 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
24909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24911 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
24912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24914 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
24915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24917 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
24918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24920 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
24921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24923 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
24924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24926 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
24927 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24929 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
24930 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
24932 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
24933 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
24935 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
24936 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
24938 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
24939 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
24941 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
24942 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24944 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
24945 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
24947 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
24948 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
24950 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
24951 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
24953 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
24954 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
24956 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
24957 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
24959 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
24960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24962 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
24963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24965 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
24966 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
24968 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
24969 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
24971 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
24972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
24974 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
24975 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
24977 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
24978 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
24980 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
24981 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
24983 static void *_p_wxSizerTo_p_wxObject(void *x
) {
24984 return (void *)((wxObject
*) ((wxSizer
*) x
));
24986 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
24987 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
24989 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
24990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24992 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
24993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
24995 static void *_p_wxEventTo_p_wxObject(void *x
) {
24996 return (void *)((wxObject
*) ((wxEvent
*) x
));
24998 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
24999 return (void *)((wxObject
*) ((wxFontData
*) x
));
25001 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25002 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25004 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25005 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25007 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25008 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25010 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25011 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25013 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25014 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25016 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25017 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25019 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25020 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25022 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25023 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25025 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25026 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25028 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25029 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25031 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25032 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25034 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25035 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25037 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25038 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25040 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25043 static void *_p_wxControlTo_p_wxObject(void *x
) {
25044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25046 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25047 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25049 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25050 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25052 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25053 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25055 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25056 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25058 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25059 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25061 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25064 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25065 return (void *)((wxObject
*) ((wxColourData
*) x
));
25067 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25068 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25070 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25071 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25073 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25076 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25079 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25082 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25085 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25088 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25091 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25094 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25097 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25100 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25101 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25103 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25104 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25106 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25107 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25109 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25110 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25112 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25115 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25116 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25118 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25119 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25121 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25122 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25124 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25125 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25127 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25128 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25130 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25131 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25133 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25134 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25136 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25137 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25139 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25140 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25142 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25143 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25145 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25146 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25148 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25149 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25151 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25152 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25154 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25155 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25157 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25158 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25160 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25161 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25163 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25164 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25166 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25167 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25169 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25170 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25172 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25173 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25175 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25178 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25181 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25182 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25184 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25187 static void *_p_wxImageTo_p_wxObject(void *x
) {
25188 return (void *)((wxObject
*) ((wxImage
*) x
));
25190 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25193 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25194 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25196 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25197 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25199 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25200 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25202 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25205 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25208 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25209 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25211 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25212 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25214 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25215 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25217 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25218 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25220 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25221 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25223 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25226 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25229 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25232 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25235 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25238 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25241 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25244 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25247 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25250 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25253 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25256 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25257 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25259 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25262 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25263 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25265 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25266 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25268 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25269 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25271 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25274 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25277 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25280 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25283 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25286 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25289 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25292 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25293 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25295 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25296 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25298 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25299 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25301 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25302 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25304 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25305 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25307 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25308 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25310 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25311 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25313 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25314 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25316 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25317 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25319 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25322 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25325 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25326 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25328 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25329 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25331 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25334 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25337 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25338 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25340 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25341 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25343 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25346 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25347 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25349 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25350 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25352 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25353 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25355 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25356 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25358 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25359 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25361 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25362 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25364 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25365 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25367 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25368 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25370 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25371 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25373 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25374 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25376 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25377 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25379 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25380 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25382 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25383 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25385 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25386 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25388 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
25389 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
25391 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25392 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25394 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25395 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25397 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25398 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25400 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25401 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25403 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25404 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25406 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25407 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25409 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25410 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25412 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25413 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25415 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25416 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25418 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25419 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25421 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25422 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25424 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25425 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25427 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25428 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25430 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25431 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25433 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25434 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25436 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25437 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25439 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25440 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25442 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25443 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25445 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25446 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25448 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25449 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25451 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25452 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25454 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25455 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25457 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25458 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25460 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25461 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25463 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25464 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25466 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25467 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25469 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25470 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25472 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25473 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25475 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25476 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25478 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25479 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25481 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25482 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25484 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25485 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25487 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25488 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25490 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25491 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25493 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25494 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25496 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25497 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25499 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25500 return (void *)((wxWindow
*) ((wxControl
*) x
));
25502 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25503 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25505 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25506 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25508 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25509 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25511 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25512 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25514 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25515 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25517 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25518 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25520 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25521 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25523 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25524 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25526 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25527 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25529 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25530 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25532 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25533 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25535 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25536 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25538 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25539 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25541 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25544 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25545 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25547 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25550 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25553 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25554 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25556 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25557 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25559 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
25560 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25562 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
25563 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25565 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
25566 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
25568 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
25569 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
25571 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
25572 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
25574 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
25575 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
25577 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
25578 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
25580 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
25581 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
25583 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
25584 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25586 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
25587 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25589 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
25590 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
25592 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
25593 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
25595 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
25596 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
25598 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
25599 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
25601 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
25602 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25604 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
25605 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25607 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
25608 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25610 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
25611 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25613 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
25614 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
25616 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
25617 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25619 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
25620 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
25622 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
25623 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25625 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
25626 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25628 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
25629 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
25631 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
25632 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25634 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
25635 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25637 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
25638 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25640 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
25641 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25643 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
25644 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25646 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
25647 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25649 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
25650 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25652 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25653 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25655 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25656 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25658 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25659 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25661 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}};
25662 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}};
25663 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}};
25664 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}};
25665 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}};
25666 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}};
25667 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}};
25668 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}};
25669 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}};
25670 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}};
25671 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}};
25672 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}};
25673 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}};
25674 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}};
25675 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}};
25676 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}};
25677 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}};
25678 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}};
25679 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}};
25680 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}};
25681 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}};
25682 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}};
25683 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}};
25684 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}};
25685 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}};
25686 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}};
25687 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}};
25688 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}};
25689 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}};
25690 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}};
25691 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}};
25692 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}};
25693 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}};
25694 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}};
25695 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}};
25696 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}};
25697 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}};
25698 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}};
25699 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}};
25700 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}};
25701 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}};
25702 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}};
25703 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}};
25704 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}};
25705 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}};
25706 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}};
25707 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}};
25708 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}};
25709 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}};
25710 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}};
25711 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}};
25712 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}};
25713 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}};
25714 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}};
25715 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}};
25716 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}};
25717 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}};
25718 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}};
25719 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}};
25720 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}};
25721 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}};
25722 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}};
25723 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}};
25724 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}};
25725 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}};
25726 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}};
25727 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}};
25728 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}};
25729 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}};
25730 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}};
25731 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}};
25732 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}};
25733 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}};
25734 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}};
25735 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}};
25736 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}};
25737 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}};
25738 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}};
25739 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}};
25740 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}};
25741 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}};
25742 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}};
25743 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}};
25744 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}};
25745 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}};
25747 static swig_type_info
*swig_types_initial
[] = {
25748 _swigt__p_wxQueryLayoutInfoEvent
,
25749 _swigt__p_wxPreviewFrame
,
25750 _swigt__p_wxPyPreviewFrame
,
25751 _swigt__p_wxPyPanel
,
25753 _swigt__p_wxPrintData
,
25754 _swigt__p_wxFontData
,
25756 _swigt__p_wxTaskBarIcon
,
25757 _swigt__p_wxIconBundle
,
25758 _swigt__p_wxLayoutAlgorithm
,
25759 _swigt__p_wxFindDialogEvent
,
25760 _swigt__p_wxPreviewCanvas
,
25762 _swigt__p_wxSplitterEvent
,
25763 _swigt__p_wxRegion
,
25764 _swigt__p_wxFindReplaceData
,
25769 _swigt__p_wxMDIChildFrame
,
25770 _swigt__p_wxColourData
,
25771 _swigt__p_wxNotifyEvent
,
25772 _swigt__p_wxPyWindow
,
25773 _swigt__p_wxSplashScreen
,
25774 _swigt__p_wxFindReplaceDialog
,
25775 _swigt__p_wxProgressDialog
,
25776 _swigt__p_wxMessageDialog
,
25777 _swigt__p_wxTextEntryDialog
,
25778 _swigt__p_wxSingleChoiceDialog
,
25779 _swigt__p_wxMultiChoiceDialog
,
25780 _swigt__p_wxFileDialog
,
25781 _swigt__p_wxPrinter
,
25782 _swigt__p_wxArrayInt
,
25783 _swigt__p_wxEvtHandler
,
25784 _swigt__p_wxCalculateLayoutEvent
,
25785 _swigt__p_wxPyHtmlListBox
,
25786 _swigt__p_wxPyVListBox
,
25789 _swigt__p_wxMiniFrame
,
25791 _swigt__p_wxPyPrintout
,
25792 _swigt__p_wxTaskBarIconEvent
,
25793 _swigt__p_wxScrollWinEvent
,
25794 _swigt__p_wxStatusBar
,
25795 _swigt__p_wxMDIParentFrame
,
25797 _swigt__p_wxObject
,
25798 _swigt__p_wxOutputStream
,
25799 _swigt__p_unsigned_long
,
25800 _swigt__p_wxPyScrolledWindow
,
25801 _swigt__p_wxMDIClientWindow
,
25802 _swigt__p_wxTipWindow
,
25803 _swigt__p_wxPyPopupTransientWindow
,
25804 _swigt__p_wxSashLayoutWindow
,
25805 _swigt__p_wxSplitterWindow
,
25806 _swigt__p_wxPyVScrolledWindow
,
25807 _swigt__p_wxPopupWindow
,
25808 _swigt__p_wxSashWindow
,
25809 _swigt__p_wxTopLevelWindow
,
25810 _swigt__p_wxWindow
,
25811 _swigt__p_wxScrolledWindow
,
25812 _swigt__p_wxSplashScreenWindow
,
25813 _swigt__p_wxMenuBar
,
25814 _swigt__p_wxPrintPreview
,
25815 _swigt__p_wxSashEvent
,
25816 _swigt__p_wxString
,
25817 _swigt__p_wxPyPrintPreview
,
25818 _swigt__p_wxFontDialog
,
25819 _swigt__p_wxDirDialog
,
25820 _swigt__p_wxColourDialog
,
25821 _swigt__p_wxDialog
,
25823 _swigt__p_wxPageSetupDialog
,
25824 _swigt__p_wxPrintDialog
,
25825 _swigt__p_wxBitmap
,
25826 _swigt__p_wxCommandEvent
,
25827 _swigt__p_wxPreviewControlBar
,
25828 _swigt__p_wxPyPreviewControlBar
,
25829 _swigt__p_wxColour
,
25830 _swigt__p_wxToolBar
,
25831 _swigt__p_wxPageSetupDialogData
,
25832 _swigt__p_wxPrintDialogData
,
25837 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25839 static swig_const_info swig_const_table
[] = {
25840 {0, 0, 0, 0.0, 0, 0}};
25849 SWIGEXPORT(void) SWIG_init(void) {
25850 static PyObject
*SWIG_globals
= 0;
25851 static int typeinit
= 0;
25854 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
25855 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
25856 d
= PyModule_GetDict(m
);
25859 for (i
= 0; swig_types_initial
[i
]; i
++) {
25860 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
25864 SWIG_InstallConstants(d
,swig_const_table
);
25866 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
25867 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
25868 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
25869 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
25870 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
25871 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
25872 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
25873 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
25874 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
25875 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
25876 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
25877 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
25878 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
25879 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
25880 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
25881 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
25882 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
25883 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
25884 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
25885 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
25886 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
25887 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
25888 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
25889 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
25890 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
25891 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
25892 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
25893 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
25894 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
25895 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
25896 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
25897 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
25898 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
25899 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
25900 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
25901 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
25902 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
25903 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
25904 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
25905 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
25906 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
25907 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
25908 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
25909 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
25910 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
25911 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
25912 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
25913 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
25914 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
25915 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
25916 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
25917 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
25918 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
25919 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
25920 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
25921 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
25922 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
25923 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
25924 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
25925 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
25926 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
25927 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
25928 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
25929 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
25930 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
25931 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
25932 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
25933 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
25935 // Map renamed classes back to their common name for OOR
25936 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
25937 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
25938 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
25940 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
25941 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
25942 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
25943 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
25944 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
25945 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
25946 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
25947 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
25948 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
25949 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
25950 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
25951 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
25952 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
25953 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
25954 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
25955 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
25956 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
25957 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
25958 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
25959 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
25960 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
25961 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
25962 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
25963 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
25964 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
25965 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
25966 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
25967 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
25968 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
25969 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
25970 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
25971 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
25972 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
25973 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
25974 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
25975 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
25976 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
25977 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
25978 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
25979 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
25980 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
25981 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
25982 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
25983 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
25984 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
25985 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
25986 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
25987 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
25988 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
25989 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
25990 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
25991 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
25992 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
25993 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
25994 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
25995 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
25996 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
25997 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
25998 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
25999 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26001 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");