1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
304 #define SWIG_name "_windows"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
426 SWIGSTATICINLINE(int)
427 SWIG_CheckLong(PyObject
* obj
)
430 if (PyErr_Occurred()) {
439 SWIGSTATICINLINE(bool)
440 SWIG_AsBool(PyObject
*obj
)
442 return PyObject_IsTrue(obj
) ? true : false;
446 SWIGSTATICINLINE(int)
447 SWIG_CheckBool(PyObject
* obj
)
450 if (PyErr_Occurred()) {
459 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
465 } else if (target
== Py_None
) {
469 if (!PyTuple_Check(target
)) {
471 target
= PyTuple_New(1);
472 PyTuple_SetItem(target
, 0, o2
);
475 PyTuple_SetItem(o3
, 0, o
);
478 target
= PySequence_Concat(o2
, o3
);
486 SWIGSTATICINLINE(double)
487 SWIG_AsDouble(PyObject
*obj
)
489 if (PyNumber_Check(obj
))
490 return PyFloat_AsDouble(obj
);
492 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
493 obj
->ob_type
->tp_name
);
494 PyErr_SetObject(PyExc_TypeError
, errmsg
);
501 SWIGSTATICINLINE(int)
502 SWIG_CheckDouble(PyObject
* obj
)
505 if (PyErr_Occurred()) {
513 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
514 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
515 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
516 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
517 bool wxDialog_IsModalShowing(wxDialog
*self
){
521 return self
->IsModalShowing();
526 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
528 self
->GetFieldRect(i
, r
);
531 static const wxString
wxPySplitterNameStr(wxT("splitter"));
532 static const wxString
wxPySashNameStr(wxT("sashWindow"));
533 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
535 #include <wx/popupwin.h>
538 class wxPopupWindow
: public wxWindow
{
540 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
541 wxPopupWindow() { wxPyRaiseNotImplemented(); }
544 class wxPyPopupTransientWindow
: public wxPopupWindow
547 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
548 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
552 #include <wx/tipwin.h>
554 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
555 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
558 #include <wx/tipwin.h>
561 #include <wx/vscroll.h>
564 class wxPyVScrolledWindow
: public wxVScrolledWindow
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
570 wxPyVScrolledWindow(wxWindow
*parent
,
571 wxWindowID id
= wxID_ANY
,
572 const wxPoint
& pos
= wxDefaultPosition
,
573 const wxSize
& size
= wxDefaultSize
,
575 const wxString
& name
= wxPyPanelNameStr
)
576 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
579 // Overridable virtuals
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
608 // this function should return the best guess for the total height it may
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
613 // Also expose some other interesting protected methods
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
637 SWIGSTATICINLINE(unsigned long)
638 SWIG_AsUnsignedLong(PyObject
* obj
)
640 if (PyLong_Check(obj
)) {
641 return PyLong_AsUnsignedLong(obj
);
643 long i
= SWIG_AsLong(obj
);
644 if ( !PyErr_Occurred() && (i
< 0)) {
645 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
652 SWIGSTATICINLINE(int)
653 SWIG_CheckUnsignedLong(PyObject
* obj
)
655 SWIG_AsUnsignedLong(obj
);
656 if (PyErr_Occurred()) {
665 SWIGSTATICINLINE(PyObject
* )
666 SWIG_FromUnsignedLong(unsigned long value
)
668 return (value
> LONG_MAX
) ?
669 PyLong_FromUnsignedLong(value
)
670 : PyInt_FromLong(swig_numeric_cast(long,value
));
674 #include <wx/vlbox.h>
676 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
678 class wxPyVListBox
: public wxVListBox
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
682 wxPyVListBox() : wxVListBox() {}
684 wxPyVListBox(wxWindow
*parent
,
685 wxWindowID id
= wxID_ANY
,
686 const wxPoint
& pos
= wxDefaultPosition
,
687 const wxSize
& size
= wxDefaultSize
,
689 const wxString
& name
= wxPyVListBoxNameStr
)
690 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
693 // Overridable virtuals
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
701 // the derived class must implement this method to return the height of the
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
716 // this method is used to draw the items background and, maybe, a border
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
730 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
733 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
734 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
735 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
739 #include <wx/htmllbox.h>
742 class wxPyHtmlListBox
: public wxHtmlListBox
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
746 wxPyHtmlListBox() : wxHtmlListBox() {}
748 wxPyHtmlListBox(wxWindow
*parent
,
749 wxWindowID id
= wxID_ANY
,
750 const wxPoint
& pos
= wxDefaultPosition
,
751 const wxSize
& size
= wxDefaultSize
,
753 const wxString
& name
= wxPyVListBoxNameStr
)
754 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
757 // Overridable virtuals
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
767 // // this method allows to customize the selection appearance: it may be used
768 // // to specify the colour of the text which normally has the given colour
769 // // colFg when it is inside the selection
771 // // by default, the original colour is not used at all and all text has the
772 // // same (default for this system) colour inside selection
773 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
775 // // this is the same as GetSelectedTextColour() but allows to customize the
776 // // background colour -- this is even more rarely used as you can change it
777 // // globally using SetSelectionBackground()
778 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
785 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
787 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
788 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
795 // implement dummy classes and such for wxMac
797 class wxTaskBarIcon
: public wxEvtHandler
800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
804 class wxTaskBarIconEvent
: public wxEvent
807 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
808 { wxPyRaiseNotImplemented(); }
809 virtual wxEvent
* Clone() const { return NULL
; }
813 wxEVT_TASKBAR_MOVE
= 0,
814 wxEVT_TASKBAR_LEFT_DOWN
= 0,
815 wxEVT_TASKBAR_LEFT_UP
= 0,
816 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
817 wxEVT_TASKBAR_RIGHT_UP
= 0,
818 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
823 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
824 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
825 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
826 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
827 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
828 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
829 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
831 self
->GetFilenames(arr
);
832 return wxArrayString2PyList_helper(arr
);
834 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
837 return wxArrayString2PyList_helper(arr
);
839 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
840 return wxArrayInt2PyList_helper(self
->GetSelections());
842 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
843 return new wxSingleChoiceDialog(parent
, message
, caption
,
844 choices
, choices_array
, NULL
, style
, pos
);
849 // C++ version of Python aware wxWindow
850 class wxPyWindow
: public wxWindow
852 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
854 wxPyWindow() : wxWindow() {}
855 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
856 const wxPoint
& pos
= wxDefaultPosition
,
857 const wxSize
& size
= wxDefaultSize
,
859 const wxString
& name
= wxPyPanelNameStr
)
860 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
863 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
864 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
865 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
866 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
869 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
870 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
872 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
873 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
875 DEC_PYCALLBACK__(InitDialog
);
876 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
877 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
878 DEC_PYCALLBACK_BOOL_(Validate
);
880 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
881 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
882 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
884 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
885 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
887 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
888 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
893 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
895 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
896 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
897 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
898 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
900 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
901 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
902 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
904 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
905 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
907 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
908 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
909 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
910 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
912 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
913 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
914 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
916 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
917 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
919 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
920 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
923 // C++ version of Python aware wxPanel
924 class wxPyPanel
: public wxPanel
926 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
928 wxPyPanel() : wxPanel() {}
929 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
930 const wxPoint
& pos
= wxDefaultPosition
,
931 const wxSize
& size
= wxDefaultSize
,
933 const wxString
& name
= wxPyPanelNameStr
)
934 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
937 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
938 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
939 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
940 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
942 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
943 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
944 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
946 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
947 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
949 DEC_PYCALLBACK__(InitDialog
);
950 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
951 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
952 DEC_PYCALLBACK_BOOL_(Validate
);
954 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
955 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
956 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
958 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
959 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
961 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
962 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
967 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
969 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
970 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
971 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
972 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
974 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
975 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
978 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
979 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
981 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
982 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
983 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
984 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
986 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
987 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
988 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
990 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
991 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
993 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
994 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
996 // C++ version of Python aware wxScrolledWindow
997 class wxPyScrolledWindow
: public wxScrolledWindow
999 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1001 wxPyScrolledWindow() : wxScrolledWindow() {}
1002 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1003 const wxPoint
& pos
= wxDefaultPosition
,
1004 const wxSize
& size
= wxDefaultSize
,
1006 const wxString
& name
= wxPyPanelNameStr
)
1007 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1010 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1011 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1012 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1013 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1015 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1016 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1017 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1019 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1020 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1022 DEC_PYCALLBACK__(InitDialog
);
1023 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1024 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1025 DEC_PYCALLBACK_BOOL_(Validate
);
1027 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1028 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1029 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1031 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1032 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1034 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1035 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1040 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1042 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1043 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1044 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1045 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1047 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1048 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1049 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1051 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1052 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1054 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1055 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1056 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1057 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1059 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1060 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1061 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1063 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1064 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1066 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1067 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1070 #include "wx/wxPython/printfw.h"
1073 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1074 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1078 // Since this one would be tough and ugly to do with the Macros...
1079 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1080 bool hadErr
= False
;
1083 bool blocked
= wxPyBeginBlockThreads();
1084 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1085 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1086 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1089 val
= PyTuple_GetItem(result
, 0);
1090 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1093 val
= PyTuple_GetItem(result
, 1);
1094 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1097 val
= PyTuple_GetItem(result
, 2);
1098 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1101 val
= PyTuple_GetItem(result
, 3);
1102 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1109 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1114 wxPyEndBlockThreads(blocked
);
1116 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1119 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1120 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1124 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1125 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1126 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1127 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1128 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1129 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1130 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1136 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1137 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1138 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1141 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1142 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1145 bool blocked = wxPyBeginBlockThreads(); \
1146 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1147 PyObject* win = wxPyMake_wxObject(a); \
1148 PyObject* dc = wxPyMake_wxObject(&b); \
1149 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1153 wxPyEndBlockThreads(blocked); \
1155 rval = PCLASS::CBNAME(a, b); \
1158 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1159 return PCLASS::CBNAME(a, b); \
1165 class wxPyPrintPreview
: public wxPrintPreview
1167 DECLARE_CLASS(wxPyPrintPreview
)
1169 wxPyPrintPreview(wxPyPrintout
* printout
,
1170 wxPyPrintout
* printoutForPrinting
,
1171 wxPrintDialogData
* data
=NULL
)
1172 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1174 wxPyPrintPreview(wxPyPrintout
* printout
,
1175 wxPyPrintout
* printoutForPrinting
,
1176 wxPrintData
* data
=NULL
)
1177 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1180 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1181 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1182 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1183 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1184 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1185 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1186 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1191 // Stupid renamed classes... Fix this in 2.5...
1192 #if defined(__WXMSW__)
1193 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1194 #elif defined(__WXMAC__)
1195 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1197 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1200 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1201 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1202 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1203 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1204 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1205 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1206 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1209 class wxPyPreviewFrame
: public wxPreviewFrame
1211 DECLARE_CLASS(wxPyPreviewFrame
);
1213 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1214 const wxString
& title
,
1215 const wxPoint
& pos
= wxDefaultPosition
,
1216 const wxSize
& size
= wxDefaultSize
,
1217 long style
= wxDEFAULT_FRAME_STYLE
,
1218 const wxString
& name
= wxPyFrameNameStr
)
1219 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1222 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1223 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1225 DEC_PYCALLBACK_VOID_(Initialize
);
1226 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1227 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1232 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1234 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1235 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1236 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1239 class wxPyPreviewControlBar
: public wxPreviewControlBar
1241 DECLARE_CLASS(wxPyPreviewControlBar
);
1243 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1246 const wxPoint
& pos
= wxDefaultPosition
,
1247 const wxSize
& size
= wxDefaultSize
,
1249 const wxString
& name
= wxPyPanelNameStr
)
1250 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1253 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1255 DEC_PYCALLBACK_VOID_(CreateButtons
);
1256 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1261 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1262 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1263 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1268 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
*resultobj
;
1270 wxWindow
*arg1
= (wxWindow
*) 0 ;
1271 int arg2
= (int) (int)-1 ;
1272 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1273 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1274 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1275 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1276 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1277 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1278 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1282 bool temp6
= False
;
1283 PyObject
* obj0
= 0 ;
1284 PyObject
* obj1
= 0 ;
1285 PyObject
* obj2
= 0 ;
1286 PyObject
* obj3
= 0 ;
1287 PyObject
* obj4
= 0 ;
1288 PyObject
* obj5
= 0 ;
1290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1297 arg2
= (int const) SWIG_AsInt(obj1
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1303 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1309 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1313 arg5
= (long) SWIG_AsLong(obj4
);
1314 if (PyErr_Occurred()) SWIG_fail
;
1318 arg6
= wxString_in_helper(obj5
);
1319 if (arg6
== NULL
) SWIG_fail
;
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) SWIG_fail
;
1330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1345 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
*resultobj
;
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 result
= (wxPanel
*)new wxPanel();
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) SWIG_fail
;
1360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1367 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
*resultobj
;
1369 wxPanel
*arg1
= (wxPanel
*) 0 ;
1370 wxWindow
*arg2
= (wxWindow
*) 0 ;
1372 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1373 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1374 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1375 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1376 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1377 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1378 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1382 bool temp7
= False
;
1383 PyObject
* obj0
= 0 ;
1384 PyObject
* obj1
= 0 ;
1385 PyObject
* obj2
= 0 ;
1386 PyObject
* obj3
= 0 ;
1387 PyObject
* obj4
= 0 ;
1388 PyObject
* obj5
= 0 ;
1389 PyObject
* obj6
= 0 ;
1391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1399 arg3
= (int const) SWIG_AsInt(obj2
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1414 arg6
= (long) SWIG_AsLong(obj5
);
1415 if (PyErr_Occurred()) SWIG_fail
;
1419 arg7
= wxString_in_helper(obj6
);
1420 if (arg7
== NULL
) SWIG_fail
;
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) SWIG_fail
;
1432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1448 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1450 wxPanel
*arg1
= (wxPanel
*) 0 ;
1451 PyObject
* obj0
= 0 ;
1453 (char *) "self", NULL
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 (arg1
)->InitDialog();
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) SWIG_fail
;
1466 Py_INCREF(Py_None
); resultobj
= Py_None
;
1473 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1476 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1478 return Py_BuildValue((char *)"");
1480 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
*resultobj
;
1482 wxWindow
*arg1
= (wxWindow
*) 0 ;
1483 int arg2
= (int) (int)-1 ;
1484 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1485 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1486 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1487 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1488 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1489 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1490 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1491 wxScrolledWindow
*result
;
1494 bool temp6
= False
;
1495 PyObject
* obj0
= 0 ;
1496 PyObject
* obj1
= 0 ;
1497 PyObject
* obj2
= 0 ;
1498 PyObject
* obj3
= 0 ;
1499 PyObject
* obj4
= 0 ;
1500 PyObject
* obj5
= 0 ;
1502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1509 arg2
= (int const) SWIG_AsInt(obj1
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1515 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1521 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1525 arg5
= (long) SWIG_AsLong(obj4
);
1526 if (PyErr_Occurred()) SWIG_fail
;
1530 arg6
= wxString_in_helper(obj5
);
1531 if (arg6
== NULL
) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1557 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
*resultobj
;
1559 wxScrolledWindow
*result
;
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1579 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
*resultobj
;
1581 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1582 wxWindow
*arg2
= (wxWindow
*) 0 ;
1583 int arg3
= (int) (int)-1 ;
1584 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1585 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1586 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1587 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1588 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1589 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1590 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1594 bool temp7
= False
;
1595 PyObject
* obj0
= 0 ;
1596 PyObject
* obj1
= 0 ;
1597 PyObject
* obj2
= 0 ;
1598 PyObject
* obj3
= 0 ;
1599 PyObject
* obj4
= 0 ;
1600 PyObject
* obj5
= 0 ;
1601 PyObject
* obj6
= 0 ;
1603 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1612 arg3
= (int const) SWIG_AsInt(obj2
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1618 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1624 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1628 arg6
= (long) SWIG_AsLong(obj5
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1633 arg7
= wxString_in_helper(obj6
);
1634 if (arg7
== NULL
) SWIG_fail
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1662 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1664 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1669 int arg6
= (int) 0 ;
1670 int arg7
= (int) 0 ;
1671 bool arg8
= (bool) False
;
1672 PyObject
* obj0
= 0 ;
1673 PyObject
* obj1
= 0 ;
1674 PyObject
* obj2
= 0 ;
1675 PyObject
* obj3
= 0 ;
1676 PyObject
* obj4
= 0 ;
1677 PyObject
* obj5
= 0 ;
1678 PyObject
* obj6
= 0 ;
1679 PyObject
* obj7
= 0 ;
1681 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1687 arg2
= (int) SWIG_AsInt(obj1
);
1688 if (PyErr_Occurred()) SWIG_fail
;
1689 arg3
= (int) SWIG_AsInt(obj2
);
1690 if (PyErr_Occurred()) SWIG_fail
;
1691 arg4
= (int) SWIG_AsInt(obj3
);
1692 if (PyErr_Occurred()) SWIG_fail
;
1693 arg5
= (int) SWIG_AsInt(obj4
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1696 arg6
= (int) SWIG_AsInt(obj5
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1700 arg7
= (int) SWIG_AsInt(obj6
);
1701 if (PyErr_Occurred()) SWIG_fail
;
1704 arg8
= (bool) SWIG_AsBool(obj7
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1714 Py_INCREF(Py_None
); resultobj
= Py_None
;
1721 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
*resultobj
;
1723 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1726 PyObject
* obj0
= 0 ;
1727 PyObject
* obj1
= 0 ;
1728 PyObject
* obj2
= 0 ;
1730 (char *) "self",(char *) "x",(char *) "y", NULL
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1736 arg2
= (int) SWIG_AsInt(obj1
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1738 arg3
= (int) SWIG_AsInt(obj2
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 (arg1
)->Scroll(arg2
,arg3
);
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1747 Py_INCREF(Py_None
); resultobj
= Py_None
;
1754 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
*resultobj
;
1756 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1759 PyObject
* obj0
= 0 ;
1760 PyObject
* obj1
= 0 ;
1762 (char *) "self",(char *) "orient", NULL
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1768 arg2
= (int) SWIG_AsInt(obj1
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1777 resultobj
= SWIG_FromInt((int)result
);
1784 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1786 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1789 PyObject
* obj0
= 0 ;
1790 PyObject
* obj1
= 0 ;
1791 PyObject
* obj2
= 0 ;
1793 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1799 arg2
= (int) SWIG_AsInt(obj1
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1801 arg3
= (int) SWIG_AsInt(obj2
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1810 Py_INCREF(Py_None
); resultobj
= Py_None
;
1817 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
*resultobj
;
1819 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1822 PyObject
* obj0
= 0 ;
1823 PyObject
* obj1
= 0 ;
1824 PyObject
* obj2
= 0 ;
1826 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1832 arg2
= (int) SWIG_AsInt(obj1
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1834 arg3
= (int) SWIG_AsInt(obj2
);
1835 if (PyErr_Occurred()) SWIG_fail
;
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 (arg1
)->SetScrollRate(arg2
,arg3
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1843 Py_INCREF(Py_None
); resultobj
= Py_None
;
1850 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
*resultobj
;
1852 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1853 int *arg2
= (int *) 0 ;
1854 int *arg3
= (int *) 0 ;
1857 PyObject
* obj0
= 0 ;
1859 (char *) "self", NULL
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1874 Py_INCREF(Py_None
); resultobj
= Py_None
;
1876 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1877 resultobj
= t_output_helper(resultobj
,o
);
1880 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1881 resultobj
= t_output_helper(resultobj
,o
);
1889 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1891 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1894 PyObject
* obj0
= 0 ;
1895 PyObject
* obj1
= 0 ;
1896 PyObject
* obj2
= 0 ;
1898 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1904 arg2
= (bool) SWIG_AsBool(obj1
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1906 arg3
= (bool) SWIG_AsBool(obj2
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1910 (arg1
)->EnableScrolling(arg2
,arg3
);
1912 wxPyEndAllowThreads(__tstate
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 Py_INCREF(Py_None
); resultobj
= Py_None
;
1922 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1925 int *arg2
= (int *) 0 ;
1926 int *arg3
= (int *) 0 ;
1929 PyObject
* obj0
= 0 ;
1931 (char *) "self", NULL
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1946 Py_INCREF(Py_None
); resultobj
= Py_None
;
1948 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1949 resultobj
= t_output_helper(resultobj
,o
);
1952 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1953 resultobj
= t_output_helper(resultobj
,o
);
1961 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
*resultobj
;
1963 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1966 PyObject
* obj0
= 0 ;
1967 PyObject
* obj1
= 0 ;
1968 PyObject
* obj2
= 0 ;
1970 (char *) "self",(char *) "xs",(char *) "ys", NULL
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1976 arg2
= (double) SWIG_AsDouble(obj1
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1978 arg3
= (double) SWIG_AsDouble(obj2
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 (arg1
)->SetScale(arg2
,arg3
);
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 Py_INCREF(Py_None
); resultobj
= Py_None
;
1994 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1996 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1998 PyObject
* obj0
= 0 ;
2000 (char *) "self", NULL
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 resultobj
= SWIG_FromDouble((double)result
);
2020 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2022 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2024 PyObject
* obj0
= 0 ;
2026 (char *) "self", NULL
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= SWIG_FromDouble((double)result
);
2046 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2047 PyObject
*resultobj
;
2048 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2052 PyObject
* obj0
= 0 ;
2053 PyObject
* obj1
= 0 ;
2055 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2060 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2070 wxPoint
* resultptr
;
2071 resultptr
= new wxPoint((wxPoint
&) result
);
2072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2080 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2081 PyObject
*resultobj
;
2082 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2085 int *arg4
= (int *) 0 ;
2086 int *arg5
= (int *) 0 ;
2089 PyObject
* obj0
= 0 ;
2090 PyObject
* obj1
= 0 ;
2091 PyObject
* obj2
= 0 ;
2095 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2098 arg2
= (int) SWIG_AsInt(obj1
);
2099 if (PyErr_Occurred()) SWIG_fail
;
2100 arg3
= (int) SWIG_AsInt(obj2
);
2101 if (PyErr_Occurred()) SWIG_fail
;
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) SWIG_fail
;
2109 Py_INCREF(Py_None
); resultobj
= Py_None
;
2111 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2112 resultobj
= t_output_helper(resultobj
,o
);
2115 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2116 resultobj
= t_output_helper(resultobj
,o
);
2124 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2129 argc
= PyObject_Length(args
);
2130 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2131 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2137 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2146 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2149 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2157 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2165 _v
= SWIG_CheckInt(argv
[1]);
2167 _v
= SWIG_CheckInt(argv
[2]);
2169 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2175 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2180 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2181 PyObject
*resultobj
;
2182 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2186 PyObject
* obj0
= 0 ;
2187 PyObject
* obj1
= 0 ;
2189 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2194 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2204 wxPoint
* resultptr
;
2205 resultptr
= new wxPoint((wxPoint
&) result
);
2206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2214 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2215 PyObject
*resultobj
;
2216 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2219 int *arg4
= (int *) 0 ;
2220 int *arg5
= (int *) 0 ;
2223 PyObject
* obj0
= 0 ;
2224 PyObject
* obj1
= 0 ;
2225 PyObject
* obj2
= 0 ;
2229 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2232 arg2
= (int) SWIG_AsInt(obj1
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2234 arg3
= (int) SWIG_AsInt(obj2
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) SWIG_fail
;
2243 Py_INCREF(Py_None
); resultobj
= Py_None
;
2245 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2246 resultobj
= t_output_helper(resultobj
,o
);
2249 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2250 resultobj
= t_output_helper(resultobj
,o
);
2258 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2263 argc
= PyObject_Length(args
);
2264 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2265 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2271 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2280 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2283 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2291 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2299 _v
= SWIG_CheckInt(argv
[1]);
2301 _v
= SWIG_CheckInt(argv
[2]);
2303 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2309 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2314 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
*resultobj
;
2316 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2319 (char *) "self", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 (arg1
)->AdjustScrollbars();
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 Py_INCREF(Py_None
); resultobj
= Py_None
;
2339 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2342 wxScrollWinEvent
*arg2
= 0 ;
2344 PyObject
* obj0
= 0 ;
2345 PyObject
* obj1
= 0 ;
2347 (char *) "self",(char *) "event", NULL
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2357 PyErr_SetString(PyExc_TypeError
,"null reference");
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2367 resultobj
= SWIG_FromInt((int)result
);
2374 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2376 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2377 wxWindow
*arg2
= (wxWindow
*) 0 ;
2378 PyObject
* obj0
= 0 ;
2379 PyObject
* obj1
= 0 ;
2381 (char *) "self",(char *) "target", NULL
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 (arg1
)->SetTargetWindow(arg2
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2396 Py_INCREF(Py_None
); resultobj
= Py_None
;
2403 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
*resultobj
;
2405 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2407 PyObject
* obj0
= 0 ;
2409 (char *) "self", NULL
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2423 resultobj
= wxPyMake_wxObject(result
);
2431 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
*resultobj
;
2433 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2436 PyObject
* obj0
= 0 ;
2437 PyObject
* obj1
= 0 ;
2439 (char *) "self",(char *) "rect", NULL
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2447 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 Py_INCREF(Py_None
); resultobj
= Py_None
;
2463 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2467 PyObject
* obj0
= 0 ;
2469 (char *) "self", NULL
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2484 resultptr
= new wxRect((wxRect
&) result
);
2485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2493 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2496 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2498 return Py_BuildValue((char *)"");
2500 static int _wrap_FrameNameStr_set(PyObject
*) {
2501 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2506 static PyObject
*_wrap_FrameNameStr_get() {
2511 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2513 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2520 static int _wrap_DialogNameStr_set(PyObject
*) {
2521 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2526 static PyObject
*_wrap_DialogNameStr_get() {
2531 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2533 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2540 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2541 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2546 static PyObject
*_wrap_StatusLineNameStr_get() {
2551 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2553 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2560 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2561 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2566 static PyObject
*_wrap_ToolBarNameStr_get() {
2571 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2573 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2580 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2583 bool arg2
= (bool) True
;
2584 PyObject
* obj0
= 0 ;
2585 PyObject
* obj1
= 0 ;
2587 (char *) "self",(char *) "maximize", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 arg2
= (bool) SWIG_AsBool(obj1
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 (arg1
)->Maximize(arg2
);
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2604 Py_INCREF(Py_None
); resultobj
= Py_None
;
2611 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2613 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2614 PyObject
* obj0
= 0 ;
2616 (char *) "self", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 Py_INCREF(Py_None
); resultobj
= Py_None
;
2636 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2638 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2639 bool arg2
= (bool) True
;
2640 PyObject
* obj0
= 0 ;
2641 PyObject
* obj1
= 0 ;
2643 (char *) "self",(char *) "iconize", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2650 arg2
= (bool) SWIG_AsBool(obj1
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 (arg1
)->Iconize(arg2
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2660 Py_INCREF(Py_None
); resultobj
= Py_None
;
2667 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
*resultobj
;
2669 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2671 PyObject
* obj0
= 0 ;
2673 (char *) "self", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2695 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2696 PyObject
*resultobj
;
2697 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2699 PyObject
* obj0
= 0 ;
2701 (char *) "self", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2723 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
*resultobj
;
2725 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2727 PyObject
* obj0
= 0 ;
2729 (char *) "self", NULL
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2744 resultptr
= new wxIcon((wxIcon
&) result
);
2745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2753 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2760 (char *) "self",(char *) "icon", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2770 PyErr_SetString(PyExc_TypeError
,"null reference");
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2780 Py_INCREF(Py_None
); resultobj
= Py_None
;
2787 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2790 wxIconBundle
*arg2
= 0 ;
2791 PyObject
* obj0
= 0 ;
2792 PyObject
* obj1
= 0 ;
2794 (char *) "self",(char *) "icons", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2804 PyErr_SetString(PyExc_TypeError
,"null reference");
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2814 Py_INCREF(Py_None
); resultobj
= Py_None
;
2821 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
*resultobj
;
2823 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2825 long arg3
= (long) wxFULLSCREEN_ALL
;
2827 PyObject
* obj0
= 0 ;
2828 PyObject
* obj1
= 0 ;
2829 PyObject
* obj2
= 0 ;
2831 (char *) "self",(char *) "show",(char *) "style", NULL
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2837 arg2
= (bool) SWIG_AsBool(obj1
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2840 arg3
= (long) SWIG_AsLong(obj2
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2859 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
*resultobj
;
2861 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2863 PyObject
* obj0
= 0 ;
2865 (char *) "self", NULL
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2887 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
*resultobj
;
2889 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2890 wxString
*arg2
= 0 ;
2891 bool temp2
= False
;
2892 PyObject
* obj0
= 0 ;
2893 PyObject
* obj1
= 0 ;
2895 (char *) "self",(char *) "title", NULL
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2902 arg2
= wxString_in_helper(obj1
);
2903 if (arg2
== NULL
) SWIG_fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 (arg1
)->SetTitle((wxString
const &)*arg2
);
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2913 Py_INCREF(Py_None
); resultobj
= Py_None
;
2928 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2930 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2932 PyObject
* obj0
= 0 ;
2934 (char *) "self", NULL
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2960 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
;
2962 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2963 wxRegion
*arg2
= 0 ;
2965 PyObject
* obj0
= 0 ;
2966 PyObject
* obj1
= 0 ;
2968 (char *) "self",(char *) "region", NULL
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2978 PyErr_SetString(PyExc_TypeError
,"null reference");
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2997 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
2999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3000 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3002 return Py_BuildValue((char *)"");
3004 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3006 wxWindow
*arg1
= (wxWindow
*) 0 ;
3008 wxString
*arg3
= 0 ;
3009 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3010 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3011 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3012 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3013 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3014 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3015 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3017 bool temp3
= False
;
3020 bool temp7
= False
;
3021 PyObject
* obj0
= 0 ;
3022 PyObject
* obj1
= 0 ;
3023 PyObject
* obj2
= 0 ;
3024 PyObject
* obj3
= 0 ;
3025 PyObject
* obj4
= 0 ;
3026 PyObject
* obj5
= 0 ;
3027 PyObject
* obj6
= 0 ;
3029 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3035 arg2
= (int const) SWIG_AsInt(obj1
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3038 arg3
= wxString_in_helper(obj2
);
3039 if (arg3
== NULL
) SWIG_fail
;
3045 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3051 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3055 arg6
= (long) SWIG_AsLong(obj5
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3060 arg7
= wxString_in_helper(obj6
);
3061 if (arg7
== NULL
) SWIG_fail
;
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3073 resultobj
= wxPyMake_wxObject(result
);
3097 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 result
= (wxFrame
*)new wxFrame();
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3113 resultobj
= wxPyMake_wxObject(result
);
3121 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3122 PyObject
*resultobj
;
3123 wxFrame
*arg1
= (wxFrame
*) 0 ;
3124 wxWindow
*arg2
= (wxWindow
*) 0 ;
3126 wxString
*arg4
= 0 ;
3127 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3128 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3129 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3130 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3131 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3132 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3133 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3135 bool temp4
= False
;
3138 bool temp8
= False
;
3139 PyObject
* obj0
= 0 ;
3140 PyObject
* obj1
= 0 ;
3141 PyObject
* obj2
= 0 ;
3142 PyObject
* obj3
= 0 ;
3143 PyObject
* obj4
= 0 ;
3144 PyObject
* obj5
= 0 ;
3145 PyObject
* obj6
= 0 ;
3146 PyObject
* obj7
= 0 ;
3148 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3156 arg3
= (int const) SWIG_AsInt(obj2
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 arg4
= wxString_in_helper(obj3
);
3160 if (arg4
== NULL
) SWIG_fail
;
3166 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3172 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3176 arg7
= (long) SWIG_AsLong(obj6
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3181 arg8
= wxString_in_helper(obj7
);
3182 if (arg8
== NULL
) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3218 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3220 wxFrame
*arg1
= (wxFrame
*) 0 ;
3222 PyObject
* obj0
= 0 ;
3224 (char *) "self", NULL
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3238 wxPoint
* resultptr
;
3239 resultptr
= new wxPoint((wxPoint
&) result
);
3240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3248 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 wxFrame
*arg1
= (wxFrame
*) 0 ;
3251 PyObject
* obj0
= 0 ;
3253 (char *) "self", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 (arg1
)->SendSizeEvent();
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 Py_INCREF(Py_None
); resultobj
= Py_None
;
3273 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxFrame
*arg1
= (wxFrame
*) 0 ;
3276 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3277 PyObject
* obj0
= 0 ;
3278 PyObject
* obj1
= 0 ;
3280 (char *) "self",(char *) "menubar", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 (arg1
)->SetMenuBar(arg2
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 Py_INCREF(Py_None
); resultobj
= Py_None
;
3302 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxFrame
*arg1
= (wxFrame
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3308 (char *) "self", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3322 resultobj
= wxPyMake_wxObject(result
);
3330 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3332 wxFrame
*arg1
= (wxFrame
*) 0 ;
3335 PyObject
* obj0
= 0 ;
3336 PyObject
* obj1
= 0 ;
3338 (char *) "self",(char *) "winid", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3344 arg2
= (int) SWIG_AsInt(obj1
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3362 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
;
3364 wxFrame
*arg1
= (wxFrame
*) 0 ;
3365 int arg2
= (int) 1 ;
3366 long arg3
= (long) wxST_SIZEGRIP
;
3367 int arg4
= (int) 0 ;
3368 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3369 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3370 wxStatusBar
*result
;
3371 bool temp5
= False
;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3374 PyObject
* obj2
= 0 ;
3375 PyObject
* obj3
= 0 ;
3376 PyObject
* obj4
= 0 ;
3378 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3385 arg2
= (int) SWIG_AsInt(obj1
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3389 arg3
= (long) SWIG_AsLong(obj2
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3393 arg4
= (int) SWIG_AsInt(obj3
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3398 arg5
= wxString_in_helper(obj4
);
3399 if (arg5
== NULL
) SWIG_fail
;
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3411 resultobj
= wxPyMake_wxObject(result
);
3427 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxFrame
*arg1
= (wxFrame
*) 0 ;
3430 wxStatusBar
*result
;
3431 PyObject
* obj0
= 0 ;
3433 (char *) "self", NULL
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3447 resultobj
= wxPyMake_wxObject(result
);
3455 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxFrame
*arg1
= (wxFrame
*) 0 ;
3458 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3459 PyObject
* obj0
= 0 ;
3460 PyObject
* obj1
= 0 ;
3462 (char *) "self",(char *) "statBar", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 (arg1
)->SetStatusBar(arg2
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 Py_INCREF(Py_None
); resultobj
= Py_None
;
3484 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
;
3486 wxFrame
*arg1
= (wxFrame
*) 0 ;
3487 wxString
*arg2
= 0 ;
3488 int arg3
= (int) 0 ;
3489 bool temp2
= False
;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3492 PyObject
* obj2
= 0 ;
3494 (char *) "self",(char *) "text",(char *) "number", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3501 arg2
= wxString_in_helper(obj1
);
3502 if (arg2
== NULL
) SWIG_fail
;
3506 arg3
= (int) SWIG_AsInt(obj2
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 Py_INCREF(Py_None
); resultobj
= Py_None
;
3531 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxFrame
*arg1
= (wxFrame
*) 0 ;
3535 int *arg3
= (int *) 0 ;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3539 (char *) "self",(char *) "widths", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3546 arg2
= PyList_Size(obj1
);
3547 arg3
= int_LIST_helper(obj1
);
3548 if (arg3
== NULL
) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 Py_INCREF(Py_None
); resultobj
= Py_None
;
3559 if (arg3
) delete [] arg3
;
3564 if (arg3
) delete [] arg3
;
3570 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxFrame
*arg1
= (wxFrame
*) 0 ;
3573 wxString
*arg2
= 0 ;
3574 int arg3
= (int) 0 ;
3575 bool temp2
= False
;
3576 PyObject
* obj0
= 0 ;
3577 PyObject
* obj1
= 0 ;
3578 PyObject
* obj2
= 0 ;
3580 (char *) "self",(char *) "text",(char *) "number", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3587 arg2
= wxString_in_helper(obj1
);
3588 if (arg2
== NULL
) SWIG_fail
;
3592 arg3
= (int) SWIG_AsInt(obj2
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3602 Py_INCREF(Py_None
); resultobj
= Py_None
;
3617 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxFrame
*arg1
= (wxFrame
*) 0 ;
3620 int arg2
= (int) 0 ;
3621 PyObject
* obj0
= 0 ;
3622 PyObject
* obj1
= 0 ;
3624 (char *) "self",(char *) "number", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3631 arg2
= (int) SWIG_AsInt(obj1
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 (arg1
)->PopStatusText(arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 Py_INCREF(Py_None
); resultobj
= Py_None
;
3648 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxFrame
*arg1
= (wxFrame
*) 0 ;
3652 PyObject
* obj0
= 0 ;
3653 PyObject
* obj1
= 0 ;
3655 (char *) "self",(char *) "n", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3661 arg2
= (int) SWIG_AsInt(obj1
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 (arg1
)->SetStatusBarPane(arg2
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxFrame
*arg1
= (wxFrame
*) 0 ;
3681 PyObject
* obj0
= 0 ;
3683 (char *) "self", NULL
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 resultobj
= SWIG_FromInt((int)result
);
3703 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxFrame
*arg1
= (wxFrame
*) 0 ;
3706 long arg2
= (long) -1 ;
3707 int arg3
= (int) -1 ;
3708 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3709 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3711 bool temp4
= False
;
3712 PyObject
* obj0
= 0 ;
3713 PyObject
* obj1
= 0 ;
3714 PyObject
* obj2
= 0 ;
3715 PyObject
* obj3
= 0 ;
3717 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3724 arg2
= (long) SWIG_AsLong(obj1
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3728 arg3
= (int) SWIG_AsInt(obj2
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3733 arg4
= wxString_in_helper(obj3
);
3734 if (arg4
== NULL
) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= wxPyMake_wxObject(result
);
3762 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxFrame
*arg1
= (wxFrame
*) 0 ;
3766 PyObject
* obj0
= 0 ;
3768 (char *) "self", NULL
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3776 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 resultobj
= wxPyMake_wxObject(result
);
3790 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
;
3792 wxFrame
*arg1
= (wxFrame
*) 0 ;
3793 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3794 PyObject
* obj0
= 0 ;
3795 PyObject
* obj1
= 0 ;
3797 (char *) "self",(char *) "toolbar", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 (arg1
)->SetToolBar(arg2
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3812 Py_INCREF(Py_None
); resultobj
= Py_None
;
3819 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxFrame
*arg1
= (wxFrame
*) 0 ;
3822 wxString
*arg2
= 0 ;
3824 bool temp2
= False
;
3825 PyObject
* obj0
= 0 ;
3826 PyObject
* obj1
= 0 ;
3827 PyObject
* obj2
= 0 ;
3829 (char *) "self",(char *) "text",(char *) "show", NULL
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3836 arg2
= wxString_in_helper(obj1
);
3837 if (arg2
== NULL
) SWIG_fail
;
3840 arg3
= (bool) SWIG_AsBool(obj2
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3849 Py_INCREF(Py_None
); resultobj
= Py_None
;
3864 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxFrame
*arg1
= (wxFrame
*) 0 ;
3867 wxMenu
*arg2
= (wxMenu
*) NULL
;
3868 PyObject
* obj0
= 0 ;
3869 PyObject
* obj1
= 0 ;
3871 (char *) "self",(char *) "menu", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 (arg1
)->DoMenuUpdates(arg2
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 Py_INCREF(Py_None
); resultobj
= Py_None
;
3895 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
3897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3898 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3900 return Py_BuildValue((char *)"");
3902 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxWindow
*arg1
= (wxWindow
*) 0 ;
3906 wxString
*arg3
= 0 ;
3907 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3908 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3909 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3910 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3911 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3912 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3913 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3915 bool temp3
= False
;
3918 bool temp7
= False
;
3919 PyObject
* obj0
= 0 ;
3920 PyObject
* obj1
= 0 ;
3921 PyObject
* obj2
= 0 ;
3922 PyObject
* obj3
= 0 ;
3923 PyObject
* obj4
= 0 ;
3924 PyObject
* obj5
= 0 ;
3925 PyObject
* obj6
= 0 ;
3927 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 arg2
= (int const) SWIG_AsInt(obj1
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 arg3
= wxString_in_helper(obj2
);
3937 if (arg3
== NULL
) SWIG_fail
;
3943 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3949 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3953 arg6
= (long) SWIG_AsLong(obj5
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3958 arg7
= wxString_in_helper(obj6
);
3959 if (arg7
== NULL
) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3993 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 result
= (wxDialog
*)new wxDialog();
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4015 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
;
4017 wxDialog
*arg1
= (wxDialog
*) 0 ;
4018 wxWindow
*arg2
= (wxWindow
*) 0 ;
4020 wxString
*arg4
= 0 ;
4021 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4022 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4023 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4024 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4025 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4026 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4027 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4029 bool temp4
= False
;
4032 bool temp8
= False
;
4033 PyObject
* obj0
= 0 ;
4034 PyObject
* obj1
= 0 ;
4035 PyObject
* obj2
= 0 ;
4036 PyObject
* obj3
= 0 ;
4037 PyObject
* obj4
= 0 ;
4038 PyObject
* obj5
= 0 ;
4039 PyObject
* obj6
= 0 ;
4040 PyObject
* obj7
= 0 ;
4042 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4050 arg3
= (int const) SWIG_AsInt(obj2
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 arg4
= wxString_in_helper(obj3
);
4054 if (arg4
== NULL
) SWIG_fail
;
4060 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4066 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4070 arg7
= (long) SWIG_AsLong(obj6
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4075 arg8
= wxString_in_helper(obj7
);
4076 if (arg8
== NULL
) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4112 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxDialog
*arg1
= (wxDialog
*) 0 ;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "returnCode", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4125 arg2
= (int) SWIG_AsInt(obj1
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 (arg1
)->SetReturnCode(arg2
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxDialog
*arg1
= (wxDialog
*) 0 ;
4145 PyObject
* obj0
= 0 ;
4147 (char *) "self", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= SWIG_FromInt((int)result
);
4167 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxDialog
*arg1
= (wxDialog
*) 0 ;
4170 wxString
*arg2
= 0 ;
4172 bool temp2
= False
;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4176 (char *) "self",(char *) "message", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4183 arg2
= wxString_in_helper(obj1
);
4184 if (arg2
== NULL
) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= wxPyMake_wxSizer(result
);
4211 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 wxDialog
*arg1
= (wxDialog
*) 0 ;
4216 PyObject
* obj0
= 0 ;
4217 PyObject
* obj1
= 0 ;
4219 (char *) "self",(char *) "flags", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4225 arg2
= (long) SWIG_AsLong(obj1
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= wxPyMake_wxSizer(result
);
4243 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxDialog
*arg1
= (wxDialog
*) 0 ;
4247 PyObject
* obj0
= 0 ;
4249 (char *) "self", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4271 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
*resultobj
;
4273 wxDialog
*arg1
= (wxDialog
*) 0 ;
4275 PyObject
* obj0
= 0 ;
4277 (char *) "self", NULL
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 result
= (int)(arg1
)->ShowModal();
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 resultobj
= SWIG_FromInt((int)result
);
4297 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4299 wxDialog
*arg1
= (wxDialog
*) 0 ;
4301 PyObject
* obj0
= 0 ;
4302 PyObject
* obj1
= 0 ;
4304 (char *) "self",(char *) "retCode", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4310 arg2
= (int) SWIG_AsInt(obj1
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 (arg1
)->EndModal(arg2
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 Py_INCREF(Py_None
); resultobj
= Py_None
;
4326 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4328 wxDialog
*arg1
= (wxDialog
*) 0 ;
4330 PyObject
* obj0
= 0 ;
4332 (char *) "self", NULL
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (bool)wxDialog_IsModalShowing(arg1
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4354 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4357 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4359 return Py_BuildValue((char *)"");
4361 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxWindow
*arg1
= (wxWindow
*) 0 ;
4365 wxString
*arg3
= 0 ;
4366 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4367 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4368 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4369 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4370 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4371 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4372 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4373 wxMiniFrame
*result
;
4374 bool temp3
= False
;
4377 bool temp7
= False
;
4378 PyObject
* obj0
= 0 ;
4379 PyObject
* obj1
= 0 ;
4380 PyObject
* obj2
= 0 ;
4381 PyObject
* obj3
= 0 ;
4382 PyObject
* obj4
= 0 ;
4383 PyObject
* obj5
= 0 ;
4384 PyObject
* obj6
= 0 ;
4386 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4392 arg2
= (int const) SWIG_AsInt(obj1
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 arg3
= wxString_in_helper(obj2
);
4396 if (arg3
== NULL
) SWIG_fail
;
4402 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4408 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4412 arg6
= (long) SWIG_AsLong(obj5
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4417 arg7
= wxString_in_helper(obj6
);
4418 if (arg7
== NULL
) SWIG_fail
;
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4452 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxMiniFrame
*result
;
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 result
= (wxMiniFrame
*)new wxMiniFrame();
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4474 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4477 wxWindow
*arg2
= (wxWindow
*) 0 ;
4479 wxString
*arg4
= 0 ;
4480 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4481 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4482 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4483 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4484 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4485 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4486 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4488 bool temp4
= False
;
4491 bool temp8
= False
;
4492 PyObject
* obj0
= 0 ;
4493 PyObject
* obj1
= 0 ;
4494 PyObject
* obj2
= 0 ;
4495 PyObject
* obj3
= 0 ;
4496 PyObject
* obj4
= 0 ;
4497 PyObject
* obj5
= 0 ;
4498 PyObject
* obj6
= 0 ;
4499 PyObject
* obj7
= 0 ;
4501 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4509 arg3
= (int const) SWIG_AsInt(obj2
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 arg4
= wxString_in_helper(obj3
);
4513 if (arg4
== NULL
) SWIG_fail
;
4519 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4525 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4529 arg7
= (long) SWIG_AsLong(obj6
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4534 arg8
= wxString_in_helper(obj7
);
4535 if (arg8
== NULL
) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4571 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4574 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4576 return Py_BuildValue((char *)"");
4578 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxBitmap
*arg1
= 0 ;
4581 wxWindow
*arg2
= (wxWindow
*) 0 ;
4583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4587 long arg6
= (long) wxNO_BORDER
;
4588 wxSplashScreenWindow
*result
;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4593 PyObject
* obj2
= 0 ;
4594 PyObject
* obj3
= 0 ;
4595 PyObject
* obj4
= 0 ;
4596 PyObject
* obj5
= 0 ;
4598 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4603 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4606 PyErr_SetString(PyExc_TypeError
,"null reference");
4609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4611 arg3
= (int) SWIG_AsInt(obj2
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4616 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4622 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4626 arg6
= (long) SWIG_AsLong(obj5
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4643 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
*resultobj
;
4645 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4646 wxBitmap
*arg2
= 0 ;
4647 PyObject
* obj0
= 0 ;
4648 PyObject
* obj1
= 0 ;
4650 (char *) "self",(char *) "bitmap", NULL
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4660 PyErr_SetString(PyExc_TypeError
,"null reference");
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4670 Py_INCREF(Py_None
); resultobj
= Py_None
;
4677 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
;
4679 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4681 PyObject
* obj0
= 0 ;
4683 (char *) "self", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4693 result
= (wxBitmap
*) &_result_ref
;
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4700 wxBitmap
* resultptr
= new wxBitmap(*result
);
4701 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4709 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
4711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4712 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4714 return Py_BuildValue((char *)"");
4716 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxBitmap
*arg1
= 0 ;
4721 wxWindow
*arg4
= (wxWindow
*) 0 ;
4723 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4724 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4725 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4726 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4727 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4728 wxSplashScreen
*result
;
4731 PyObject
* obj0
= 0 ;
4732 PyObject
* obj1
= 0 ;
4733 PyObject
* obj2
= 0 ;
4734 PyObject
* obj3
= 0 ;
4735 PyObject
* obj4
= 0 ;
4736 PyObject
* obj5
= 0 ;
4737 PyObject
* obj6
= 0 ;
4738 PyObject
* obj7
= 0 ;
4740 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4748 PyErr_SetString(PyExc_TypeError
,"null reference");
4751 arg2
= (long) SWIG_AsLong(obj1
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4753 arg3
= (int) SWIG_AsInt(obj2
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4755 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 arg5
= (int) SWIG_AsInt(obj4
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4762 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4768 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4772 arg8
= (long) SWIG_AsLong(obj7
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4789 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4793 PyObject
* obj0
= 0 ;
4795 (char *) "self", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= SWIG_FromLong((long)result
);
4815 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4818 wxSplashScreenWindow
*result
;
4819 PyObject
* obj0
= 0 ;
4821 (char *) "self", NULL
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4841 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4845 PyObject
* obj0
= 0 ;
4847 (char *) "self", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= SWIG_FromInt((int)result
);
4867 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
4869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4870 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4872 return Py_BuildValue((char *)"");
4874 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4876 wxWindow
*arg1
= (wxWindow
*) 0 ;
4877 int arg2
= (int) -1 ;
4878 long arg3
= (long) wxST_SIZEGRIP
;
4879 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4880 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4881 wxStatusBar
*result
;
4882 bool temp4
= False
;
4883 PyObject
* obj0
= 0 ;
4884 PyObject
* obj1
= 0 ;
4885 PyObject
* obj2
= 0 ;
4886 PyObject
* obj3
= 0 ;
4888 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4895 arg2
= (int) SWIG_AsInt(obj1
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4899 arg3
= (long) SWIG_AsLong(obj2
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4904 arg4
= wxString_in_helper(obj3
);
4905 if (arg4
== NULL
) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= wxPyMake_wxObject(result
);
4933 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxStatusBar
*result
;
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 result
= (wxStatusBar
*)new wxStatusBar();
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= wxPyMake_wxObject(result
);
4957 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
;
4959 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4960 wxWindow
*arg2
= (wxWindow
*) 0 ;
4962 long arg4
= (long) wxST_SIZEGRIP
;
4963 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4964 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4966 bool temp5
= False
;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4969 PyObject
* obj2
= 0 ;
4970 PyObject
* obj3
= 0 ;
4971 PyObject
* obj4
= 0 ;
4973 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4981 arg3
= (int) SWIG_AsInt(obj2
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 arg4
= (long) SWIG_AsLong(obj3
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4989 arg5
= wxString_in_helper(obj4
);
4990 if (arg5
== NULL
) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5018 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5021 int arg2
= (int) 1 ;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5025 (char *) "self",(char *) "number", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5032 arg2
= (int) SWIG_AsInt(obj1
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 (arg1
)->SetFieldsCount(arg2
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 Py_INCREF(Py_None
); resultobj
= Py_None
;
5049 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5053 PyObject
* obj0
= 0 ;
5055 (char *) "self", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_FromInt((int)result
);
5075 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5078 wxString
*arg2
= 0 ;
5079 int arg3
= (int) 0 ;
5080 bool temp2
= False
;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5083 PyObject
* obj2
= 0 ;
5085 (char *) "self",(char *) "text",(char *) "number", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 arg2
= wxString_in_helper(obj1
);
5093 if (arg2
== NULL
) SWIG_fail
;
5097 arg3
= (int) SWIG_AsInt(obj2
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 Py_INCREF(Py_None
); resultobj
= Py_None
;
5122 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5125 int arg2
= (int) 0 ;
5127 PyObject
* obj0
= 0 ;
5128 PyObject
* obj1
= 0 ;
5130 (char *) "self",(char *) "number", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5137 arg2
= (int) SWIG_AsInt(obj1
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5160 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5163 wxString
*arg2
= 0 ;
5164 int arg3
= (int) 0 ;
5165 bool temp2
= False
;
5166 PyObject
* obj0
= 0 ;
5167 PyObject
* obj1
= 0 ;
5168 PyObject
* obj2
= 0 ;
5170 (char *) "self",(char *) "text",(char *) "number", NULL
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5177 arg2
= wxString_in_helper(obj1
);
5178 if (arg2
== NULL
) SWIG_fail
;
5182 arg3
= (int) SWIG_AsInt(obj2
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5192 Py_INCREF(Py_None
); resultobj
= Py_None
;
5207 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5210 int arg2
= (int) 0 ;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5214 (char *) "self",(char *) "number", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5221 arg2
= (int) SWIG_AsInt(obj1
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 (arg1
)->PopStatusText(arg2
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 Py_INCREF(Py_None
); resultobj
= Py_None
;
5238 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5242 int *arg3
= (int *) 0 ;
5243 PyObject
* obj0
= 0 ;
5244 PyObject
* obj1
= 0 ;
5246 (char *) "self",(char *) "widths", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5253 arg2
= PyList_Size(obj1
);
5254 arg3
= int_LIST_helper(obj1
);
5255 if (arg3
== NULL
) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 Py_INCREF(Py_None
); resultobj
= Py_None
;
5266 if (arg3
) delete [] arg3
;
5271 if (arg3
) delete [] arg3
;
5277 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
;
5279 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5285 (char *) "self",(char *) "i", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5291 arg2
= (int) SWIG_AsInt(obj1
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5302 resultptr
= new wxRect((wxRect
&) result
);
5303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5311 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "height", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5324 arg2
= (int) SWIG_AsInt(obj1
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 (arg1
)->SetMinHeight(arg2
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 Py_INCREF(Py_None
); resultobj
= Py_None
;
5340 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5344 PyObject
* obj0
= 0 ;
5346 (char *) "self", NULL
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= SWIG_FromInt((int)result
);
5366 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5372 (char *) "self", NULL
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_FromInt((int)result
);
5392 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5395 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5397 return Py_BuildValue((char *)"");
5399 static int _wrap_SplitterNameStr_set(PyObject
*) {
5400 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5405 static PyObject
*_wrap_SplitterNameStr_get() {
5410 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5412 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5419 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxWindow
*arg1
= (wxWindow
*) 0 ;
5423 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5424 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5425 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5426 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5427 long arg5
= (long) wxSP_3D
;
5428 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5429 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5430 wxSplitterWindow
*result
;
5433 bool temp6
= False
;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5436 PyObject
* obj2
= 0 ;
5437 PyObject
* obj3
= 0 ;
5438 PyObject
* obj4
= 0 ;
5439 PyObject
* obj5
= 0 ;
5441 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5447 arg2
= (int) SWIG_AsInt(obj1
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5452 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5458 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5462 arg5
= (long) SWIG_AsLong(obj4
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5467 arg6
= wxString_in_helper(obj5
);
5468 if (arg6
== NULL
) SWIG_fail
;
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5494 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxSplitterWindow
*result
;
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5516 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5519 wxWindow
*arg2
= (wxWindow
*) 0 ;
5521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5525 long arg6
= (long) wxSP_3D
;
5526 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5527 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5531 bool temp7
= False
;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5534 PyObject
* obj2
= 0 ;
5535 PyObject
* obj3
= 0 ;
5536 PyObject
* obj4
= 0 ;
5537 PyObject
* obj5
= 0 ;
5538 PyObject
* obj6
= 0 ;
5540 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5548 arg3
= (int) SWIG_AsInt(obj2
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5563 arg6
= (long) SWIG_AsLong(obj5
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5568 arg7
= wxString_in_helper(obj6
);
5569 if (arg7
== NULL
) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5597 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5603 (char *) "self", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= wxPyMake_wxObject(result
);
5625 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5631 (char *) "self", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= wxPyMake_wxObject(result
);
5653 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5660 (char *) "self",(char *) "mode", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 arg2
= (int) SWIG_AsInt(obj1
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 (arg1
)->SetSplitMode(arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5686 PyObject
* obj0
= 0 ;
5688 (char *) "self", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_FromInt((int)result
);
5708 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5711 wxWindow
*arg2
= (wxWindow
*) 0 ;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj1
= 0 ;
5715 (char *) "self",(char *) "window", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 (arg1
)->Initialize(arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 Py_INCREF(Py_None
); resultobj
= Py_None
;
5737 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5740 wxWindow
*arg2
= (wxWindow
*) 0 ;
5741 wxWindow
*arg3
= (wxWindow
*) 0 ;
5742 int arg4
= (int) 0 ;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5746 PyObject
* obj2
= 0 ;
5747 PyObject
* obj3
= 0 ;
5749 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 arg4
= (int) SWIG_AsInt(obj3
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5779 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5782 wxWindow
*arg2
= (wxWindow
*) 0 ;
5783 wxWindow
*arg3
= (wxWindow
*) 0 ;
5784 int arg4
= (int) 0 ;
5786 PyObject
* obj0
= 0 ;
5787 PyObject
* obj1
= 0 ;
5788 PyObject
* obj2
= 0 ;
5789 PyObject
* obj3
= 0 ;
5791 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5799 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5802 arg4
= (int) SWIG_AsInt(obj3
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5821 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5824 wxWindow
*arg2
= (wxWindow
*) NULL
;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5829 (char *) "self",(char *) "toRemove", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 result
= (bool)(arg1
)->Unsplit(arg2
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5855 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5858 wxWindow
*arg2
= (wxWindow
*) 0 ;
5859 wxWindow
*arg3
= (wxWindow
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5863 PyObject
* obj2
= 0 ;
5865 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5891 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
*resultobj
;
5893 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5894 PyObject
* obj0
= 0 ;
5896 (char *) "self", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 (arg1
)->UpdateSize();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 Py_INCREF(Py_None
); resultobj
= Py_None
;
5916 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5920 PyObject
* obj0
= 0 ;
5922 (char *) "self", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5944 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
;
5946 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5948 PyObject
* obj0
= 0 ;
5949 PyObject
* obj1
= 0 ;
5951 (char *) "self",(char *) "width", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5957 arg2
= (int) SWIG_AsInt(obj1
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 (arg1
)->SetSashSize(arg2
);
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 Py_INCREF(Py_None
); resultobj
= Py_None
;
5973 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5977 PyObject
* obj0
= 0 ;
5978 PyObject
* obj1
= 0 ;
5980 (char *) "self",(char *) "width", NULL
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5986 arg2
= (int) SWIG_AsInt(obj1
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 (arg1
)->SetBorderSize(arg2
);
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5995 Py_INCREF(Py_None
); resultobj
= Py_None
;
6002 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
*resultobj
;
6004 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6008 (char *) "self", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= SWIG_FromInt((int)result
);
6028 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6032 PyObject
* obj0
= 0 ;
6034 (char *) "self", NULL
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= SWIG_FromInt((int)result
);
6054 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
;
6056 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6058 bool arg3
= (bool) True
;
6059 PyObject
* obj0
= 0 ;
6060 PyObject
* obj1
= 0 ;
6061 PyObject
* obj2
= 0 ;
6063 (char *) "self",(char *) "position",(char *) "redraw", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 arg2
= (int) SWIG_AsInt(obj1
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 arg3
= (bool) SWIG_AsBool(obj2
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 (arg1
)->SetSashPosition(arg2
,arg3
);
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 Py_INCREF(Py_None
); resultobj
= Py_None
;
6089 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6093 PyObject
* obj0
= 0 ;
6095 (char *) "self", NULL
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= SWIG_FromInt((int)result
);
6115 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6119 PyObject
* obj0
= 0 ;
6120 PyObject
* obj1
= 0 ;
6122 (char *) "self",(char *) "min", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6128 arg2
= (int) SWIG_AsInt(obj1
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 (arg1
)->SetMinimumPaneSize(arg2
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 Py_INCREF(Py_None
); resultobj
= Py_None
;
6144 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6150 (char *) "self", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= SWIG_FromInt((int)result
);
6170 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6172 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6175 int arg4
= (int) 5 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6179 PyObject
* obj2
= 0 ;
6180 PyObject
* obj3
= 0 ;
6182 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6188 arg2
= (int) SWIG_AsInt(obj1
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6190 arg3
= (int) SWIG_AsInt(obj2
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 arg4
= (int) SWIG_AsInt(obj3
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6212 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6215 PyObject
* obj0
= 0 ;
6217 (char *) "self", NULL
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 (arg1
)->SizeWindows();
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 Py_INCREF(Py_None
); resultobj
= Py_None
;
6237 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
;
6239 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6241 PyObject
* obj0
= 0 ;
6242 PyObject
* obj1
= 0 ;
6244 (char *) "self",(char *) "needUpdating", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6250 arg2
= (bool) SWIG_AsBool(obj1
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 (arg1
)->SetNeedUpdating(arg2
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 Py_INCREF(Py_None
); resultobj
= Py_None
;
6266 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6272 (char *) "self", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6294 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6297 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6299 return Py_BuildValue((char *)"");
6301 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6304 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6305 wxSplitterEvent
*result
;
6306 PyObject
* obj0
= 0 ;
6307 PyObject
* obj1
= 0 ;
6309 (char *) "type",(char *) "splitter", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6314 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6335 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6339 PyObject
* obj0
= 0 ;
6340 PyObject
* obj1
= 0 ;
6342 (char *) "self",(char *) "pos", NULL
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 arg2
= (int) SWIG_AsInt(obj1
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 (arg1
)->SetSashPosition(arg2
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 Py_INCREF(Py_None
); resultobj
= Py_None
;
6364 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= SWIG_FromInt((int)result
);
6390 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "self", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= wxPyMake_wxObject(result
);
6418 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
;
6420 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6422 PyObject
* obj0
= 0 ;
6424 (char *) "self", NULL
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= SWIG_FromInt((int)result
);
6444 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6448 PyObject
* obj0
= 0 ;
6450 (char *) "self", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= SWIG_FromInt((int)result
);
6470 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6473 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6475 return Py_BuildValue((char *)"");
6477 static int _wrap_SashNameStr_set(PyObject
*) {
6478 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6483 static PyObject
*_wrap_SashNameStr_get() {
6488 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6490 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6497 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6498 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6503 static PyObject
*_wrap_SashLayoutNameStr_get() {
6508 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6510 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6517 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxWindow
*arg1
= (wxWindow
*) 0 ;
6521 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6522 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6523 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6524 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6525 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6526 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6527 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6528 wxSashWindow
*result
;
6531 bool temp6
= False
;
6532 PyObject
* obj0
= 0 ;
6533 PyObject
* obj1
= 0 ;
6534 PyObject
* obj2
= 0 ;
6535 PyObject
* obj3
= 0 ;
6536 PyObject
* obj4
= 0 ;
6537 PyObject
* obj5
= 0 ;
6539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6545 arg2
= (int) SWIG_AsInt(obj1
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6550 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6556 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6560 arg5
= (long) SWIG_AsLong(obj4
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6565 arg6
= wxString_in_helper(obj5
);
6566 if (arg6
== NULL
) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6592 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxSashWindow
*result
;
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 result
= (wxSashWindow
*)new wxSashWindow();
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6614 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
;
6616 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6617 wxWindow
*arg2
= (wxWindow
*) 0 ;
6619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6623 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6624 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6625 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6629 bool temp7
= False
;
6630 PyObject
* obj0
= 0 ;
6631 PyObject
* obj1
= 0 ;
6632 PyObject
* obj2
= 0 ;
6633 PyObject
* obj3
= 0 ;
6634 PyObject
* obj4
= 0 ;
6635 PyObject
* obj5
= 0 ;
6636 PyObject
* obj6
= 0 ;
6638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6646 arg3
= (int) SWIG_AsInt(obj2
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6651 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6657 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6661 arg6
= (long) SWIG_AsLong(obj5
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6666 arg7
= wxString_in_helper(obj6
);
6667 if (arg7
== NULL
) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6695 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6702 PyObject
* obj2
= 0 ;
6704 (char *) "self",(char *) "edge",(char *) "sash", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6712 arg3
= (bool) SWIG_AsBool(obj2
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 Py_INCREF(Py_None
); resultobj
= Py_None
;
6728 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
*resultobj
;
6730 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6733 PyObject
* obj0
= 0 ;
6734 PyObject
* obj1
= 0 ;
6736 (char *) "self",(char *) "edge", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6742 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6760 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6765 PyObject
* obj0
= 0 ;
6766 PyObject
* obj1
= 0 ;
6767 PyObject
* obj2
= 0 ;
6769 (char *) "self",(char *) "edge",(char *) "border", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6775 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6777 arg3
= (bool) SWIG_AsBool(obj2
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6781 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6783 wxPyEndAllowThreads(__tstate
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 Py_INCREF(Py_None
); resultobj
= Py_None
;
6793 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
*resultobj
;
6795 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6798 PyObject
* obj0
= 0 ;
6799 PyObject
* obj1
= 0 ;
6801 (char *) "self",(char *) "edge", NULL
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6807 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6825 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6833 (char *) "self",(char *) "edge", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= SWIG_FromInt((int)result
);
6855 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6862 (char *) "self",(char *) "width", NULL
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6868 arg2
= (int) SWIG_AsInt(obj1
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 (arg1
)->SetDefaultBorderSize(arg2
);
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 Py_INCREF(Py_None
); resultobj
= Py_None
;
6884 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= SWIG_FromInt((int)result
);
6910 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6917 (char *) "self",(char *) "width", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6923 arg2
= (int) SWIG_AsInt(obj1
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 (arg1
)->SetExtraBorderSize(arg2
);
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 Py_INCREF(Py_None
); resultobj
= Py_None
;
6939 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6943 PyObject
* obj0
= 0 ;
6945 (char *) "self", NULL
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= SWIG_FromInt((int)result
);
6965 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6972 (char *) "self",(char *) "min", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6978 arg2
= (int) SWIG_AsInt(obj1
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 (arg1
)->SetMinimumSizeX(arg2
);
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 Py_INCREF(Py_None
); resultobj
= Py_None
;
6994 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7001 (char *) "self",(char *) "min", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7007 arg2
= (int) SWIG_AsInt(obj1
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 (arg1
)->SetMinimumSizeY(arg2
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 Py_INCREF(Py_None
); resultobj
= Py_None
;
7023 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7029 (char *) "self", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= SWIG_FromInt((int)result
);
7049 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7053 PyObject
* obj0
= 0 ;
7055 (char *) "self", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_FromInt((int)result
);
7075 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "max", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7088 arg2
= (int) SWIG_AsInt(obj1
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 (arg1
)->SetMaximumSizeX(arg2
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 Py_INCREF(Py_None
); resultobj
= Py_None
;
7104 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7108 PyObject
* obj0
= 0 ;
7109 PyObject
* obj1
= 0 ;
7111 (char *) "self",(char *) "max", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7117 arg2
= (int) SWIG_AsInt(obj1
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 (arg1
)->SetMaximumSizeY(arg2
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 Py_INCREF(Py_None
); resultobj
= Py_None
;
7133 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "self", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= SWIG_FromInt((int)result
);
7159 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7163 PyObject
* obj0
= 0 ;
7165 (char *) "self", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= SWIG_FromInt((int)result
);
7185 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7190 int arg4
= (int) 2 ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 PyObject
* obj2
= 0 ;
7195 PyObject
* obj3
= 0 ;
7197 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7203 arg2
= (int) SWIG_AsInt(obj1
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7205 arg3
= (int) SWIG_AsInt(obj2
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 arg4
= (int) SWIG_AsInt(obj3
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= SWIG_FromInt((int)result
);
7225 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7230 (char *) "self", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 (arg1
)->SizeWindows();
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7250 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7253 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7255 return Py_BuildValue((char *)"");
7257 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 int arg1
= (int) 0 ;
7260 int arg2
= (int) wxSASH_NONE
;
7261 wxSashEvent
*result
;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7265 (char *) "id",(char *) "edge", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7270 arg1
= (int) SWIG_AsInt(obj0
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7274 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7291 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7295 PyObject
* obj0
= 0 ;
7296 PyObject
* obj1
= 0 ;
7298 (char *) "self",(char *) "edge", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7304 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7320 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7326 (char *) "self", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_FromInt((int)result
);
7346 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7351 PyObject
* obj0
= 0 ;
7352 PyObject
* obj1
= 0 ;
7354 (char *) "self",(char *) "rect", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7362 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 Py_INCREF(Py_None
); resultobj
= Py_None
;
7378 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7380 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7382 PyObject
* obj0
= 0 ;
7384 (char *) "self", NULL
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7399 resultptr
= new wxRect((wxRect
&) result
);
7400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7408 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7413 PyObject
* obj1
= 0 ;
7415 (char *) "self",(char *) "status", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7421 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 Py_INCREF(Py_None
); resultobj
= Py_None
;
7437 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7441 PyObject
* obj0
= 0 ;
7443 (char *) "self", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 resultobj
= SWIG_FromInt((int)result
);
7463 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7466 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7468 return Py_BuildValue((char *)"");
7470 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 int arg1
= (int) 0 ;
7473 wxQueryLayoutInfoEvent
*result
;
7474 PyObject
* obj0
= 0 ;
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7481 arg1
= (int) SWIG_AsInt(obj0
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7498 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "length", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7511 arg2
= (int) SWIG_AsInt(obj1
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 (arg1
)->SetRequestedLength(arg2
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7520 Py_INCREF(Py_None
); resultobj
= Py_None
;
7527 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7531 PyObject
* obj0
= 0 ;
7533 (char *) "self", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= SWIG_FromInt((int)result
);
7553 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7558 PyObject
* obj1
= 0 ;
7560 (char *) "self",(char *) "flags", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7566 arg2
= (int) SWIG_AsInt(obj1
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 (arg1
)->SetFlags(arg2
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 Py_INCREF(Py_None
); resultobj
= Py_None
;
7582 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7586 PyObject
* obj0
= 0 ;
7588 (char *) "self", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= SWIG_FromInt((int)result
);
7608 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7613 PyObject
* obj0
= 0 ;
7614 PyObject
* obj1
= 0 ;
7616 (char *) "self",(char *) "size", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7624 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 (arg1
)->SetSize((wxSize
const &)*arg2
);
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 Py_INCREF(Py_None
); resultobj
= Py_None
;
7640 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7646 (char *) "self", NULL
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7661 resultptr
= new wxSize((wxSize
&) result
);
7662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7670 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7674 PyObject
* obj0
= 0 ;
7675 PyObject
* obj1
= 0 ;
7677 (char *) "self",(char *) "orient", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7683 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 Py_INCREF(Py_None
); resultobj
= Py_None
;
7699 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
;
7701 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7703 PyObject
* obj0
= 0 ;
7705 (char *) "self", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 resultobj
= SWIG_FromInt((int)result
);
7725 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7729 PyObject
* obj0
= 0 ;
7730 PyObject
* obj1
= 0 ;
7732 (char *) "self",(char *) "align", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7738 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 Py_INCREF(Py_None
); resultobj
= Py_None
;
7754 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7755 PyObject
*resultobj
;
7756 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7758 PyObject
* obj0
= 0 ;
7760 (char *) "self", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7773 resultobj
= SWIG_FromInt((int)result
);
7780 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
7782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7783 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7785 return Py_BuildValue((char *)"");
7787 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 int arg1
= (int) 0 ;
7790 wxCalculateLayoutEvent
*result
;
7791 PyObject
* obj0
= 0 ;
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7798 arg1
= (int) SWIG_AsInt(obj0
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7815 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7819 PyObject
* obj0
= 0 ;
7820 PyObject
* obj1
= 0 ;
7822 (char *) "self",(char *) "flags", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7828 arg2
= (int) SWIG_AsInt(obj1
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 (arg1
)->SetFlags(arg2
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 Py_INCREF(Py_None
); resultobj
= Py_None
;
7844 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
;
7846 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7848 PyObject
* obj0
= 0 ;
7850 (char *) "self", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_FromInt((int)result
);
7870 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7876 PyObject
* obj1
= 0 ;
7878 (char *) "self",(char *) "rect", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7886 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 (arg1
)->SetRect((wxRect
const &)*arg2
);
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 Py_INCREF(Py_None
); resultobj
= Py_None
;
7902 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "self", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7923 resultptr
= new wxRect((wxRect
&) result
);
7924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7932 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
7934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7935 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7937 return Py_BuildValue((char *)"");
7939 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7941 wxWindow
*arg1
= (wxWindow
*) 0 ;
7943 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7944 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7945 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7946 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7947 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7948 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7949 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7950 wxSashLayoutWindow
*result
;
7953 bool temp6
= False
;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7956 PyObject
* obj2
= 0 ;
7957 PyObject
* obj3
= 0 ;
7958 PyObject
* obj4
= 0 ;
7959 PyObject
* obj5
= 0 ;
7961 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7967 arg2
= (int) SWIG_AsInt(obj1
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7972 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7978 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7982 arg5
= (long) SWIG_AsLong(obj4
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7987 arg6
= wxString_in_helper(obj5
);
7988 if (arg6
== NULL
) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8014 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxSashLayoutWindow
*result
;
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8036 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8039 wxWindow
*arg2
= (wxWindow
*) 0 ;
8041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8045 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8046 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8047 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8051 bool temp7
= False
;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8054 PyObject
* obj2
= 0 ;
8055 PyObject
* obj3
= 0 ;
8056 PyObject
* obj4
= 0 ;
8057 PyObject
* obj5
= 0 ;
8058 PyObject
* obj6
= 0 ;
8060 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8068 arg3
= (int) SWIG_AsInt(obj2
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8073 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8079 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8083 arg6
= (long) SWIG_AsLong(obj5
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8088 arg7
= wxString_in_helper(obj6
);
8089 if (arg7
== NULL
) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8117 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8121 PyObject
* obj0
= 0 ;
8123 (char *) "self", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= (int)(arg1
)->GetAlignment();
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= SWIG_FromInt((int)result
);
8143 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8147 PyObject
* obj0
= 0 ;
8149 (char *) "self", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 result
= (int)(arg1
)->GetOrientation();
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 resultobj
= SWIG_FromInt((int)result
);
8169 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8176 (char *) "self",(char *) "alignment", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8182 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 Py_INCREF(Py_None
); resultobj
= Py_None
;
8198 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8203 PyObject
* obj0
= 0 ;
8204 PyObject
* obj1
= 0 ;
8206 (char *) "self",(char *) "size", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8214 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 Py_INCREF(Py_None
); resultobj
= Py_None
;
8230 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8234 PyObject
* obj0
= 0 ;
8235 PyObject
* obj1
= 0 ;
8237 (char *) "self",(char *) "orientation", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8243 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8252 Py_INCREF(Py_None
); resultobj
= Py_None
;
8259 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8262 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8264 return Py_BuildValue((char *)"");
8266 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxLayoutAlgorithm
*result
;
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8288 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8291 PyObject
* obj0
= 0 ;
8293 (char *) "self", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 Py_INCREF(Py_None
); resultobj
= Py_None
;
8313 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8316 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8317 wxRect
*arg3
= (wxRect
*) NULL
;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8321 PyObject
* obj2
= 0 ;
8323 (char *) "self",(char *) "frame",(char *) "rect", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8332 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8351 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8354 wxFrame
*arg2
= (wxFrame
*) 0 ;
8355 wxWindow
*arg3
= (wxWindow
*) NULL
;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8359 PyObject
* obj2
= 0 ;
8361 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8370 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8389 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8392 wxWindow
*arg2
= (wxWindow
*) 0 ;
8393 wxWindow
*arg3
= (wxWindow
*) NULL
;
8395 PyObject
* obj0
= 0 ;
8396 PyObject
* obj1
= 0 ;
8397 PyObject
* obj2
= 0 ;
8399 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8408 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8427 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8430 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8432 return Py_BuildValue((char *)"");
8434 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxWindow
*arg1
= (wxWindow
*) 0 ;
8437 int arg2
= (int) wxBORDER_NONE
;
8438 wxPopupWindow
*result
;
8439 PyObject
* obj0
= 0 ;
8440 PyObject
* obj1
= 0 ;
8442 (char *) "parent",(char *) "flags", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 arg2
= (int) SWIG_AsInt(obj1
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8466 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxPopupWindow
*result
;
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (wxPopupWindow
*)new wxPopupWindow();
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8488 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
8490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8491 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8493 return Py_BuildValue((char *)"");
8495 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 wxWindow
*arg1
= (wxWindow
*) 0 ;
8498 int arg2
= (int) wxBORDER_NONE
;
8499 wxPyPopupTransientWindow
*result
;
8500 PyObject
* obj0
= 0 ;
8501 PyObject
* obj1
= 0 ;
8503 (char *) "parent",(char *) "style", NULL
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8510 arg2
= (int) SWIG_AsInt(obj1
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8527 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxPyPopupTransientWindow
*result
;
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8549 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
8551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8552 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8554 return Py_BuildValue((char *)"");
8556 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
;
8558 wxWindow
*arg1
= (wxWindow
*) 0 ;
8559 wxString
*arg2
= 0 ;
8560 int arg3
= (int) 100 ;
8561 wxRect
*arg4
= (wxRect
*) NULL
;
8562 wxTipWindow
*result
;
8563 bool temp2
= False
;
8564 PyObject
* obj0
= 0 ;
8565 PyObject
* obj1
= 0 ;
8566 PyObject
* obj2
= 0 ;
8567 PyObject
* obj3
= 0 ;
8569 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8576 arg2
= wxString_in_helper(obj1
);
8577 if (arg2
== NULL
) SWIG_fail
;
8581 arg3
= (int) SWIG_AsInt(obj2
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8585 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8610 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
;
8612 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8618 (char *) "self",(char *) "rectBound", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8626 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 Py_INCREF(Py_None
); resultobj
= Py_None
;
8642 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8645 PyObject
* obj0
= 0 ;
8647 (char *) "self", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 Py_INCREF(Py_None
); resultobj
= Py_None
;
8667 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
8669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8670 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8672 return Py_BuildValue((char *)"");
8674 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxWindow
*arg1
= (wxWindow
*) 0 ;
8677 int arg2
= (int) wxID_ANY
;
8678 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8679 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8680 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8681 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8682 long arg5
= (long) 0 ;
8683 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8684 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8685 wxPyVScrolledWindow
*result
;
8688 bool temp6
= False
;
8689 PyObject
* obj0
= 0 ;
8690 PyObject
* obj1
= 0 ;
8691 PyObject
* obj2
= 0 ;
8692 PyObject
* obj3
= 0 ;
8693 PyObject
* obj4
= 0 ;
8694 PyObject
* obj5
= 0 ;
8696 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8703 arg2
= (int) SWIG_AsInt(obj1
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8709 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8715 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8719 arg5
= (long) SWIG_AsLong(obj4
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8724 arg6
= wxString_in_helper(obj5
);
8725 if (arg6
== NULL
) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8751 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxPyVScrolledWindow
*result
;
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8763 wxPyEndAllowThreads(__tstate
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8773 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
;
8775 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8776 PyObject
*arg2
= (PyObject
*) 0 ;
8777 PyObject
*arg3
= (PyObject
*) 0 ;
8778 PyObject
* obj0
= 0 ;
8779 PyObject
* obj1
= 0 ;
8780 PyObject
* obj2
= 0 ;
8782 (char *) "self",(char *) "self",(char *) "_class", NULL
8785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 Py_INCREF(Py_None
); resultobj
= Py_None
;
8804 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8807 wxWindow
*arg2
= (wxWindow
*) 0 ;
8808 int arg3
= (int) wxID_ANY
;
8809 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8810 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8811 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8812 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8813 long arg6
= (long) 0 ;
8814 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8815 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8819 bool temp7
= False
;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 PyObject
* obj4
= 0 ;
8825 PyObject
* obj5
= 0 ;
8826 PyObject
* obj6
= 0 ;
8828 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8837 arg3
= (int) SWIG_AsInt(obj2
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8843 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8849 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8853 arg6
= (long) SWIG_AsLong(obj5
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8858 arg7
= wxString_in_helper(obj6
);
8859 if (arg7
== NULL
) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8887 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8894 (char *) "self",(char *) "count", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8900 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 (arg1
)->SetLineCount(arg2
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 Py_INCREF(Py_None
); resultobj
= Py_None
;
8916 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8924 (char *) "self",(char *) "line", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8930 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8948 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8956 (char *) "self",(char *) "lines", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8962 arg2
= (int) SWIG_AsInt(obj1
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (bool)(arg1
)->ScrollLines(arg2
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8980 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8988 (char *) "self",(char *) "pages", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8994 arg2
= (int) SWIG_AsInt(obj1
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (bool)(arg1
)->ScrollPages(arg2
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9012 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9019 (char *) "self",(char *) "line", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9025 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 (arg1
)->RefreshLine(arg2
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9048 PyObject
* obj2
= 0 ;
9050 (char *) "self",(char *) "from",(char *) "to", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9056 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9058 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 (arg1
)->RefreshLines(arg2
,arg3
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 Py_INCREF(Py_None
); resultobj
= Py_None
;
9074 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9080 PyObject
* obj0
= 0 ;
9081 PyObject
* obj1
= 0 ;
9082 PyObject
* obj2
= 0 ;
9084 (char *) "self",(char *) "x",(char *) "y", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9090 arg2
= (int) SWIG_AsInt(obj1
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9092 arg3
= (int) SWIG_AsInt(obj2
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= SWIG_FromInt((int)result
);
9108 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9114 PyObject
* obj0
= 0 ;
9115 PyObject
* obj1
= 0 ;
9117 (char *) "self",(char *) "pt", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_FromInt((int)result
);
9141 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9143 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9144 PyObject
* obj0
= 0 ;
9146 (char *) "self", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 (arg1
)->RefreshAll();
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 Py_INCREF(Py_None
); resultobj
= Py_None
;
9166 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9170 PyObject
* obj0
= 0 ;
9172 (char *) "self", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9192 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9196 PyObject
* obj0
= 0 ;
9198 (char *) "self", NULL
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9218 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9224 (char *) "self", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9244 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9252 (char *) "self",(char *) "line", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9258 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9276 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9279 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9281 return Py_BuildValue((char *)"");
9283 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9284 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9289 static PyObject
*_wrap_VListBoxNameStr_get() {
9294 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9296 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9303 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxWindow
*arg1
= (wxWindow
*) 0 ;
9306 int arg2
= (int) wxID_ANY
;
9307 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9308 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9309 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9310 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9311 long arg5
= (long) 0 ;
9312 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9313 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9314 wxPyVListBox
*result
;
9317 bool temp6
= False
;
9318 PyObject
* obj0
= 0 ;
9319 PyObject
* obj1
= 0 ;
9320 PyObject
* obj2
= 0 ;
9321 PyObject
* obj3
= 0 ;
9322 PyObject
* obj4
= 0 ;
9323 PyObject
* obj5
= 0 ;
9325 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9332 arg2
= (int) SWIG_AsInt(obj1
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9338 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9344 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9348 arg5
= (long) SWIG_AsLong(obj4
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9353 arg6
= wxString_in_helper(obj5
);
9354 if (arg6
== NULL
) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9380 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxPyVListBox
*result
;
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (wxPyVListBox
*)new wxPyVListBox();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9402 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9405 PyObject
*arg2
= (PyObject
*) 0 ;
9406 PyObject
*arg3
= (PyObject
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 PyObject
* obj2
= 0 ;
9411 (char *) "self",(char *) "self",(char *) "_class", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 Py_INCREF(Py_None
); resultobj
= Py_None
;
9433 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9435 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9436 wxWindow
*arg2
= (wxWindow
*) 0 ;
9437 int arg3
= (int) wxID_ANY
;
9438 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9439 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9440 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9441 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9442 long arg6
= (long) 0 ;
9443 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9448 bool temp7
= False
;
9449 PyObject
* obj0
= 0 ;
9450 PyObject
* obj1
= 0 ;
9451 PyObject
* obj2
= 0 ;
9452 PyObject
* obj3
= 0 ;
9453 PyObject
* obj4
= 0 ;
9454 PyObject
* obj5
= 0 ;
9455 PyObject
* obj6
= 0 ;
9457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9466 arg3
= (int) SWIG_AsInt(obj2
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9472 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9478 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9482 arg6
= (long) SWIG_AsLong(obj5
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9487 arg7
= wxString_in_helper(obj6
);
9488 if (arg7
== NULL
) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9516 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9522 (char *) "self", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9542 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9546 PyObject
* obj0
= 0 ;
9548 (char *) "self", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9570 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9574 PyObject
* obj0
= 0 ;
9576 (char *) "self", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= SWIG_FromInt((int)result
);
9596 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9602 PyObject
* obj1
= 0 ;
9604 (char *) "self",(char *) "item", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9628 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9636 (char *) "self",(char *) "item", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9642 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9660 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9662 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9664 PyObject
* obj0
= 0 ;
9666 (char *) "self", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9686 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9689 unsigned long *arg2
= 0 ;
9691 PyObject
* obj0
= 0 ;
9692 PyObject
* obj1
= 0 ;
9694 (char *) "self",(char *) "cookie", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9704 PyErr_SetString(PyExc_TypeError
,"null reference");
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= SWIG_FromInt((int)result
);
9721 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9724 unsigned long *arg2
= 0 ;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9729 (char *) "self",(char *) "cookie", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9739 PyErr_SetString(PyExc_TypeError
,"null reference");
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= SWIG_FromInt((int)result
);
9756 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9760 PyObject
* obj0
= 0 ;
9762 (char *) "self", NULL
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9776 wxPoint
* resultptr
;
9777 resultptr
= new wxPoint((wxPoint
&) result
);
9778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9786 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9792 (char *) "self", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9802 result
= (wxColour
*) &_result_ref
;
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9815 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9822 (char *) "self",(char *) "count", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9828 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 (arg1
)->SetItemCount(arg2
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 Py_INCREF(Py_None
); resultobj
= Py_None
;
9844 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9846 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9849 (char *) "self", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 Py_INCREF(Py_None
); resultobj
= Py_None
;
9869 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9876 (char *) "self",(char *) "selection", NULL
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 arg2
= (int) SWIG_AsInt(obj1
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 (arg1
)->SetSelection(arg2
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 Py_INCREF(Py_None
); resultobj
= Py_None
;
9898 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9902 bool arg3
= (bool) True
;
9904 PyObject
* obj0
= 0 ;
9905 PyObject
* obj1
= 0 ;
9906 PyObject
* obj2
= 0 ;
9908 (char *) "self",(char *) "item",(char *) "select", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9914 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9917 arg3
= (bool) SWIG_AsBool(obj2
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9936 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9943 PyObject
* obj1
= 0 ;
9944 PyObject
* obj2
= 0 ;
9946 (char *) "self",(char *) "from",(char *) "to", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9952 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9954 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9972 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9977 PyObject
* obj1
= 0 ;
9979 (char *) "self",(char *) "item", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9985 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 (arg1
)->Toggle(arg2
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 Py_INCREF(Py_None
); resultobj
= Py_None
;
10001 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= (bool)(arg1
)->SelectAll();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10029 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (bool)(arg1
)->DeselectAll();
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10057 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10060 wxPoint
*arg2
= 0 ;
10062 PyObject
* obj0
= 0 ;
10063 PyObject
* obj1
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "self",(char *) "pt", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10073 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 Py_INCREF(Py_None
); resultobj
= Py_None
;
10089 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10095 PyObject
* obj1
= 0 ;
10096 PyObject
* obj2
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "self",(char *) "x",(char *) "y", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10104 arg2
= (int) SWIG_AsInt(obj1
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10106 arg3
= (int) SWIG_AsInt(obj2
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 (arg1
)->SetMargins(arg2
,arg3
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 Py_INCREF(Py_None
); resultobj
= Py_None
;
10122 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10125 wxColour
*arg2
= 0 ;
10127 PyObject
* obj0
= 0 ;
10128 PyObject
* obj1
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self",(char *) "col", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10138 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 Py_INCREF(Py_None
); resultobj
= Py_None
;
10154 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10157 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10159 return Py_BuildValue((char *)"");
10161 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxWindow
*arg1
= (wxWindow
*) 0 ;
10164 int arg2
= (int) wxID_ANY
;
10165 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10166 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10167 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10168 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10169 long arg5
= (long) 0 ;
10170 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10171 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10172 wxPyHtmlListBox
*result
;
10175 bool temp6
= False
;
10176 PyObject
* obj0
= 0 ;
10177 PyObject
* obj1
= 0 ;
10178 PyObject
* obj2
= 0 ;
10179 PyObject
* obj3
= 0 ;
10180 PyObject
* obj4
= 0 ;
10181 PyObject
* obj5
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10190 arg2
= (int) SWIG_AsInt(obj1
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10196 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10202 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10206 arg5
= (long) SWIG_AsLong(obj4
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10211 arg6
= wxString_in_helper(obj5
);
10212 if (arg6
== NULL
) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10238 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxPyHtmlListBox
*result
;
10241 char *kwnames
[] = {
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10260 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
;
10262 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10263 PyObject
*arg2
= (PyObject
*) 0 ;
10264 PyObject
*arg3
= (PyObject
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 PyObject
* obj1
= 0 ;
10267 PyObject
* obj2
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self",(char *) "self",(char *) "_class", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 Py_INCREF(Py_None
); resultobj
= Py_None
;
10291 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10294 wxWindow
*arg2
= (wxWindow
*) 0 ;
10295 int arg3
= (int) wxID_ANY
;
10296 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10297 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10298 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10299 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10300 long arg6
= (long) 0 ;
10301 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10302 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10306 bool temp7
= False
;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 PyObject
* obj2
= 0 ;
10310 PyObject
* obj3
= 0 ;
10311 PyObject
* obj4
= 0 ;
10312 PyObject
* obj5
= 0 ;
10313 PyObject
* obj6
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10324 arg3
= (int) SWIG_AsInt(obj2
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10330 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10336 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10340 arg6
= (long) SWIG_AsLong(obj5
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10345 arg7
= wxString_in_helper(obj6
);
10346 if (arg7
== NULL
) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10374 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 (arg1
)->RefreshAll();
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10399 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "count", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10412 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 (arg1
)->SetItemCount(arg2
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 Py_INCREF(Py_None
); resultobj
= Py_None
;
10428 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
10430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10431 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10433 return Py_BuildValue((char *)"");
10435 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxTaskBarIcon
*result
;
10438 char *kwnames
[] = {
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10457 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10460 PyObject
* obj0
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
10484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10485 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10487 return Py_BuildValue((char *)"");
10489 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10492 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10493 wxTaskBarIconEvent
*result
;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "evtType",(char *) "tbIcon", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10501 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10519 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
10521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10522 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10524 return Py_BuildValue((char *)"");
10526 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
10527 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10532 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10537 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10539 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10546 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
10547 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10552 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10557 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10559 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10566 static int _wrap_DirDialogNameStr_set(PyObject
*) {
10567 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10572 static PyObject
*_wrap_DirDialogNameStr_get() {
10577 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10579 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10586 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
10587 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10592 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10597 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10599 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10606 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
10607 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10612 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10617 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10619 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10626 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
10627 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10632 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10637 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10639 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10646 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxColourData
*result
;
10649 char *kwnames
[] = {
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (wxColourData
*)new wxColourData();
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10668 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
;
10670 wxColourData
*arg1
= (wxColourData
*) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 char *kwnames
[] = {
10673 (char *) "self", NULL
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 Py_INCREF(Py_None
); resultobj
= Py_None
;
10693 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxColourData
*arg1
= (wxColourData
*) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "self", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (bool)(arg1
)->GetChooseFull();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10721 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxColourData
*arg1
= (wxColourData
*) 0 ;
10725 PyObject
* obj0
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (arg1
)->GetColour();
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 wxColour
* resultptr
;
10742 resultptr
= new wxColour((wxColour
&) result
);
10743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10751 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxColourData
*arg1
= (wxColourData
*) 0 ;
10756 PyObject
* obj0
= 0 ;
10757 PyObject
* obj1
= 0 ;
10758 char *kwnames
[] = {
10759 (char *) "self",(char *) "i", NULL
10762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10765 arg2
= (int) SWIG_AsInt(obj1
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= (arg1
)->GetCustomColour(arg2
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10775 wxColour
* resultptr
;
10776 resultptr
= new wxColour((wxColour
&) result
);
10777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10785 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
;
10787 wxColourData
*arg1
= (wxColourData
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 PyObject
* obj1
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self",(char *) "flag", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10798 arg2
= (int) SWIG_AsInt(obj1
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 (arg1
)->SetChooseFull(arg2
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 Py_INCREF(Py_None
); resultobj
= Py_None
;
10814 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxColourData
*arg1
= (wxColourData
*) 0 ;
10817 wxColour
*arg2
= 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "colour", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10830 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->SetColour((wxColour
const &)*arg2
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 Py_INCREF(Py_None
); resultobj
= Py_None
;
10846 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxColourData
*arg1
= (wxColourData
*) 0 ;
10850 wxColour
*arg3
= 0 ;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 PyObject
* obj2
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "i",(char *) "colour", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 arg2
= (int) SWIG_AsInt(obj1
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10866 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 Py_INCREF(Py_None
); resultobj
= Py_None
;
10882 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
10884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10885 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10887 return Py_BuildValue((char *)"");
10889 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxWindow
*arg1
= (wxWindow
*) 0 ;
10892 wxColourData
*arg2
= (wxColourData
*) NULL
;
10893 wxColourDialog
*result
;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "parent",(char *) "data", NULL
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
10921 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10924 wxColourData
*result
;
10925 PyObject
* obj0
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "self", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
10932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10937 result
= (wxColourData
*) &_result_ref
;
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
10950 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
10952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10953 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
10955 return Py_BuildValue((char *)"");
10957 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxWindow
*arg1
= (wxWindow
*) 0 ;
10960 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
10961 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10962 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10963 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10964 long arg4
= (long) 0 ;
10965 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10966 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10967 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10968 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10969 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10970 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10971 wxDirDialog
*result
;
10972 bool temp2
= False
;
10973 bool temp3
= False
;
10976 bool temp7
= False
;
10977 PyObject
* obj0
= 0 ;
10978 PyObject
* obj1
= 0 ;
10979 PyObject
* obj2
= 0 ;
10980 PyObject
* obj3
= 0 ;
10981 PyObject
* obj4
= 0 ;
10982 PyObject
* obj5
= 0 ;
10983 PyObject
* obj6
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10993 arg2
= wxString_in_helper(obj1
);
10994 if (arg2
== NULL
) SWIG_fail
;
11000 arg3
= wxString_in_helper(obj2
);
11001 if (arg3
== NULL
) SWIG_fail
;
11006 arg4
= (long) SWIG_AsLong(obj3
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11012 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11018 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11023 arg7
= wxString_in_helper(obj6
);
11024 if (arg7
== NULL
) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11066 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (arg1
)->GetPath();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11098 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 result
= (arg1
)->GetMessage();
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11130 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
;
11132 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11134 PyObject
* obj0
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 result
= (long)(arg1
)->GetStyle();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 resultobj
= SWIG_FromLong((long)result
);
11156 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
;
11158 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11159 wxString
*arg2
= 0 ;
11160 bool temp2
= False
;
11161 PyObject
* obj0
= 0 ;
11162 PyObject
* obj1
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "self",(char *) "message", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11171 arg2
= wxString_in_helper(obj1
);
11172 if (arg2
== NULL
) SWIG_fail
;
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 (arg1
)->SetMessage((wxString
const &)*arg2
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11200 wxString
*arg2
= 0 ;
11201 bool temp2
= False
;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self",(char *) "path", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11212 arg2
= wxString_in_helper(obj1
);
11213 if (arg2
== NULL
) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 (arg1
)->SetPath((wxString
const &)*arg2
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 Py_INCREF(Py_None
); resultobj
= Py_None
;
11238 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
11240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11241 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11243 return Py_BuildValue((char *)"");
11245 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
;
11247 wxWindow
*arg1
= (wxWindow
*) 0 ;
11248 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11249 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11252 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11253 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11254 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11255 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11256 long arg6
= (long) 0 ;
11257 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11258 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11259 wxFileDialog
*result
;
11260 bool temp2
= False
;
11261 bool temp3
= False
;
11262 bool temp4
= False
;
11263 bool temp5
= False
;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 PyObject
* obj2
= 0 ;
11268 PyObject
* obj3
= 0 ;
11269 PyObject
* obj4
= 0 ;
11270 PyObject
* obj5
= 0 ;
11271 PyObject
* obj6
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11281 arg2
= wxString_in_helper(obj1
);
11282 if (arg2
== NULL
) SWIG_fail
;
11288 arg3
= wxString_in_helper(obj2
);
11289 if (arg3
== NULL
) SWIG_fail
;
11295 arg4
= wxString_in_helper(obj3
);
11296 if (arg4
== NULL
) SWIG_fail
;
11302 arg5
= wxString_in_helper(obj4
);
11303 if (arg5
== NULL
) SWIG_fail
;
11308 arg6
= (long) SWIG_AsLong(obj5
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11314 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11363 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11366 wxString
*arg2
= 0 ;
11367 bool temp2
= False
;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self",(char *) "message", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11378 arg2
= wxString_in_helper(obj1
);
11379 if (arg2
== NULL
) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 (arg1
)->SetMessage((wxString
const &)*arg2
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 Py_INCREF(Py_None
); resultobj
= Py_None
;
11404 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11407 wxString
*arg2
= 0 ;
11408 bool temp2
= False
;
11409 PyObject
* obj0
= 0 ;
11410 PyObject
* obj1
= 0 ;
11411 char *kwnames
[] = {
11412 (char *) "self",(char *) "path", NULL
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11419 arg2
= wxString_in_helper(obj1
);
11420 if (arg2
== NULL
) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 (arg1
)->SetPath((wxString
const &)*arg2
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 Py_INCREF(Py_None
); resultobj
= Py_None
;
11445 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11448 wxString
*arg2
= 0 ;
11449 bool temp2
= False
;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self",(char *) "dir", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11460 arg2
= wxString_in_helper(obj1
);
11461 if (arg2
== NULL
) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 Py_INCREF(Py_None
); resultobj
= Py_None
;
11486 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
;
11488 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11489 wxString
*arg2
= 0 ;
11490 bool temp2
= False
;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self",(char *) "name", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11501 arg2
= wxString_in_helper(obj1
);
11502 if (arg2
== NULL
) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 (arg1
)->SetFilename((wxString
const &)*arg2
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 Py_INCREF(Py_None
); resultobj
= Py_None
;
11527 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11530 wxString
*arg2
= 0 ;
11531 bool temp2
= False
;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self",(char *) "wildCard", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11542 arg2
= wxString_in_helper(obj1
);
11543 if (arg2
== NULL
) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 Py_INCREF(Py_None
); resultobj
= Py_None
;
11568 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11572 PyObject
* obj0
= 0 ;
11573 PyObject
* obj1
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self",(char *) "style", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11581 arg2
= (long) SWIG_AsLong(obj1
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 (arg1
)->SetStyle(arg2
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 Py_INCREF(Py_None
); resultobj
= Py_None
;
11597 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 PyObject
* obj1
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "self",(char *) "filterIndex", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11610 arg2
= (int) SWIG_AsInt(obj1
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 (arg1
)->SetFilterIndex(arg2
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 Py_INCREF(Py_None
); resultobj
= Py_None
;
11626 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
;
11628 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11630 PyObject
* obj0
= 0 ;
11631 char *kwnames
[] = {
11632 (char *) "self", NULL
11635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11658 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
*resultobj
;
11660 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11662 PyObject
* obj0
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11690 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11694 PyObject
* obj0
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "self", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11722 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
;
11724 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11726 PyObject
* obj0
= 0 ;
11727 char *kwnames
[] = {
11728 (char *) "self", NULL
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11754 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11758 PyObject
* obj0
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "self", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11786 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11790 PyObject
* obj0
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_FromLong((long)result
);
11812 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11816 PyObject
* obj0
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "self", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= SWIG_FromInt((int)result
);
11838 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
;
11840 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11842 PyObject
* obj0
= 0 ;
11843 char *kwnames
[] = {
11844 (char *) "self", NULL
11847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= result
;
11864 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11868 PyObject
* obj0
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= result
;
11890 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
11892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11893 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11895 return Py_BuildValue((char *)"");
11897 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
;
11899 wxWindow
*arg1
= (wxWindow
*) 0 ;
11900 wxString
*arg2
= 0 ;
11901 wxString
*arg3
= 0 ;
11902 int arg4
= (int) 0 ;
11903 wxString
*arg5
= (wxString
*) 0 ;
11904 long arg6
= (long) wxCHOICEDLG_STYLE
;
11905 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11906 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11907 wxMultiChoiceDialog
*result
;
11908 bool temp2
= False
;
11909 bool temp3
= False
;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 PyObject
* obj2
= 0 ;
11914 PyObject
* obj3
= 0 ;
11915 PyObject
* obj4
= 0 ;
11916 PyObject
* obj5
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11925 arg2
= wxString_in_helper(obj1
);
11926 if (arg2
== NULL
) SWIG_fail
;
11930 arg3
= wxString_in_helper(obj2
);
11931 if (arg3
== NULL
) SWIG_fail
;
11936 arg4
= PyList_Size(obj3
);
11937 arg5
= wxString_LIST_helper(obj3
);
11938 if (arg5
== NULL
) SWIG_fail
;
11942 arg6
= (long) SWIG_AsLong(obj4
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11948 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
11968 if (arg5
) delete [] arg5
;
11981 if (arg5
) delete [] arg5
;
11987 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11990 wxArrayInt
*arg2
= 0 ;
11991 bool temp2
= False
;
11992 PyObject
* obj0
= 0 ;
11993 PyObject
* obj1
= 0 ;
11994 char *kwnames
[] = {
11995 (char *) "self",(char *) "selections", NULL
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
11999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12002 if (! PySequence_Check(obj1
)) {
12003 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12006 arg2
= new wxArrayInt
;
12008 int i
, len
=PySequence_Length(obj1
);
12009 for (i
=0; i
<len
; i
++) {
12010 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12011 PyObject
* number
= PyNumber_Int(item
);
12012 arg2
->Add(PyInt_AS_LONG(number
));
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 Py_INCREF(Py_None
); resultobj
= Py_None
;
12026 if (temp2
) delete arg2
;
12031 if (temp2
) delete arg2
;
12037 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= result
;
12063 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12066 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12068 return Py_BuildValue((char *)"");
12070 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxWindow
*arg1
= (wxWindow
*) 0 ;
12073 wxString
*arg2
= 0 ;
12074 wxString
*arg3
= 0 ;
12076 wxString
*arg5
= (wxString
*) 0 ;
12077 long arg6
= (long) wxCHOICEDLG_STYLE
;
12078 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12079 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12080 wxSingleChoiceDialog
*result
;
12081 bool temp2
= False
;
12082 bool temp3
= False
;
12084 PyObject
* obj0
= 0 ;
12085 PyObject
* obj1
= 0 ;
12086 PyObject
* obj2
= 0 ;
12087 PyObject
* obj3
= 0 ;
12088 PyObject
* obj4
= 0 ;
12089 PyObject
* obj5
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12098 arg2
= wxString_in_helper(obj1
);
12099 if (arg2
== NULL
) SWIG_fail
;
12103 arg3
= wxString_in_helper(obj2
);
12104 if (arg3
== NULL
) SWIG_fail
;
12108 arg4
= PyList_Size(obj3
);
12109 arg5
= wxString_LIST_helper(obj3
);
12110 if (arg5
== NULL
) SWIG_fail
;
12113 arg6
= (long) SWIG_AsLong(obj4
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12119 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12139 if (arg5
) delete [] arg5
;
12152 if (arg5
) delete [] arg5
;
12158 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 result
= (int)(arg1
)->GetSelection();
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= SWIG_FromInt((int)result
);
12184 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
;
12186 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12188 PyObject
* obj0
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 result
= (arg1
)->GetStringSelection();
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12216 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12220 PyObject
* obj0
= 0 ;
12221 PyObject
* obj1
= 0 ;
12222 char *kwnames
[] = {
12223 (char *) "self",(char *) "sel", NULL
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12229 arg2
= (int) SWIG_AsInt(obj1
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 (arg1
)->SetSelection(arg2
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 Py_INCREF(Py_None
); resultobj
= Py_None
;
12245 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12248 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12250 return Py_BuildValue((char *)"");
12252 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxWindow
*arg1
= (wxWindow
*) 0 ;
12255 wxString
*arg2
= 0 ;
12256 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12257 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12258 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12259 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12260 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12261 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12262 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12263 wxTextEntryDialog
*result
;
12264 bool temp2
= False
;
12265 bool temp3
= False
;
12266 bool temp4
= False
;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 PyObject
* obj2
= 0 ;
12271 PyObject
* obj3
= 0 ;
12272 PyObject
* obj4
= 0 ;
12273 PyObject
* obj5
= 0 ;
12274 char *kwnames
[] = {
12275 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12282 arg2
= wxString_in_helper(obj1
);
12283 if (arg2
== NULL
) SWIG_fail
;
12288 arg3
= wxString_in_helper(obj2
);
12289 if (arg3
== NULL
) SWIG_fail
;
12295 arg4
= wxString_in_helper(obj3
);
12296 if (arg4
== NULL
) SWIG_fail
;
12301 arg5
= (long) SWIG_AsLong(obj4
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12307 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12348 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= (arg1
)->GetValue();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12380 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12383 wxString
*arg2
= 0 ;
12384 bool temp2
= False
;
12385 PyObject
* obj0
= 0 ;
12386 PyObject
* obj1
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self",(char *) "value", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12395 arg2
= wxString_in_helper(obj1
);
12396 if (arg2
== NULL
) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 (arg1
)->SetValue((wxString
const &)*arg2
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 Py_INCREF(Py_None
); resultobj
= Py_None
;
12421 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
12423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12424 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12426 return Py_BuildValue((char *)"");
12428 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12429 PyObject
*resultobj
;
12430 wxFontData
*result
;
12431 char *kwnames
[] = {
12435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= (wxFontData
*)new wxFontData();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12450 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxFontData
*arg1
= (wxFontData
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 Py_INCREF(Py_None
); resultobj
= Py_None
;
12475 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxFontData
*arg1
= (wxFontData
*) 0 ;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self",(char *) "enable", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12488 arg2
= (bool) SWIG_AsBool(obj1
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 (arg1
)->EnableEffects(arg2
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 Py_INCREF(Py_None
); resultobj
= Py_None
;
12504 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxFontData
*arg1
= (wxFontData
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (bool)(arg1
)->GetAllowSymbols();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12532 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxFontData
*arg1
= (wxFontData
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (arg1
)->GetColour();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 wxColour
* resultptr
;
12553 resultptr
= new wxColour((wxColour
&) result
);
12554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12562 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxFontData
*arg1
= (wxFontData
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "self", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (arg1
)->GetChosenFont();
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12582 wxFont
* resultptr
;
12583 resultptr
= new wxFont((wxFont
&) result
);
12584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12592 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxFontData
*arg1
= (wxFontData
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (bool)(arg1
)->GetEnableEffects();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12620 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxFontData
*arg1
= (wxFontData
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (arg1
)->GetInitialFont();
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12640 wxFont
* resultptr
;
12641 resultptr
= new wxFont((wxFont
&) result
);
12642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12650 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxFontData
*arg1
= (wxFontData
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (bool)(arg1
)->GetShowHelp();
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12678 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxFontData
*arg1
= (wxFontData
*) 0 ;
12682 PyObject
* obj0
= 0 ;
12683 PyObject
* obj1
= 0 ;
12684 char *kwnames
[] = {
12685 (char *) "self",(char *) "allowSymbols", NULL
12688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12691 arg2
= (bool) SWIG_AsBool(obj1
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->SetAllowSymbols(arg2
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 Py_INCREF(Py_None
); resultobj
= Py_None
;
12707 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxFontData
*arg1
= (wxFontData
*) 0 ;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self",(char *) "font", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12723 if (arg2
== NULL
) {
12724 PyErr_SetString(PyExc_TypeError
,"null reference");
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 Py_INCREF(Py_None
); resultobj
= Py_None
;
12741 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxFontData
*arg1
= (wxFontData
*) 0 ;
12744 wxColour
*arg2
= 0 ;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self",(char *) "colour", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12757 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 (arg1
)->SetColour((wxColour
const &)*arg2
);
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 Py_INCREF(Py_None
); resultobj
= Py_None
;
12773 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
;
12775 wxFontData
*arg1
= (wxFontData
*) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 PyObject
* obj1
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self",(char *) "font", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12789 if (arg2
== NULL
) {
12790 PyErr_SetString(PyExc_TypeError
,"null reference");
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 Py_INCREF(Py_None
); resultobj
= Py_None
;
12807 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxFontData
*arg1
= (wxFontData
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 PyObject
* obj2
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self",(char *) "min",(char *) "max", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12822 arg2
= (int) SWIG_AsInt(obj1
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12824 arg3
= (int) SWIG_AsInt(obj2
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 (arg1
)->SetRange(arg2
,arg3
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 Py_INCREF(Py_None
); resultobj
= Py_None
;
12840 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxFontData
*arg1
= (wxFontData
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self",(char *) "showHelp", NULL
12850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12853 arg2
= (bool) SWIG_AsBool(obj1
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 (arg1
)->SetShowHelp(arg2
);
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 Py_INCREF(Py_None
); resultobj
= Py_None
;
12869 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
12871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12872 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12874 return Py_BuildValue((char *)"");
12876 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12877 PyObject
*resultobj
;
12878 wxWindow
*arg1
= (wxWindow
*) 0 ;
12879 wxFontData
*arg2
= 0 ;
12880 wxFontDialog
*result
;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 char *kwnames
[] = {
12884 (char *) "parent",(char *) "data", NULL
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
12891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12893 if (arg2
== NULL
) {
12894 PyErr_SetString(PyExc_TypeError
,"null reference");
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
12911 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12914 wxFontData
*result
;
12915 PyObject
* obj0
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 wxFontData
&_result_ref
= (arg1
)->GetFontData();
12927 result
= (wxFontData
*) &_result_ref
;
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
12940 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
12942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12943 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12945 return Py_BuildValue((char *)"");
12947 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12948 PyObject
*resultobj
;
12949 wxWindow
*arg1
= (wxWindow
*) 0 ;
12950 wxString
*arg2
= 0 ;
12951 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
12952 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12953 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12954 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12955 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12956 wxMessageDialog
*result
;
12957 bool temp2
= False
;
12958 bool temp3
= False
;
12960 PyObject
* obj0
= 0 ;
12961 PyObject
* obj1
= 0 ;
12962 PyObject
* obj2
= 0 ;
12963 PyObject
* obj3
= 0 ;
12964 PyObject
* obj4
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12973 arg2
= wxString_in_helper(obj1
);
12974 if (arg2
== NULL
) SWIG_fail
;
12979 arg3
= wxString_in_helper(obj2
);
12980 if (arg3
== NULL
) SWIG_fail
;
12985 arg4
= (long) SWIG_AsLong(obj3
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12991 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13024 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13027 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13029 return Py_BuildValue((char *)"");
13031 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
;
13033 wxString
*arg1
= 0 ;
13034 wxString
*arg2
= 0 ;
13035 int arg3
= (int) 100 ;
13036 wxWindow
*arg4
= (wxWindow
*) NULL
;
13037 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13038 wxProgressDialog
*result
;
13039 bool temp1
= False
;
13040 bool temp2
= False
;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 PyObject
* obj2
= 0 ;
13044 PyObject
* obj3
= 0 ;
13045 PyObject
* obj4
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13052 arg1
= wxString_in_helper(obj0
);
13053 if (arg1
== NULL
) SWIG_fail
;
13057 arg2
= wxString_in_helper(obj1
);
13058 if (arg2
== NULL
) SWIG_fail
;
13062 arg3
= (int) SWIG_AsInt(obj2
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13066 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13070 arg5
= (int) SWIG_AsInt(obj4
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13103 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13107 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13108 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13110 bool temp3
= False
;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 PyObject
* obj2
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13121 arg2
= (int) SWIG_AsInt(obj1
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13125 arg3
= wxString_in_helper(obj2
);
13126 if (arg3
== NULL
) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13154 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13157 PyObject
* obj0
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 Py_INCREF(Py_None
); resultobj
= Py_None
;
13179 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
13181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13182 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13184 return Py_BuildValue((char *)"");
13186 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13189 int arg2
= (int) 0 ;
13190 wxFindDialogEvent
*result
;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "commandType",(char *) "id", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13199 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13203 arg2
= (int) SWIG_AsInt(obj1
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13220 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13224 PyObject
* obj0
= 0 ;
13225 char *kwnames
[] = {
13226 (char *) "self", NULL
13229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (int)(arg1
)->GetFlags();
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_FromInt((int)result
);
13246 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 wxString
const &_result_ref
= (arg1
)->GetFindString();
13262 result
= (wxString
*) &_result_ref
;
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13272 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13281 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13297 result
= (wxString
*) &_result_ref
;
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13307 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13316 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13319 wxFindReplaceDialog
*result
;
13320 PyObject
* obj0
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13342 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 PyObject
* obj1
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self",(char *) "flags", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13355 arg2
= (int) SWIG_AsInt(obj1
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 (arg1
)->SetFlags(arg2
);
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 Py_INCREF(Py_None
); resultobj
= Py_None
;
13371 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
;
13373 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13374 wxString
*arg2
= 0 ;
13375 bool temp2
= False
;
13376 PyObject
* obj0
= 0 ;
13377 PyObject
* obj1
= 0 ;
13378 char *kwnames
[] = {
13379 (char *) "self",(char *) "str", NULL
13382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13386 arg2
= wxString_in_helper(obj1
);
13387 if (arg2
== NULL
) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 (arg1
)->SetFindString((wxString
const &)*arg2
);
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 Py_INCREF(Py_None
); resultobj
= Py_None
;
13412 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13415 wxString
*arg2
= 0 ;
13416 bool temp2
= False
;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "str", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 arg2
= wxString_in_helper(obj1
);
13428 if (arg2
== NULL
) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 Py_INCREF(Py_None
); resultobj
= Py_None
;
13453 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
13455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13456 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13458 return Py_BuildValue((char *)"");
13460 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 int arg1
= (int) 0 ;
13463 wxFindReplaceData
*result
;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "flags", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13471 arg1
= (int) SWIG_AsInt(obj0
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13488 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13491 PyObject
* obj0
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 Py_INCREF(Py_None
); resultobj
= Py_None
;
13513 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 wxString
const &_result_ref
= (arg1
)->GetFindString();
13529 result
= (wxString
*) &_result_ref
;
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13539 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13548 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13549 PyObject
*resultobj
;
13550 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13552 PyObject
* obj0
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13564 result
= (wxString
*) &_result_ref
;
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13574 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13583 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
;
13585 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 char *kwnames
[] = {
13589 (char *) "self", NULL
13592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= (int)(arg1
)->GetFlags();
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= SWIG_FromInt((int)result
);
13609 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13613 PyObject
* obj0
= 0 ;
13614 PyObject
* obj1
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "self",(char *) "flags", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13622 arg2
= (int) SWIG_AsInt(obj1
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 (arg1
)->SetFlags(arg2
);
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 Py_INCREF(Py_None
); resultobj
= Py_None
;
13638 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13639 PyObject
*resultobj
;
13640 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13641 wxString
*arg2
= 0 ;
13642 bool temp2
= False
;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "str", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13653 arg2
= wxString_in_helper(obj1
);
13654 if (arg2
== NULL
) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 (arg1
)->SetFindString((wxString
const &)*arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 Py_INCREF(Py_None
); resultobj
= Py_None
;
13679 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13682 wxString
*arg2
= 0 ;
13683 bool temp2
= False
;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self",(char *) "str", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13694 arg2
= wxString_in_helper(obj1
);
13695 if (arg2
== NULL
) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 Py_INCREF(Py_None
); resultobj
= Py_None
;
13720 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
13722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13723 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13725 return Py_BuildValue((char *)"");
13727 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxWindow
*arg1
= (wxWindow
*) 0 ;
13730 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13731 wxString
*arg3
= 0 ;
13732 int arg4
= (int) 0 ;
13733 wxFindReplaceDialog
*result
;
13734 bool temp3
= False
;
13735 PyObject
* obj0
= 0 ;
13736 PyObject
* obj1
= 0 ;
13737 PyObject
* obj2
= 0 ;
13738 PyObject
* obj3
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13749 arg3
= wxString_in_helper(obj2
);
13750 if (arg3
== NULL
) SWIG_fail
;
13754 arg4
= (int) SWIG_AsInt(obj3
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13779 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxFindReplaceDialog
*result
;
13782 char *kwnames
[] = {
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13801 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13804 wxWindow
*arg2
= (wxWindow
*) 0 ;
13805 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13806 wxString
*arg4
= 0 ;
13807 int arg5
= (int) 0 ;
13809 bool temp4
= False
;
13810 PyObject
* obj0
= 0 ;
13811 PyObject
* obj1
= 0 ;
13812 PyObject
* obj2
= 0 ;
13813 PyObject
* obj3
= 0 ;
13814 PyObject
* obj4
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13824 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
13825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13827 arg4
= wxString_in_helper(obj3
);
13828 if (arg4
== NULL
) SWIG_fail
;
13832 arg5
= (int) SWIG_AsInt(obj4
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13859 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13860 PyObject
*resultobj
;
13861 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13862 wxFindReplaceData
*result
;
13863 PyObject
* obj0
= 0 ;
13864 char *kwnames
[] = {
13865 (char *) "self", NULL
13868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
13869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 result
= (wxFindReplaceData
*)(arg1
)->GetData();
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
13885 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13888 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 PyObject
* obj1
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self",(char *) "data", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 (arg1
)->SetData(arg2
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 Py_INCREF(Py_None
); resultobj
= Py_None
;
13914 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
13916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13917 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
13919 return Py_BuildValue((char *)"");
13921 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxWindow
*arg1
= (wxWindow
*) 0 ;
13925 wxString
*arg3
= 0 ;
13926 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13927 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13928 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13929 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13930 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13931 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13932 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13933 wxMDIParentFrame
*result
;
13934 bool temp3
= False
;
13937 bool temp7
= False
;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 PyObject
* obj2
= 0 ;
13941 PyObject
* obj3
= 0 ;
13942 PyObject
* obj4
= 0 ;
13943 PyObject
* obj5
= 0 ;
13944 PyObject
* obj6
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13952 arg2
= (int const) SWIG_AsInt(obj1
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 arg3
= wxString_in_helper(obj2
);
13956 if (arg3
== NULL
) SWIG_fail
;
13962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13972 arg6
= (long) SWIG_AsLong(obj5
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13977 arg7
= wxString_in_helper(obj6
);
13978 if (arg7
== NULL
) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14012 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxMDIParentFrame
*result
;
14015 char *kwnames
[] = {
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14034 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14037 wxWindow
*arg2
= (wxWindow
*) 0 ;
14039 wxString
*arg4
= 0 ;
14040 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14041 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14042 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14043 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14044 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14045 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14046 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14048 bool temp4
= False
;
14051 bool temp8
= False
;
14052 PyObject
* obj0
= 0 ;
14053 PyObject
* obj1
= 0 ;
14054 PyObject
* obj2
= 0 ;
14055 PyObject
* obj3
= 0 ;
14056 PyObject
* obj4
= 0 ;
14057 PyObject
* obj5
= 0 ;
14058 PyObject
* obj6
= 0 ;
14059 PyObject
* obj7
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14069 arg3
= (int const) SWIG_AsInt(obj2
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 arg4
= wxString_in_helper(obj3
);
14073 if (arg4
== NULL
) SWIG_fail
;
14079 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14085 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14089 arg7
= (long) SWIG_AsLong(obj6
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14094 arg8
= wxString_in_helper(obj7
);
14095 if (arg8
== NULL
) SWIG_fail
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14131 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14134 PyObject
* obj0
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "self", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 (arg1
)->ActivateNext();
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 Py_INCREF(Py_None
); resultobj
= Py_None
;
14156 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 (arg1
)->ActivatePrevious();
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 Py_INCREF(Py_None
); resultobj
= Py_None
;
14181 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14182 PyObject
*resultobj
;
14183 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 (arg1
)->ArrangeIcons();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 Py_INCREF(Py_None
); resultobj
= Py_None
;
14206 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14209 PyObject
* obj0
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 Py_INCREF(Py_None
); resultobj
= Py_None
;
14231 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14234 wxMDIChildFrame
*result
;
14235 PyObject
* obj0
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "self", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= wxPyMake_wxObject(result
);
14259 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14262 wxMDIClientWindow
*result
;
14263 PyObject
* obj0
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= wxPyMake_wxObject(result
);
14287 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (wxWindow
*)(arg1
)->GetToolBar();
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= wxPyMake_wxObject(result
);
14315 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14318 PyObject
* obj0
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 Py_INCREF(Py_None
); resultobj
= Py_None
;
14340 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
14342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14343 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14345 return Py_BuildValue((char *)"");
14347 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14351 wxString
*arg3
= 0 ;
14352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14354 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14355 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14356 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14357 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14358 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14359 wxMDIChildFrame
*result
;
14360 bool temp3
= False
;
14363 bool temp7
= False
;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 PyObject
* obj2
= 0 ;
14367 PyObject
* obj3
= 0 ;
14368 PyObject
* obj4
= 0 ;
14369 PyObject
* obj5
= 0 ;
14370 PyObject
* obj6
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14378 arg2
= (int const) SWIG_AsInt(obj1
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 arg3
= wxString_in_helper(obj2
);
14382 if (arg3
== NULL
) SWIG_fail
;
14388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14398 arg6
= (long) SWIG_AsLong(obj5
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14403 arg7
= wxString_in_helper(obj6
);
14404 if (arg7
== NULL
) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= wxPyMake_wxObject(result
);
14440 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxMDIChildFrame
*result
;
14443 char *kwnames
[] = {
14447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= wxPyMake_wxObject(result
);
14464 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
;
14466 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14467 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14469 wxString
*arg4
= 0 ;
14470 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14471 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14472 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14473 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14474 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14475 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14476 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14478 bool temp4
= False
;
14481 bool temp8
= False
;
14482 PyObject
* obj0
= 0 ;
14483 PyObject
* obj1
= 0 ;
14484 PyObject
* obj2
= 0 ;
14485 PyObject
* obj3
= 0 ;
14486 PyObject
* obj4
= 0 ;
14487 PyObject
* obj5
= 0 ;
14488 PyObject
* obj6
= 0 ;
14489 PyObject
* obj7
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14499 arg3
= (int const) SWIG_AsInt(obj2
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 arg4
= wxString_in_helper(obj3
);
14503 if (arg4
== NULL
) SWIG_fail
;
14509 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14515 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14519 arg7
= (long) SWIG_AsLong(obj6
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14524 arg8
= wxString_in_helper(obj7
);
14525 if (arg8
== NULL
) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14561 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14564 PyObject
* obj0
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->Activate();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14586 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 PyObject
* obj1
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self",(char *) "maximize", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14599 arg2
= (bool) SWIG_AsBool(obj1
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 (arg1
)->Maximize(arg2
);
14605 wxPyEndAllowThreads(__tstate
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14608 Py_INCREF(Py_None
); resultobj
= Py_None
;
14615 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "self", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 Py_INCREF(Py_None
); resultobj
= Py_None
;
14640 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
14642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14643 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14645 return Py_BuildValue((char *)"");
14647 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14649 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14650 long arg2
= (long) 0 ;
14651 wxMDIClientWindow
*result
;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "parent",(char *) "style", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14662 arg2
= (long) SWIG_AsLong(obj1
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= wxPyMake_wxObject(result
);
14681 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14682 PyObject
*resultobj
;
14683 wxMDIClientWindow
*result
;
14684 char *kwnames
[] = {
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= wxPyMake_wxObject(result
);
14705 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14708 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14709 long arg3
= (long) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 PyObject
* obj2
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "self",(char *) "parent",(char *) "style", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14724 arg3
= (long) SWIG_AsLong(obj2
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14743 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
14745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14746 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14748 return Py_BuildValue((char *)"");
14750 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxWindow
*arg1
= (wxWindow
*) 0 ;
14754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14758 long arg5
= (long) 0 ;
14759 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14760 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14761 wxPyWindow
*result
;
14764 bool temp6
= False
;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 PyObject
* obj2
= 0 ;
14768 PyObject
* obj3
= 0 ;
14769 PyObject
* obj4
= 0 ;
14770 PyObject
* obj5
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14778 arg2
= (int const) SWIG_AsInt(obj1
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14783 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14789 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14793 arg5
= (long) SWIG_AsLong(obj4
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14798 arg6
= wxString_in_helper(obj5
);
14799 if (arg6
== NULL
) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14825 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
;
14827 wxPyWindow
*result
;
14828 char *kwnames
[] = {
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (wxPyWindow
*)new wxPyWindow();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14847 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14850 PyObject
*arg2
= (PyObject
*) 0 ;
14851 PyObject
*arg3
= (PyObject
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 PyObject
* obj1
= 0 ;
14854 PyObject
* obj2
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "self",(char *) "_class", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 Py_INCREF(Py_None
); resultobj
= Py_None
;
14878 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14885 PyObject
* obj0
= 0 ;
14886 PyObject
* obj1
= 0 ;
14887 PyObject
* obj2
= 0 ;
14888 PyObject
* obj3
= 0 ;
14889 PyObject
* obj4
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14897 arg2
= (int) SWIG_AsInt(obj1
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14899 arg3
= (int) SWIG_AsInt(obj2
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14901 arg4
= (int) SWIG_AsInt(obj3
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14903 arg5
= (int) SWIG_AsInt(obj4
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 Py_INCREF(Py_None
); resultobj
= Py_None
;
14919 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
;
14921 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14926 int arg6
= (int) wxSIZE_AUTO
;
14927 PyObject
* obj0
= 0 ;
14928 PyObject
* obj1
= 0 ;
14929 PyObject
* obj2
= 0 ;
14930 PyObject
* obj3
= 0 ;
14931 PyObject
* obj4
= 0 ;
14932 PyObject
* obj5
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14940 arg2
= (int) SWIG_AsInt(obj1
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14942 arg3
= (int) SWIG_AsInt(obj2
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14944 arg4
= (int) SWIG_AsInt(obj3
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14946 arg5
= (int) SWIG_AsInt(obj4
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 arg6
= (int) SWIG_AsInt(obj5
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 Py_INCREF(Py_None
); resultobj
= Py_None
;
14966 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
;
14968 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 PyObject
* obj1
= 0 ;
14973 PyObject
* obj2
= 0 ;
14974 char *kwnames
[] = {
14975 (char *) "self",(char *) "width",(char *) "height", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14981 arg2
= (int) SWIG_AsInt(obj1
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14983 arg3
= (int) SWIG_AsInt(obj2
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 Py_INCREF(Py_None
); resultobj
= Py_None
;
14999 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15004 PyObject
* obj0
= 0 ;
15005 PyObject
* obj1
= 0 ;
15006 PyObject
* obj2
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "self",(char *) "x",(char *) "y", NULL
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15014 arg2
= (int) SWIG_AsInt(obj1
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15016 arg3
= (int) SWIG_AsInt(obj2
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15025 Py_INCREF(Py_None
); resultobj
= Py_None
;
15032 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15035 int *arg2
= (int *) 0 ;
15036 int *arg3
= (int *) 0 ;
15039 PyObject
* obj0
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "self", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 Py_INCREF(Py_None
); resultobj
= Py_None
;
15058 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15059 resultobj
= t_output_helper(resultobj
,o
);
15062 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15063 resultobj
= t_output_helper(resultobj
,o
);
15071 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15074 int *arg2
= (int *) 0 ;
15075 int *arg3
= (int *) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 Py_INCREF(Py_None
); resultobj
= Py_None
;
15097 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15098 resultobj
= t_output_helper(resultobj
,o
);
15101 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15102 resultobj
= t_output_helper(resultobj
,o
);
15110 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15113 int *arg2
= (int *) 0 ;
15114 int *arg3
= (int *) 0 ;
15117 PyObject
* obj0
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "self", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15136 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15137 resultobj
= t_output_helper(resultobj
,o
);
15140 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15141 resultobj
= t_output_helper(resultobj
,o
);
15149 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15169 wxSize
* resultptr
;
15170 resultptr
= new wxSize((wxSize
&) result
);
15171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15179 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
;
15181 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15183 PyObject
* obj0
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15199 wxSize
* resultptr
;
15200 resultptr
= new wxSize((wxSize
&) result
);
15201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15209 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 (arg1
)->base_InitDialog();
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15227 Py_INCREF(Py_None
); resultobj
= Py_None
;
15234 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
;
15236 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15238 PyObject
* obj0
= 0 ;
15239 char *kwnames
[] = {
15240 (char *) "self", NULL
15243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 result
= (bool)(arg1
)->base_TransferDataToWindow();
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15262 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15290 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (bool)(arg1
)->base_Validate();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15318 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15322 PyObject
* obj0
= 0 ;
15323 char *kwnames
[] = {
15324 (char *) "self", NULL
15327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15346 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15350 PyObject
* obj0
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15374 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15378 PyObject
* obj0
= 0 ;
15379 char *kwnames
[] = {
15380 (char *) "self", NULL
15383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15394 wxSize
* resultptr
;
15395 resultptr
= new wxSize((wxSize
&) result
);
15396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15404 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15407 wxWindow
*arg2
= (wxWindow
*) 0 ;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self",(char *) "child", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 (arg1
)->base_AddChild(arg2
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 Py_INCREF(Py_None
); resultobj
= Py_None
;
15433 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15436 wxWindow
*arg2
= (wxWindow
*) 0 ;
15437 PyObject
* obj0
= 0 ;
15438 PyObject
* obj1
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self",(char *) "child", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 (arg1
)->base_RemoveChild(arg2
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 Py_INCREF(Py_None
); resultobj
= Py_None
;
15462 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (bool)(arg1
)->base_ShouldInheritColours();
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15490 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15493 wxColour
*arg2
= 0 ;
15495 PyObject
* obj0
= 0 ;
15496 PyObject
* obj1
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self",(char *) "c", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15506 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
15524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15525 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15527 return Py_BuildValue((char *)"");
15529 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxWindow
*arg1
= (wxWindow
*) 0 ;
15533 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15534 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15535 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15536 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15537 long arg5
= (long) 0 ;
15538 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15539 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15543 bool temp6
= False
;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 PyObject
* obj2
= 0 ;
15547 PyObject
* obj3
= 0 ;
15548 PyObject
* obj4
= 0 ;
15549 PyObject
* obj5
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 arg2
= (int const) SWIG_AsInt(obj1
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15562 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15568 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15572 arg5
= (long) SWIG_AsLong(obj4
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15577 arg6
= wxString_in_helper(obj5
);
15578 if (arg6
== NULL
) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15604 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15607 char *kwnames
[] = {
15611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= (wxPyPanel
*)new wxPyPanel();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15626 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15629 PyObject
*arg2
= (PyObject
*) 0 ;
15630 PyObject
*arg3
= (PyObject
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 PyObject
* obj2
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self",(char *) "self",(char *) "_class", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 Py_INCREF(Py_None
); resultobj
= Py_None
;
15657 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15664 PyObject
* obj0
= 0 ;
15665 PyObject
* obj1
= 0 ;
15666 PyObject
* obj2
= 0 ;
15667 PyObject
* obj3
= 0 ;
15668 PyObject
* obj4
= 0 ;
15669 char *kwnames
[] = {
15670 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15676 arg2
= (int) SWIG_AsInt(obj1
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15678 arg3
= (int) SWIG_AsInt(obj2
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15680 arg4
= (int) SWIG_AsInt(obj3
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15682 arg5
= (int) SWIG_AsInt(obj4
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 Py_INCREF(Py_None
); resultobj
= Py_None
;
15698 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
;
15700 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15705 int arg6
= (int) wxSIZE_AUTO
;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 PyObject
* obj2
= 0 ;
15709 PyObject
* obj3
= 0 ;
15710 PyObject
* obj4
= 0 ;
15711 PyObject
* obj5
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15719 arg2
= (int) SWIG_AsInt(obj1
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15721 arg3
= (int) SWIG_AsInt(obj2
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15723 arg4
= (int) SWIG_AsInt(obj3
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15725 arg5
= (int) SWIG_AsInt(obj4
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 arg6
= (int) SWIG_AsInt(obj5
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 Py_INCREF(Py_None
); resultobj
= Py_None
;
15745 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 PyObject
* obj2
= 0 ;
15753 char *kwnames
[] = {
15754 (char *) "self",(char *) "width",(char *) "height", NULL
15757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15760 arg2
= (int) SWIG_AsInt(obj1
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15762 arg3
= (int) SWIG_AsInt(obj2
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 Py_INCREF(Py_None
); resultobj
= Py_None
;
15778 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15783 PyObject
* obj0
= 0 ;
15784 PyObject
* obj1
= 0 ;
15785 PyObject
* obj2
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self",(char *) "x",(char *) "y", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15793 arg2
= (int) SWIG_AsInt(obj1
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15795 arg3
= (int) SWIG_AsInt(obj2
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15804 Py_INCREF(Py_None
); resultobj
= Py_None
;
15811 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15814 int *arg2
= (int *) 0 ;
15815 int *arg3
= (int *) 0 ;
15818 PyObject
* obj0
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15835 Py_INCREF(Py_None
); resultobj
= Py_None
;
15837 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15838 resultobj
= t_output_helper(resultobj
,o
);
15841 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15842 resultobj
= t_output_helper(resultobj
,o
);
15850 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15853 int *arg2
= (int *) 0 ;
15854 int *arg3
= (int *) 0 ;
15857 PyObject
* obj0
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "self", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15871 wxPyEndAllowThreads(__tstate
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15874 Py_INCREF(Py_None
); resultobj
= Py_None
;
15876 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15877 resultobj
= t_output_helper(resultobj
,o
);
15880 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15881 resultobj
= t_output_helper(resultobj
,o
);
15889 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15892 int *arg2
= (int *) 0 ;
15893 int *arg3
= (int *) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self", NULL
15903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 Py_INCREF(Py_None
); resultobj
= Py_None
;
15915 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15916 resultobj
= t_output_helper(resultobj
,o
);
15919 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15920 resultobj
= t_output_helper(resultobj
,o
);
15928 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15948 wxSize
* resultptr
;
15949 resultptr
= new wxSize((wxSize
&) result
);
15950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15958 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
;
15960 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15962 PyObject
* obj0
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15978 wxSize
* resultptr
;
15979 resultptr
= new wxSize((wxSize
&) result
);
15980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15988 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15991 PyObject
* obj0
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 (arg1
)->base_InitDialog();
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 Py_INCREF(Py_None
); resultobj
= Py_None
;
16013 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16017 PyObject
* obj0
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (bool)(arg1
)->base_TransferDataToWindow();
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16041 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
;
16043 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16045 PyObject
* obj0
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "self", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16069 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16071 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (bool)(arg1
)->base_Validate();
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16097 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16101 PyObject
* obj0
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16125 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16153 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16157 PyObject
* obj0
= 0 ;
16158 char *kwnames
[] = {
16159 (char *) "self", NULL
16162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16173 wxSize
* resultptr
;
16174 resultptr
= new wxSize((wxSize
&) result
);
16175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16183 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
;
16185 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16186 wxWindow
*arg2
= (wxWindow
*) 0 ;
16187 PyObject
* obj0
= 0 ;
16188 PyObject
* obj1
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "self",(char *) "child", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 (arg1
)->base_AddChild(arg2
);
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16205 Py_INCREF(Py_None
); resultobj
= Py_None
;
16212 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16215 wxWindow
*arg2
= (wxWindow
*) 0 ;
16216 PyObject
* obj0
= 0 ;
16217 PyObject
* obj1
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self",(char *) "child", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 (arg1
)->base_RemoveChild(arg2
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 Py_INCREF(Py_None
); resultobj
= Py_None
;
16241 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= (bool)(arg1
)->base_ShouldInheritColours();
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16269 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16272 wxColour
*arg2
= 0 ;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self",(char *) "c", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16285 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 Py_INCREF(Py_None
); resultobj
= Py_None
;
16301 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
16303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16304 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16306 return Py_BuildValue((char *)"");
16308 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
;
16310 wxWindow
*arg1
= (wxWindow
*) 0 ;
16312 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16313 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16314 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16315 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16316 long arg5
= (long) 0 ;
16317 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16318 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16319 wxPyScrolledWindow
*result
;
16322 bool temp6
= False
;
16323 PyObject
* obj0
= 0 ;
16324 PyObject
* obj1
= 0 ;
16325 PyObject
* obj2
= 0 ;
16326 PyObject
* obj3
= 0 ;
16327 PyObject
* obj4
= 0 ;
16328 PyObject
* obj5
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16336 arg2
= (int const) SWIG_AsInt(obj1
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16341 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16347 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16351 arg5
= (long) SWIG_AsLong(obj4
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16356 arg6
= wxString_in_helper(obj5
);
16357 if (arg6
== NULL
) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16383 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxPyScrolledWindow
*result
;
16386 char *kwnames
[] = {
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16405 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16408 PyObject
*arg2
= (PyObject
*) 0 ;
16409 PyObject
*arg3
= (PyObject
*) 0 ;
16410 PyObject
* obj0
= 0 ;
16411 PyObject
* obj1
= 0 ;
16412 PyObject
* obj2
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self",(char *) "self",(char *) "_class", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 Py_INCREF(Py_None
); resultobj
= Py_None
;
16436 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16443 PyObject
* obj0
= 0 ;
16444 PyObject
* obj1
= 0 ;
16445 PyObject
* obj2
= 0 ;
16446 PyObject
* obj3
= 0 ;
16447 PyObject
* obj4
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16455 arg2
= (int) SWIG_AsInt(obj1
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16457 arg3
= (int) SWIG_AsInt(obj2
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16459 arg4
= (int) SWIG_AsInt(obj3
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16461 arg5
= (int) SWIG_AsInt(obj4
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 Py_INCREF(Py_None
); resultobj
= Py_None
;
16477 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16484 int arg6
= (int) wxSIZE_AUTO
;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 PyObject
* obj2
= 0 ;
16488 PyObject
* obj3
= 0 ;
16489 PyObject
* obj4
= 0 ;
16490 PyObject
* obj5
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16498 arg2
= (int) SWIG_AsInt(obj1
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16500 arg3
= (int) SWIG_AsInt(obj2
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16502 arg4
= (int) SWIG_AsInt(obj3
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16504 arg5
= (int) SWIG_AsInt(obj4
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 arg6
= (int) SWIG_AsInt(obj5
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16517 Py_INCREF(Py_None
); resultobj
= Py_None
;
16524 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 PyObject
* obj2
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self",(char *) "width",(char *) "height", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16539 arg2
= (int) SWIG_AsInt(obj1
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16541 arg3
= (int) SWIG_AsInt(obj2
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 Py_INCREF(Py_None
); resultobj
= Py_None
;
16557 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
;
16559 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16562 PyObject
* obj0
= 0 ;
16563 PyObject
* obj1
= 0 ;
16564 PyObject
* obj2
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self",(char *) "x",(char *) "y", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16572 arg2
= (int) SWIG_AsInt(obj1
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16574 arg3
= (int) SWIG_AsInt(obj2
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16583 Py_INCREF(Py_None
); resultobj
= Py_None
;
16590 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16593 int *arg2
= (int *) 0 ;
16594 int *arg3
= (int *) 0 ;
16597 PyObject
* obj0
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 Py_INCREF(Py_None
); resultobj
= Py_None
;
16616 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16617 resultobj
= t_output_helper(resultobj
,o
);
16620 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16621 resultobj
= t_output_helper(resultobj
,o
);
16629 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16632 int *arg2
= (int *) 0 ;
16633 int *arg3
= (int *) 0 ;
16636 PyObject
* obj0
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16653 Py_INCREF(Py_None
); resultobj
= Py_None
;
16655 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16656 resultobj
= t_output_helper(resultobj
,o
);
16659 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16660 resultobj
= t_output_helper(resultobj
,o
);
16668 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16671 int *arg2
= (int *) 0 ;
16672 int *arg3
= (int *) 0 ;
16675 PyObject
* obj0
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 Py_INCREF(Py_None
); resultobj
= Py_None
;
16694 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16695 resultobj
= t_output_helper(resultobj
,o
);
16698 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16699 resultobj
= t_output_helper(resultobj
,o
);
16707 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16708 PyObject
*resultobj
;
16709 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16727 wxSize
* resultptr
;
16728 resultptr
= new wxSize((wxSize
&) result
);
16729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16737 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16741 PyObject
* obj0
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "self", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16757 wxSize
* resultptr
;
16758 resultptr
= new wxSize((wxSize
&) result
);
16759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16767 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16770 PyObject
* obj0
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "self", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 (arg1
)->base_InitDialog();
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 Py_INCREF(Py_None
); resultobj
= Py_None
;
16792 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16796 PyObject
* obj0
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (bool)(arg1
)->base_TransferDataToWindow();
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16820 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
;
16822 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16824 PyObject
* obj0
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "self", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16848 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16852 PyObject
* obj0
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "self", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 result
= (bool)(arg1
)->base_Validate();
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16876 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16880 PyObject
* obj0
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16904 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16905 PyObject
*resultobj
;
16906 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16908 PyObject
* obj0
= 0 ;
16909 char *kwnames
[] = {
16910 (char *) "self", NULL
16913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16932 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16936 PyObject
* obj0
= 0 ;
16937 char *kwnames
[] = {
16938 (char *) "self", NULL
16941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16952 wxSize
* resultptr
;
16953 resultptr
= new wxSize((wxSize
&) result
);
16954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16962 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16965 wxWindow
*arg2
= (wxWindow
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 PyObject
* obj1
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self",(char *) "child", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 (arg1
)->base_AddChild(arg2
);
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16984 Py_INCREF(Py_None
); resultobj
= Py_None
;
16991 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16994 wxWindow
*arg2
= (wxWindow
*) 0 ;
16995 PyObject
* obj0
= 0 ;
16996 PyObject
* obj1
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self",(char *) "child", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 (arg1
)->base_RemoveChild(arg2
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 Py_INCREF(Py_None
); resultobj
= Py_None
;
17020 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (bool)(arg1
)->base_ShouldInheritColours();
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17048 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17051 wxColour
*arg2
= 0 ;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self",(char *) "c", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17064 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17068 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 Py_INCREF(Py_None
); resultobj
= Py_None
;
17080 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
17082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17083 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17085 return Py_BuildValue((char *)"");
17087 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
17088 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17093 static PyObject
*_wrap_PrintoutTitleStr_get() {
17098 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17100 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17107 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
17108 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17113 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17118 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17120 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17127 static PyObject
*_wrap_new_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxPrintData
*result
;
17130 char *kwnames
[] = {
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17137 result
= (wxPrintData
*)new wxPrintData();
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17149 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17152 PyObject
* obj0
= 0 ;
17153 char *kwnames
[] = {
17154 (char *) "self", NULL
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 Py_INCREF(Py_None
); resultobj
= Py_None
;
17174 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17178 PyObject
* obj0
= 0 ;
17179 char *kwnames
[] = {
17180 (char *) "self", NULL
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (int)(arg1
)->GetNoCopies();
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= SWIG_FromInt((int)result
);
17200 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (bool)(arg1
)->GetCollate();
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17228 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17232 PyObject
* obj0
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 result
= (int)(arg1
)->GetOrientation();
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= SWIG_FromInt((int)result
);
17254 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (bool)(arg1
)->Ok();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17282 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17298 result
= (wxString
*) &_result_ref
;
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17308 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17317 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 result
= (bool)(arg1
)->GetColour();
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17345 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= (int)(arg1
)->GetDuplex();
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= SWIG_FromInt((int)result
);
17371 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17375 PyObject
* obj0
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (int)(arg1
)->GetPaperId();
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= SWIG_FromInt((int)result
);
17397 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17401 PyObject
* obj0
= 0 ;
17402 char *kwnames
[] = {
17403 (char *) "self", NULL
17406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17413 result
= (wxSize
*) &_result_ref
;
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17426 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17427 PyObject
*resultobj
;
17428 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17430 PyObject
* obj0
= 0 ;
17431 char *kwnames
[] = {
17432 (char *) "self", NULL
17435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= (int)(arg1
)->GetQuality();
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= SWIG_FromInt((int)result
);
17452 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self",(char *) "v", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17465 arg2
= (int) SWIG_AsInt(obj1
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 (arg1
)->SetNoCopies(arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 Py_INCREF(Py_None
); resultobj
= Py_None
;
17481 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 PyObject
* obj1
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "self",(char *) "flag", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17494 arg2
= (bool) SWIG_AsBool(obj1
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 (arg1
)->SetCollate(arg2
);
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 Py_INCREF(Py_None
); resultobj
= Py_None
;
17510 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17514 PyObject
* obj0
= 0 ;
17515 PyObject
* obj1
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self",(char *) "orient", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17523 arg2
= (int) SWIG_AsInt(obj1
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 (arg1
)->SetOrientation(arg2
);
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 Py_INCREF(Py_None
); resultobj
= Py_None
;
17539 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17542 wxString
*arg2
= 0 ;
17543 bool temp2
= False
;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "name", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17554 arg2
= wxString_in_helper(obj1
);
17555 if (arg2
== NULL
) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 Py_INCREF(Py_None
); resultobj
= Py_None
;
17580 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17584 PyObject
* obj0
= 0 ;
17585 PyObject
* obj1
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self",(char *) "colour", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17593 arg2
= (bool) SWIG_AsBool(obj1
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 (arg1
)->SetColour(arg2
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 Py_INCREF(Py_None
); resultobj
= Py_None
;
17609 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17611 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self",(char *) "duplex", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
17620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17622 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 Py_INCREF(Py_None
); resultobj
= Py_None
;
17638 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17642 PyObject
* obj0
= 0 ;
17643 PyObject
* obj1
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self",(char *) "sizeId", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17651 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17660 Py_INCREF(Py_None
); resultobj
= Py_None
;
17667 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17668 PyObject
*resultobj
;
17669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self",(char *) "sz", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17683 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 Py_INCREF(Py_None
); resultobj
= Py_None
;
17699 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17703 PyObject
* obj0
= 0 ;
17704 PyObject
* obj1
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self",(char *) "quality", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17712 arg2
= (int) SWIG_AsInt(obj1
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 (arg1
)->SetQuality(arg2
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 Py_INCREF(Py_None
); resultobj
= Py_None
;
17728 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17732 PyObject
* obj0
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
17738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
17744 result
= (wxString
*) &_result_ref
;
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17754 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17763 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17767 PyObject
* obj0
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
17779 result
= (wxString
*) &_result_ref
;
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17787 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17789 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17798 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
17814 result
= (wxString
*) &_result_ref
;
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17824 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17833 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
17843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 wxString
const &_result_ref
= (arg1
)->GetFilename();
17849 result
= (wxString
*) &_result_ref
;
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17857 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17859 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17868 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17884 result
= (wxString
*) &_result_ref
;
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17894 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17903 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= (double)(arg1
)->GetPrinterScaleX();
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= SWIG_FromDouble((double)result
);
17929 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 result
= (double)(arg1
)->GetPrinterScaleY();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= SWIG_FromDouble((double)result
);
17955 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (long)(arg1
)->GetPrinterTranslateX();
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17974 resultobj
= SWIG_FromLong((long)result
);
17981 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17983 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= (long)(arg1
)->GetPrinterTranslateY();
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 resultobj
= SWIG_FromLong((long)result
);
18007 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (int)(arg1
)->GetPrintMode();
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_FromInt((int)result
);
18033 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18036 wxString
*arg2
= 0 ;
18037 bool temp2
= False
;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self",(char *) "command", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18048 arg2
= wxString_in_helper(obj1
);
18049 if (arg2
== NULL
) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 Py_INCREF(Py_None
); resultobj
= Py_None
;
18074 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18075 PyObject
*resultobj
;
18076 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18077 wxString
*arg2
= 0 ;
18078 bool temp2
= False
;
18079 PyObject
* obj0
= 0 ;
18080 PyObject
* obj1
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self",(char *) "options", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 arg2
= wxString_in_helper(obj1
);
18090 if (arg2
== NULL
) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 Py_INCREF(Py_None
); resultobj
= Py_None
;
18115 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
;
18117 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18118 wxString
*arg2
= 0 ;
18119 bool temp2
= False
;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self",(char *) "command", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 arg2
= wxString_in_helper(obj1
);
18131 if (arg2
== NULL
) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 Py_INCREF(Py_None
); resultobj
= Py_None
;
18156 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18159 wxString
*arg2
= 0 ;
18160 bool temp2
= False
;
18161 PyObject
* obj0
= 0 ;
18162 PyObject
* obj1
= 0 ;
18163 char *kwnames
[] = {
18164 (char *) "self",(char *) "filename", NULL
18167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18171 arg2
= wxString_in_helper(obj1
);
18172 if (arg2
== NULL
) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 (arg1
)->SetFilename((wxString
const &)*arg2
);
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 Py_INCREF(Py_None
); resultobj
= Py_None
;
18197 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18200 wxString
*arg2
= 0 ;
18201 bool temp2
= False
;
18202 PyObject
* obj0
= 0 ;
18203 PyObject
* obj1
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "self",(char *) "path", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18212 arg2
= wxString_in_helper(obj1
);
18213 if (arg2
== NULL
) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 Py_INCREF(Py_None
); resultobj
= Py_None
;
18238 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
;
18240 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18242 PyObject
* obj0
= 0 ;
18243 PyObject
* obj1
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self",(char *) "x", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18251 arg2
= (double) SWIG_AsDouble(obj1
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 (arg1
)->SetPrinterScaleX(arg2
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 Py_INCREF(Py_None
); resultobj
= Py_None
;
18267 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 PyObject
* obj1
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self",(char *) "y", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18280 arg2
= (double) SWIG_AsDouble(obj1
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 (arg1
)->SetPrinterScaleY(arg2
);
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 Py_INCREF(Py_None
); resultobj
= Py_None
;
18296 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 PyObject
* obj2
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self",(char *) "x",(char *) "y", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18311 arg2
= (double) SWIG_AsDouble(obj1
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18313 arg3
= (double) SWIG_AsDouble(obj2
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 Py_INCREF(Py_None
); resultobj
= Py_None
;
18329 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 char *kwnames
[] = {
18336 (char *) "self",(char *) "x", NULL
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18342 arg2
= (long) SWIG_AsLong(obj1
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 (arg1
)->SetPrinterTranslateX(arg2
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 Py_INCREF(Py_None
); resultobj
= Py_None
;
18358 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18362 PyObject
* obj0
= 0 ;
18363 PyObject
* obj1
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self",(char *) "y", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18371 arg2
= (long) SWIG_AsLong(obj1
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 (arg1
)->SetPrinterTranslateY(arg2
);
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 Py_INCREF(Py_None
); resultobj
= Py_None
;
18387 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 PyObject
* obj2
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self",(char *) "x",(char *) "y", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18402 arg2
= (long) SWIG_AsLong(obj1
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18404 arg3
= (long) SWIG_AsLong(obj2
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 Py_INCREF(Py_None
); resultobj
= Py_None
;
18420 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 PyObject
* obj1
= 0 ;
18426 char *kwnames
[] = {
18427 (char *) "self",(char *) "printMode", NULL
18430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18433 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 Py_INCREF(Py_None
); resultobj
= Py_None
;
18449 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
;
18451 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18452 wxOutputStream
*result
;
18453 PyObject
* obj0
= 0 ;
18454 char *kwnames
[] = {
18455 (char *) "self", NULL
18458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18475 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18477 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18478 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18479 PyObject
* obj0
= 0 ;
18480 PyObject
* obj1
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "self",(char *) "outputstream", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 (arg1
)->SetOutputStream(arg2
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 Py_INCREF(Py_None
); resultobj
= Py_None
;
18504 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
18506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18507 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18509 return Py_BuildValue((char *)"");
18511 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxPageSetupDialogData
*result
;
18514 char *kwnames
[] = {
18518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18533 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
;
18535 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18536 PyObject
* obj0
= 0 ;
18537 char *kwnames
[] = {
18538 (char *) "self", NULL
18541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 Py_INCREF(Py_None
); resultobj
= Py_None
;
18558 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18562 PyObject
* obj0
= 0 ;
18563 PyObject
* obj1
= 0 ;
18564 char *kwnames
[] = {
18565 (char *) "self",(char *) "flag", NULL
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18571 arg2
= (bool) SWIG_AsBool(obj1
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 (arg1
)->EnableHelp(arg2
);
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 Py_INCREF(Py_None
); resultobj
= Py_None
;
18587 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
;
18589 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18591 PyObject
* obj0
= 0 ;
18592 PyObject
* obj1
= 0 ;
18593 char *kwnames
[] = {
18594 (char *) "self",(char *) "flag", NULL
18597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18600 arg2
= (bool) SWIG_AsBool(obj1
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 (arg1
)->EnableMargins(arg2
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 Py_INCREF(Py_None
); resultobj
= Py_None
;
18616 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
;
18618 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self",(char *) "flag", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18629 arg2
= (bool) SWIG_AsBool(obj1
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 (arg1
)->EnableOrientation(arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 Py_INCREF(Py_None
); resultobj
= Py_None
;
18645 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18647 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 PyObject
* obj1
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self",(char *) "flag", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18658 arg2
= (bool) SWIG_AsBool(obj1
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 (arg1
)->EnablePaper(arg2
);
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 Py_INCREF(Py_None
); resultobj
= Py_None
;
18674 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 PyObject
* obj1
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self",(char *) "flag", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18687 arg2
= (bool) SWIG_AsBool(obj1
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 (arg1
)->EnablePrinter(arg2
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 Py_INCREF(Py_None
); resultobj
= Py_None
;
18703 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18707 PyObject
* obj0
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 result
= (bool)(arg1
)->GetDefaultMinMargins();
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18731 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
18741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (bool)(arg1
)->GetEnableMargins();
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18759 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
18769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (bool)(arg1
)->GetEnableOrientation();
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18787 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
;
18789 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18791 PyObject
* obj0
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
18797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 result
= (bool)(arg1
)->GetEnablePaper();
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18815 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
18825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= (bool)(arg1
)->GetEnablePrinter();
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18843 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (bool)(arg1
)->GetEnableHelp();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18871 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
18881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (bool)(arg1
)->GetDefaultInfo();
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18899 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (arg1
)->GetMarginTopLeft();
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18919 wxPoint
* resultptr
;
18920 resultptr
= new wxPoint((wxPoint
&) result
);
18921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18929 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
;
18931 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18933 PyObject
* obj0
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (arg1
)->GetMarginBottomRight();
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18949 wxPoint
* resultptr
;
18950 resultptr
= new wxPoint((wxPoint
&) result
);
18951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18959 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18960 PyObject
*resultobj
;
18961 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 result
= (arg1
)->GetMinMarginTopLeft();
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18979 wxPoint
* resultptr
;
18980 resultptr
= new wxPoint((wxPoint
&) result
);
18981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18989 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
;
18991 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 result
= (arg1
)->GetMinMarginBottomRight();
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19009 wxPoint
* resultptr
;
19010 resultptr
= new wxPoint((wxPoint
&) result
);
19011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19019 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 result
= (int)(arg1
)->GetPaperId();
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= SWIG_FromInt((int)result
);
19045 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (arg1
)->GetPaperSize();
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19065 wxSize
* resultptr
;
19066 resultptr
= new wxSize((wxSize
&) result
);
19067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19075 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19078 wxPrintData
*result
;
19079 PyObject
* obj0
= 0 ;
19080 char *kwnames
[] = {
19081 (char *) "self", NULL
19084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19091 result
= (wxPrintData
*) &_result_ref
;
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19104 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
;
19106 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19108 PyObject
* obj0
= 0 ;
19109 char *kwnames
[] = {
19110 (char *) "self", NULL
19113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 result
= (bool)(arg1
)->Ok();
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19132 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19136 PyObject
* obj0
= 0 ;
19137 PyObject
* obj1
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self",(char *) "flag", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19145 arg2
= (bool) SWIG_AsBool(obj1
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 (arg1
)->SetDefaultInfo(arg2
);
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19154 Py_INCREF(Py_None
); resultobj
= Py_None
;
19161 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
;
19163 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19165 PyObject
* obj0
= 0 ;
19166 PyObject
* obj1
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self",(char *) "flag", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19174 arg2
= (bool) SWIG_AsBool(obj1
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 (arg1
)->SetDefaultMinMargins(arg2
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 Py_INCREF(Py_None
); resultobj
= Py_None
;
19190 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19193 wxPoint
*arg2
= 0 ;
19195 PyObject
* obj0
= 0 ;
19196 PyObject
* obj1
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self",(char *) "pt", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19206 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19210 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 Py_INCREF(Py_None
); resultobj
= Py_None
;
19222 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
;
19224 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19225 wxPoint
*arg2
= 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self",(char *) "pt", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19238 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 Py_INCREF(Py_None
); resultobj
= Py_None
;
19254 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19257 wxPoint
*arg2
= 0 ;
19259 PyObject
* obj0
= 0 ;
19260 PyObject
* obj1
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self",(char *) "pt", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19270 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 Py_INCREF(Py_None
); resultobj
= Py_None
;
19286 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19289 wxPoint
*arg2
= 0 ;
19291 PyObject
* obj0
= 0 ;
19292 PyObject
* obj1
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "self",(char *) "pt", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19302 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 Py_INCREF(Py_None
); resultobj
= Py_None
;
19318 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self",(char *) "id", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19331 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 Py_INCREF(Py_None
); resultobj
= Py_None
;
19347 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19352 PyObject
* obj0
= 0 ;
19353 PyObject
* obj1
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self",(char *) "size", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19363 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 Py_INCREF(Py_None
); resultobj
= Py_None
;
19379 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19382 wxPrintData
*arg2
= 0 ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "self",(char *) "printData", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19395 if (arg2
== NULL
) {
19396 PyErr_SetString(PyExc_TypeError
,"null reference");
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19406 Py_INCREF(Py_None
); resultobj
= Py_None
;
19413 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
19415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19416 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19418 return Py_BuildValue((char *)"");
19420 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19421 PyObject
*resultobj
;
19422 wxWindow
*arg1
= (wxWindow
*) 0 ;
19423 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19424 wxPageSetupDialog
*result
;
19425 PyObject
* obj0
= 0 ;
19426 PyObject
* obj1
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "parent",(char *) "data", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19452 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19455 wxPageSetupDialogData
*result
;
19456 PyObject
* obj0
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19468 result
= (wxPageSetupDialogData
*) &_result_ref
;
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19481 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19483 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19485 PyObject
* obj0
= 0 ;
19486 char *kwnames
[] = {
19487 (char *) "self", NULL
19490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 result
= (int)(arg1
)->ShowModal();
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= SWIG_FromInt((int)result
);
19507 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
19509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19510 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19512 return Py_BuildValue((char *)"");
19514 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19515 PyObject
*resultobj
;
19516 wxPrintDialogData
*result
;
19518 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19533 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19534 PyObject
*resultobj
;
19535 wxPrintData
*arg1
= 0 ;
19536 wxPrintDialogData
*result
;
19537 PyObject
* obj0
= 0 ;
19539 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19543 if (arg1
== NULL
) {
19544 PyErr_SetString(PyExc_TypeError
,"null reference");
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19561 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19566 argc
= PyObject_Length(args
);
19567 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19568 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19571 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19577 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
19585 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
19589 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
19594 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19597 PyObject
* obj0
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
19603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19612 Py_INCREF(Py_None
); resultobj
= Py_None
;
19619 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19621 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19638 resultobj
= SWIG_FromInt((int)result
);
19645 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= SWIG_FromInt((int)result
);
19671 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19675 PyObject
* obj0
= 0 ;
19676 char *kwnames
[] = {
19677 (char *) "self", NULL
19680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= SWIG_FromInt((int)result
);
19697 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_FromInt((int)result
);
19723 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19742 resultobj
= SWIG_FromInt((int)result
);
19749 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
;
19751 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19753 PyObject
* obj0
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19777 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
19787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19805 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19833 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19861 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19889 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 char *kwnames
[] = {
19896 (char *) "self",(char *) "v", NULL
19899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 arg2
= (int) SWIG_AsInt(obj1
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 (arg1
)->SetFromPage(arg2
);
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19911 Py_INCREF(Py_None
); resultobj
= Py_None
;
19918 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19922 PyObject
* obj0
= 0 ;
19923 PyObject
* obj1
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "self",(char *) "v", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19931 arg2
= (int) SWIG_AsInt(obj1
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 (arg1
)->SetToPage(arg2
);
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19940 Py_INCREF(Py_None
); resultobj
= Py_None
;
19947 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19949 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self",(char *) "v", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19960 arg2
= (int) SWIG_AsInt(obj1
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 (arg1
)->SetMinPage(arg2
);
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 Py_INCREF(Py_None
); resultobj
= Py_None
;
19976 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "v", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19989 arg2
= (int) SWIG_AsInt(obj1
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 (arg1
)->SetMaxPage(arg2
);
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 Py_INCREF(Py_None
); resultobj
= Py_None
;
20005 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20007 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20011 char *kwnames
[] = {
20012 (char *) "self",(char *) "v", NULL
20015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20018 arg2
= (int) SWIG_AsInt(obj1
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 (arg1
)->SetNoCopies(arg2
);
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 Py_INCREF(Py_None
); resultobj
= Py_None
;
20034 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self",(char *) "flag", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20047 arg2
= (bool) SWIG_AsBool(obj1
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 (arg1
)->SetAllPages(arg2
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 Py_INCREF(Py_None
); resultobj
= Py_None
;
20063 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 PyObject
* obj1
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self",(char *) "flag", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 arg2
= (bool) SWIG_AsBool(obj1
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 (arg1
)->SetSelection(arg2
);
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 Py_INCREF(Py_None
); resultobj
= Py_None
;
20092 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self",(char *) "flag", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20105 arg2
= (bool) SWIG_AsBool(obj1
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 (arg1
)->SetCollate(arg2
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 Py_INCREF(Py_None
); resultobj
= Py_None
;
20121 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self",(char *) "flag", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20134 arg2
= (bool) SWIG_AsBool(obj1
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 (arg1
)->SetPrintToFile(arg2
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 Py_INCREF(Py_None
); resultobj
= Py_None
;
20150 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
;
20152 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20154 PyObject
* obj0
= 0 ;
20155 PyObject
* obj1
= 0 ;
20156 char *kwnames
[] = {
20157 (char *) "self",(char *) "flag", NULL
20160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20163 arg2
= (bool) SWIG_AsBool(obj1
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 (arg1
)->SetSetupDialog(arg2
);
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 Py_INCREF(Py_None
); resultobj
= Py_None
;
20179 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
;
20181 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20183 PyObject
* obj0
= 0 ;
20184 PyObject
* obj1
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self",(char *) "flag", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20192 arg2
= (bool) SWIG_AsBool(obj1
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 (arg1
)->EnablePrintToFile(arg2
);
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 Py_INCREF(Py_None
); resultobj
= Py_None
;
20208 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self",(char *) "flag", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 arg2
= (bool) SWIG_AsBool(obj1
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 (arg1
)->EnableSelection(arg2
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20230 Py_INCREF(Py_None
); resultobj
= Py_None
;
20237 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20238 PyObject
*resultobj
;
20239 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20241 PyObject
* obj0
= 0 ;
20242 PyObject
* obj1
= 0 ;
20243 char *kwnames
[] = {
20244 (char *) "self",(char *) "flag", NULL
20247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20250 arg2
= (bool) SWIG_AsBool(obj1
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->EnablePageNumbers(arg2
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 Py_INCREF(Py_None
); resultobj
= Py_None
;
20266 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
;
20268 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20270 PyObject
* obj0
= 0 ;
20271 PyObject
* obj1
= 0 ;
20272 char *kwnames
[] = {
20273 (char *) "self",(char *) "flag", NULL
20276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20279 arg2
= (bool) SWIG_AsBool(obj1
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 (arg1
)->EnableHelp(arg2
);
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 Py_INCREF(Py_None
); resultobj
= Py_None
;
20295 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
;
20297 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20299 PyObject
* obj0
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "self", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20323 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20327 PyObject
* obj0
= 0 ;
20328 char *kwnames
[] = {
20329 (char *) "self", NULL
20332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20351 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20355 PyObject
* obj0
= 0 ;
20356 char *kwnames
[] = {
20357 (char *) "self", NULL
20360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20379 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20383 PyObject
* obj0
= 0 ;
20384 char *kwnames
[] = {
20385 (char *) "self", NULL
20388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20407 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
;
20409 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20411 PyObject
* obj0
= 0 ;
20412 char *kwnames
[] = {
20413 (char *) "self", NULL
20416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20435 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20437 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20438 wxPrintData
*result
;
20439 PyObject
* obj0
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20451 result
= (wxPrintData
*) &_result_ref
;
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20464 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
;
20466 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20467 wxPrintData
*arg2
= 0 ;
20468 PyObject
* obj0
= 0 ;
20469 PyObject
* obj1
= 0 ;
20470 char *kwnames
[] = {
20471 (char *) "self",(char *) "printData", NULL
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20480 if (arg2
== NULL
) {
20481 PyErr_SetString(PyExc_TypeError
,"null reference");
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
20500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20501 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20503 return Py_BuildValue((char *)"");
20505 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxWindow
*arg1
= (wxWindow
*) 0 ;
20508 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20509 wxPrintDialog
*result
;
20510 PyObject
* obj0
= 0 ;
20511 PyObject
* obj1
= 0 ;
20512 char *kwnames
[] = {
20513 (char *) "parent",(char *) "data", NULL
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20537 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20539 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20540 wxPrintDialogData
*result
;
20541 PyObject
* obj0
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20553 result
= (wxPrintDialogData
*) &_result_ref
;
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20566 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
;
20568 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "self", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= (wxDC
*)(arg1
)->GetPrintDC();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= wxPyMake_wxObject(result
);
20594 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
;
20596 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 char *kwnames
[] = {
20600 (char *) "self", NULL
20603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= (int)(arg1
)->ShowModal();
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= SWIG_FromInt((int)result
);
20620 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
20622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20623 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
20625 return Py_BuildValue((char *)"");
20627 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20628 PyObject
*resultobj
;
20629 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20631 PyObject
* obj0
= 0 ;
20632 char *kwnames
[] = {
20633 (char *) "data", NULL
20636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 result
= (wxPrinter
*)new wxPrinter(arg1
);
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20655 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20658 PyObject
* obj0
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 Py_INCREF(Py_None
); resultobj
= Py_None
;
20680 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20683 wxWindow
*arg2
= (wxWindow
*) 0 ;
20684 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20685 PyObject
* obj0
= 0 ;
20686 PyObject
* obj1
= 0 ;
20687 PyObject
* obj2
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "self",(char *) "parent",(char *) "printout", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20697 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 (arg1
)->CreateAbortWindow(arg2
,arg3
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 Py_INCREF(Py_None
); resultobj
= Py_None
;
20713 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20716 wxPrintDialogData
*result
;
20717 PyObject
* obj0
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "self", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20729 result
= (wxPrintDialogData
*) &_result_ref
;
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20742 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
;
20744 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20745 wxWindow
*arg2
= (wxWindow
*) 0 ;
20746 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20747 int arg4
= (int) True
;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20751 PyObject
* obj2
= 0 ;
20752 PyObject
* obj3
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20762 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20765 arg4
= (int) SWIG_AsInt(obj3
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20784 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20787 wxWindow
*arg2
= (wxWindow
*) 0 ;
20789 PyObject
* obj0
= 0 ;
20790 PyObject
* obj1
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self",(char *) "parent", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= wxPyMake_wxObject(result
);
20816 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20819 wxWindow
*arg2
= (wxWindow
*) 0 ;
20820 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20821 wxString
*arg4
= 0 ;
20822 bool temp4
= False
;
20823 PyObject
* obj0
= 0 ;
20824 PyObject
* obj1
= 0 ;
20825 PyObject
* obj2
= 0 ;
20826 PyObject
* obj3
= 0 ;
20827 char *kwnames
[] = {
20828 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20836 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20839 arg4
= wxString_in_helper(obj3
);
20840 if (arg4
== NULL
) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 Py_INCREF(Py_None
); resultobj
= Py_None
;
20865 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
;
20867 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20868 wxWindow
*arg2
= (wxWindow
*) 0 ;
20870 PyObject
* obj0
= 0 ;
20871 PyObject
* obj1
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self",(char *) "parent", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
20877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= (bool)(arg1
)->Setup(arg2
);
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20897 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20901 PyObject
* obj0
= 0 ;
20902 char *kwnames
[] = {
20903 (char *) "self", NULL
20906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
20907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (bool)(arg1
)->GetAbort();
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20925 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20928 char *kwnames
[] = {
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 result
= (int)wxPrinter::GetLastError();
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 resultobj
= SWIG_FromInt((int)result
);
20947 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
20949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20950 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
20952 return Py_BuildValue((char *)"");
20954 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20956 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
20957 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
20958 wxPyPrintout
*result
;
20959 bool temp1
= False
;
20960 PyObject
* obj0
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "title", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
20968 arg1
= wxString_in_helper(obj0
);
20969 if (arg1
== NULL
) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= wxPyMake_wxObject(result
);
20997 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
;
20999 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21000 PyObject
*arg2
= (PyObject
*) 0 ;
21001 PyObject
*arg3
= (PyObject
*) 0 ;
21002 PyObject
* obj0
= 0 ;
21003 PyObject
* obj1
= 0 ;
21004 PyObject
* obj2
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self",(char *) "self",(char *) "_class", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 Py_INCREF(Py_None
); resultobj
= Py_None
;
21028 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
;
21030 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21032 PyObject
* obj0
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21060 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21062 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21064 PyObject
* obj0
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= (wxDC
*)(arg1
)->GetDC();
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21080 resultobj
= wxPyMake_wxObject(result
);
21088 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21090 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21091 wxDC
*arg2
= (wxDC
*) 0 ;
21092 PyObject
* obj0
= 0 ;
21093 PyObject
* obj1
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self",(char *) "dc", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 (arg1
)->SetDC(arg2
);
21107 wxPyEndAllowThreads(__tstate
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21110 Py_INCREF(Py_None
); resultobj
= Py_None
;
21117 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21118 PyObject
*resultobj
;
21119 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21122 PyObject
* obj0
= 0 ;
21123 PyObject
* obj1
= 0 ;
21124 PyObject
* obj2
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self",(char *) "w",(char *) "h", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21132 arg2
= (int) SWIG_AsInt(obj1
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21134 arg3
= (int) SWIG_AsInt(obj2
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21143 Py_INCREF(Py_None
); resultobj
= Py_None
;
21150 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21153 int *arg2
= (int *) 0 ;
21154 int *arg3
= (int *) 0 ;
21157 PyObject
* obj0
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "self", NULL
21164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 Py_INCREF(Py_None
); resultobj
= Py_None
;
21176 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21177 resultobj
= t_output_helper(resultobj
,o
);
21180 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21181 resultobj
= t_output_helper(resultobj
,o
);
21189 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 PyObject
* obj2
= 0 ;
21197 char *kwnames
[] = {
21198 (char *) "self",(char *) "w",(char *) "h", NULL
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21204 arg2
= (int) SWIG_AsInt(obj1
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21206 arg3
= (int) SWIG_AsInt(obj2
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 Py_INCREF(Py_None
); resultobj
= Py_None
;
21222 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21225 int *arg2
= (int *) 0 ;
21226 int *arg3
= (int *) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 Py_INCREF(Py_None
); resultobj
= Py_None
;
21248 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21249 resultobj
= t_output_helper(resultobj
,o
);
21252 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21253 resultobj
= t_output_helper(resultobj
,o
);
21261 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21266 PyObject
* obj0
= 0 ;
21267 PyObject
* obj1
= 0 ;
21268 PyObject
* obj2
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self",(char *) "x",(char *) "y", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21276 arg2
= (int) SWIG_AsInt(obj1
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21278 arg3
= (int) SWIG_AsInt(obj2
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 (arg1
)->SetPPIScreen(arg2
,arg3
);
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 Py_INCREF(Py_None
); resultobj
= Py_None
;
21294 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21296 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21297 int *arg2
= (int *) 0 ;
21298 int *arg3
= (int *) 0 ;
21301 PyObject
* obj0
= 0 ;
21302 char *kwnames
[] = {
21303 (char *) "self", NULL
21308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 (arg1
)->GetPPIScreen(arg2
,arg3
);
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21318 Py_INCREF(Py_None
); resultobj
= Py_None
;
21320 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21321 resultobj
= t_output_helper(resultobj
,o
);
21324 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21325 resultobj
= t_output_helper(resultobj
,o
);
21333 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
;
21335 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 PyObject
* obj2
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self",(char *) "x",(char *) "y", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21348 arg2
= (int) SWIG_AsInt(obj1
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21350 arg3
= (int) SWIG_AsInt(obj2
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 Py_INCREF(Py_None
); resultobj
= Py_None
;
21366 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21369 int *arg2
= (int *) 0 ;
21370 int *arg3
= (int *) 0 ;
21373 PyObject
* obj0
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "self", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 Py_INCREF(Py_None
); resultobj
= Py_None
;
21392 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21393 resultobj
= t_output_helper(resultobj
,o
);
21396 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21397 resultobj
= t_output_helper(resultobj
,o
);
21405 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21407 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "self", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 result
= (bool)(arg1
)->IsPreview();
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21433 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
;
21435 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21437 PyObject
* obj0
= 0 ;
21438 PyObject
* obj1
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self",(char *) "p", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21446 arg2
= (bool) SWIG_AsBool(obj1
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 (arg1
)->SetIsPreview(arg2
);
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 Py_INCREF(Py_None
); resultobj
= Py_None
;
21462 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 PyObject
* obj2
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21478 arg2
= (int) SWIG_AsInt(obj1
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21480 arg3
= (int) SWIG_AsInt(obj2
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21498 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21501 PyObject
* obj0
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 (arg1
)->base_OnEndDocument();
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 Py_INCREF(Py_None
); resultobj
= Py_None
;
21523 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "self", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 (arg1
)->base_OnBeginPrinting();
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 Py_INCREF(Py_None
); resultobj
= Py_None
;
21548 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21551 PyObject
* obj0
= 0 ;
21552 char *kwnames
[] = {
21553 (char *) "self", NULL
21556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 (arg1
)->base_OnEndPrinting();
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 Py_INCREF(Py_None
); resultobj
= Py_None
;
21573 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21576 PyObject
* obj0
= 0 ;
21577 char *kwnames
[] = {
21578 (char *) "self", NULL
21581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
21582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 (arg1
)->base_OnPreparePrinting();
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 Py_INCREF(Py_None
); resultobj
= Py_None
;
21598 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 PyObject
* obj1
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self",(char *) "page", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 arg2
= (int) SWIG_AsInt(obj1
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= (bool)(arg1
)->base_HasPage(arg2
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21630 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21631 PyObject
*resultobj
;
21632 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21633 int *arg2
= (int *) 0 ;
21634 int *arg3
= (int *) 0 ;
21635 int *arg4
= (int *) 0 ;
21636 int *arg5
= (int *) 0 ;
21641 PyObject
* obj0
= 0 ;
21642 char *kwnames
[] = {
21643 (char *) "self", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 Py_INCREF(Py_None
); resultobj
= Py_None
;
21662 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21663 resultobj
= t_output_helper(resultobj
,o
);
21666 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21667 resultobj
= t_output_helper(resultobj
,o
);
21670 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21671 resultobj
= t_output_helper(resultobj
,o
);
21674 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21675 resultobj
= t_output_helper(resultobj
,o
);
21683 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
21685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21686 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
21688 return Py_BuildValue((char *)"");
21690 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21691 PyObject
*resultobj
;
21692 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21693 wxWindow
*arg2
= (wxWindow
*) 0 ;
21694 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21695 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21696 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21697 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21698 long arg5
= (long) 0 ;
21699 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
21700 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21701 wxPreviewCanvas
*result
;
21704 bool temp6
= False
;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 PyObject
* obj2
= 0 ;
21708 PyObject
* obj3
= 0 ;
21709 PyObject
* obj4
= 0 ;
21710 PyObject
* obj5
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21723 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21729 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21733 arg5
= (long) SWIG_AsLong(obj4
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21738 arg6
= wxString_in_helper(obj5
);
21739 if (arg6
== NULL
) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
21765 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
21767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21768 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
21770 return Py_BuildValue((char *)"");
21772 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21774 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21775 wxFrame
*arg2
= (wxFrame
*) 0 ;
21776 wxString
*arg3
= 0 ;
21777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21781 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21782 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21784 wxPreviewFrame
*result
;
21785 bool temp3
= False
;
21788 bool temp7
= False
;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 PyObject
* obj2
= 0 ;
21792 PyObject
* obj3
= 0 ;
21793 PyObject
* obj4
= 0 ;
21794 PyObject
* obj5
= 0 ;
21795 PyObject
* obj6
= 0 ;
21796 char *kwnames
[] = {
21797 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21806 arg3
= wxString_in_helper(obj2
);
21807 if (arg3
== NULL
) SWIG_fail
;
21813 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21819 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21823 arg6
= (long) SWIG_AsLong(obj5
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21828 arg7
= wxString_in_helper(obj6
);
21829 if (arg7
== NULL
) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
21863 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
;
21865 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21866 PyObject
* obj0
= 0 ;
21867 char *kwnames
[] = {
21868 (char *) "self", NULL
21871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
21872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 (arg1
)->Initialize();
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 Py_INCREF(Py_None
); resultobj
= Py_None
;
21888 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21891 PyObject
* obj0
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
21897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 (arg1
)->CreateControlBar();
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 Py_INCREF(Py_None
); resultobj
= Py_None
;
21913 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21916 PyObject
* obj0
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 (arg1
)->CreateCanvas();
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 Py_INCREF(Py_None
); resultobj
= Py_None
;
21938 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
;
21940 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21941 wxPreviewControlBar
*result
;
21942 PyObject
* obj0
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "self", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
21948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
21964 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
21966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21967 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
21969 return Py_BuildValue((char *)"");
21971 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21975 wxWindow
*arg3
= (wxWindow
*) 0 ;
21976 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21977 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21978 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21979 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21980 long arg6
= (long) wxTAB_TRAVERSAL
;
21981 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21982 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21983 wxPreviewControlBar
*result
;
21986 bool temp7
= False
;
21987 PyObject
* obj0
= 0 ;
21988 PyObject
* obj1
= 0 ;
21989 PyObject
* obj2
= 0 ;
21990 PyObject
* obj3
= 0 ;
21991 PyObject
* obj4
= 0 ;
21992 PyObject
* obj5
= 0 ;
21993 PyObject
* obj6
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22001 arg2
= (long) SWIG_AsLong(obj1
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22003 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22018 arg6
= (long) SWIG_AsLong(obj5
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22023 arg7
= wxString_in_helper(obj6
);
22024 if (arg7
== NULL
) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22050 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= (int)(arg1
)->GetZoomControl();
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= SWIG_FromInt((int)result
);
22076 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self",(char *) "zoom", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22089 arg2
= (int) SWIG_AsInt(obj1
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->SetZoomControl(arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22108 wxPrintPreview
*result
;
22109 PyObject
* obj0
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22131 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22134 PyObject
* obj0
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 Py_INCREF(Py_None
); resultobj
= Py_None
;
22156 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22159 PyObject
* obj0
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 (arg1
)->OnPrevious();
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 Py_INCREF(Py_None
); resultobj
= Py_None
;
22181 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22182 PyObject
*resultobj
;
22183 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22184 PyObject
* obj0
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 wxPyEndAllowThreads(__tstate
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22199 Py_INCREF(Py_None
); resultobj
= Py_None
;
22206 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22209 PyObject
* obj0
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 Py_INCREF(Py_None
); resultobj
= Py_None
;
22231 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
;
22233 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 Py_INCREF(Py_None
); resultobj
= Py_None
;
22256 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
22258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22259 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22261 return Py_BuildValue((char *)"");
22263 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
22264 PyObject
*resultobj
;
22265 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22266 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22267 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22268 wxPrintPreview
*result
;
22269 PyObject
* obj0
= 0 ;
22270 PyObject
* obj1
= 0 ;
22271 PyObject
* obj2
= 0 ;
22273 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22279 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22296 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
22297 PyObject
*resultobj
;
22298 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22299 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22300 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22301 wxPrintPreview
*result
;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 PyObject
* obj2
= 0 ;
22306 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22327 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22332 argc
= PyObject_Length(args
);
22333 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22334 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22336 if ((argc
>= 2) && (argc
<= 3)) {
22340 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22350 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22359 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22363 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22371 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22380 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22390 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22400 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22408 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22414 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22419 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22424 PyObject
* obj0
= 0 ;
22425 PyObject
* obj1
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self",(char *) "pageNum", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22433 arg2
= (int) SWIG_AsInt(obj1
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22451 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22455 PyObject
* obj0
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 result
= (int)(arg1
)->GetCurrentPage();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 resultobj
= SWIG_FromInt((int)result
);
22477 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
;
22479 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22480 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 char *kwnames
[] = {
22484 (char *) "self",(char *) "printout", NULL
22487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 (arg1
)->SetPrintout(arg2
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 Py_INCREF(Py_None
); resultobj
= Py_None
;
22506 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22509 wxPyPrintout
*result
;
22510 PyObject
* obj0
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= wxPyMake_wxObject(result
);
22534 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22535 PyObject
*resultobj
;
22536 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22537 wxPyPrintout
*result
;
22538 PyObject
* obj0
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22554 resultobj
= wxPyMake_wxObject(result
);
22562 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
;
22564 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22565 wxFrame
*arg2
= (wxFrame
*) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 char *kwnames
[] = {
22569 (char *) "self",(char *) "frame", NULL
22572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 (arg1
)->SetFrame(arg2
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 Py_INCREF(Py_None
); resultobj
= Py_None
;
22591 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22592 PyObject
*resultobj
;
22593 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22594 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22595 PyObject
* obj0
= 0 ;
22596 PyObject
* obj1
= 0 ;
22597 char *kwnames
[] = {
22598 (char *) "self",(char *) "canvas", NULL
22601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 (arg1
)->SetCanvas(arg2
);
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 Py_INCREF(Py_None
); resultobj
= Py_None
;
22620 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22621 PyObject
*resultobj
;
22622 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22624 PyObject
* obj0
= 0 ;
22625 char *kwnames
[] = {
22626 (char *) "self", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 result
= (wxFrame
*)(arg1
)->GetFrame();
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22640 resultobj
= wxPyMake_wxObject(result
);
22648 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22649 PyObject
*resultobj
;
22650 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22651 wxPreviewCanvas
*result
;
22652 PyObject
* obj0
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "self", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22674 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
;
22676 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22677 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22680 PyObject
* obj0
= 0 ;
22681 PyObject
* obj1
= 0 ;
22682 PyObject
* obj2
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22692 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22695 if (arg3
== NULL
) {
22696 PyErr_SetString(PyExc_TypeError
,"null reference");
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22715 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
;
22717 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22718 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22721 PyObject
* obj0
= 0 ;
22722 PyObject
* obj1
= 0 ;
22723 PyObject
* obj2
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22733 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22736 if (arg3
== NULL
) {
22737 PyErr_SetString(PyExc_TypeError
,"null reference");
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22756 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self",(char *) "pageNum", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22770 arg2
= (int) SWIG_AsInt(obj1
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= (bool)(arg1
)->RenderPage(arg2
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22788 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22791 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self",(char *) "canvas", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
22799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 (arg1
)->AdjustScrollbars(arg2
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 Py_INCREF(Py_None
); resultobj
= Py_None
;
22817 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22820 wxPrintDialogData
*result
;
22821 PyObject
* obj0
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "self", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22833 result
= (wxPrintDialogData
*) &_result_ref
;
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22846 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22848 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22850 PyObject
* obj0
= 0 ;
22851 PyObject
* obj1
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self",(char *) "percent", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22859 arg2
= (int) SWIG_AsInt(obj1
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 (arg1
)->SetZoom(arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 Py_INCREF(Py_None
); resultobj
= Py_None
;
22875 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
22885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 result
= (int)(arg1
)->GetZoom();
22891 wxPyEndAllowThreads(__tstate
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22894 resultobj
= SWIG_FromInt((int)result
);
22901 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22902 PyObject
*resultobj
;
22903 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22905 PyObject
* obj0
= 0 ;
22906 char *kwnames
[] = {
22907 (char *) "self", NULL
22910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
22911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= (int)(arg1
)->GetMaxPage();
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 resultobj
= SWIG_FromInt((int)result
);
22927 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
;
22929 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22931 PyObject
* obj0
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
22937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 result
= (int)(arg1
)->GetMinPage();
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 resultobj
= SWIG_FromInt((int)result
);
22953 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (bool)(arg1
)->Ok();
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22981 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self",(char *) "ok", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
22992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22994 arg2
= (bool) SWIG_AsBool(obj1
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 (arg1
)->SetOk(arg2
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 Py_INCREF(Py_None
); resultobj
= Py_None
;
23010 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23015 PyObject
* obj0
= 0 ;
23016 PyObject
* obj1
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self",(char *) "interactive", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23024 arg2
= (bool) SWIG_AsBool(obj1
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 result
= (bool)(arg1
)->Print(arg2
);
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23042 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
;
23044 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23045 PyObject
* obj0
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "self", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 (arg1
)->DetermineScaling();
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 Py_INCREF(Py_None
); resultobj
= Py_None
;
23067 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
23069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23070 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23072 return Py_BuildValue((char *)"");
23074 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23075 PyObject
*resultobj
;
23076 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23077 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23078 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23079 wxPyPrintPreview
*result
;
23080 PyObject
* obj0
= 0 ;
23081 PyObject
* obj1
= 0 ;
23082 PyObject
* obj2
= 0 ;
23084 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23090 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23095 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23107 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23108 PyObject
*resultobj
;
23109 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23110 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23111 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23112 wxPyPrintPreview
*result
;
23113 PyObject
* obj0
= 0 ;
23114 PyObject
* obj1
= 0 ;
23115 PyObject
* obj2
= 0 ;
23117 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23122 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23138 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23143 argc
= PyObject_Length(args
);
23144 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23145 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23147 if ((argc
>= 2) && (argc
<= 3)) {
23151 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23161 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23170 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23174 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23182 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23191 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23201 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23211 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23219 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23225 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23230 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23232 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23233 PyObject
*arg2
= (PyObject
*) 0 ;
23234 PyObject
*arg3
= (PyObject
*) 0 ;
23235 PyObject
* obj0
= 0 ;
23236 PyObject
* obj1
= 0 ;
23237 PyObject
* obj2
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self",(char *) "self",(char *) "_class", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23254 Py_INCREF(Py_None
); resultobj
= Py_None
;
23261 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
;
23263 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23266 PyObject
* obj0
= 0 ;
23267 PyObject
* obj1
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self",(char *) "pageNum", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23275 arg2
= (int) SWIG_AsInt(obj1
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23293 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
;
23295 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23296 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 PyObject
* obj2
= 0 ;
23302 char *kwnames
[] = {
23303 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23311 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23314 if (arg3
== NULL
) {
23315 PyErr_SetString(PyExc_TypeError
,"null reference");
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23334 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
;
23336 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23337 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23340 PyObject
* obj0
= 0 ;
23341 PyObject
* obj1
= 0 ;
23342 PyObject
* obj2
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23352 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23355 if (arg3
== NULL
) {
23356 PyErr_SetString(PyExc_TypeError
,"null reference");
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23375 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
;
23377 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23380 PyObject
* obj0
= 0 ;
23381 PyObject
* obj1
= 0 ;
23382 char *kwnames
[] = {
23383 (char *) "self",(char *) "pageNum", NULL
23386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23389 arg2
= (int) SWIG_AsInt(obj1
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23407 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23411 PyObject
* obj0
= 0 ;
23412 PyObject
* obj1
= 0 ;
23413 char *kwnames
[] = {
23414 (char *) "self",(char *) "percent", NULL
23417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23420 arg2
= (int) SWIG_AsInt(obj1
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 (arg1
)->base_SetZoom(arg2
);
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 Py_INCREF(Py_None
); resultobj
= Py_None
;
23436 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
;
23438 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 PyObject
* obj1
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self",(char *) "interactive", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23450 arg2
= (bool) SWIG_AsBool(obj1
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (bool)(arg1
)->base_Print(arg2
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23468 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23471 PyObject
* obj0
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 (arg1
)->base_DetermineScaling();
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 Py_INCREF(Py_None
); resultobj
= Py_None
;
23493 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
23495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23496 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23498 return Py_BuildValue((char *)"");
23500 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23503 wxFrame
*arg2
= (wxFrame
*) 0 ;
23504 wxString
*arg3
= 0 ;
23505 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23506 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23507 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23508 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23509 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23510 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23511 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23512 wxPyPreviewFrame
*result
;
23513 bool temp3
= False
;
23516 bool temp7
= False
;
23517 PyObject
* obj0
= 0 ;
23518 PyObject
* obj1
= 0 ;
23519 PyObject
* obj2
= 0 ;
23520 PyObject
* obj3
= 0 ;
23521 PyObject
* obj4
= 0 ;
23522 PyObject
* obj5
= 0 ;
23523 PyObject
* obj6
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23534 arg3
= wxString_in_helper(obj2
);
23535 if (arg3
== NULL
) SWIG_fail
;
23541 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23547 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23551 arg6
= (long) SWIG_AsLong(obj5
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23556 arg7
= wxString_in_helper(obj6
);
23557 if (arg7
== NULL
) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
23591 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23593 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23594 PyObject
*arg2
= (PyObject
*) 0 ;
23595 PyObject
*arg3
= (PyObject
*) 0 ;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 PyObject
* obj2
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self",(char *) "self",(char *) "_class", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 Py_INCREF(Py_None
); resultobj
= Py_None
;
23622 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23625 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "canvas", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 (arg1
)->SetPreviewCanvas(arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 Py_INCREF(Py_None
); resultobj
= Py_None
;
23651 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23654 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self",(char *) "bar", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 (arg1
)->SetControlBar(arg2
);
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 Py_INCREF(Py_None
); resultobj
= Py_None
;
23680 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23683 PyObject
* obj0
= 0 ;
23684 char *kwnames
[] = {
23685 (char *) "self", NULL
23688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
23689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 (arg1
)->base_Initialize();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23698 Py_INCREF(Py_None
); resultobj
= Py_None
;
23705 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 char *kwnames
[] = {
23710 (char *) "self", NULL
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 (arg1
)->base_CreateCanvas();
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 Py_INCREF(Py_None
); resultobj
= Py_None
;
23730 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23732 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23733 PyObject
* obj0
= 0 ;
23734 char *kwnames
[] = {
23735 (char *) "self", NULL
23738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23743 (arg1
)->base_CreateControlBar();
23745 wxPyEndAllowThreads(__tstate
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23748 Py_INCREF(Py_None
); resultobj
= Py_None
;
23755 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23758 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
23760 return Py_BuildValue((char *)"");
23762 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23766 wxWindow
*arg3
= (wxWindow
*) 0 ;
23767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23771 long arg6
= (long) 0 ;
23772 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23773 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23774 wxPyPreviewControlBar
*result
;
23777 bool temp7
= False
;
23778 PyObject
* obj0
= 0 ;
23779 PyObject
* obj1
= 0 ;
23780 PyObject
* obj2
= 0 ;
23781 PyObject
* obj3
= 0 ;
23782 PyObject
* obj4
= 0 ;
23783 PyObject
* obj5
= 0 ;
23784 PyObject
* obj6
= 0 ;
23785 char *kwnames
[] = {
23786 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23792 arg2
= (long) SWIG_AsLong(obj1
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23794 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23799 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23805 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23809 arg6
= (long) SWIG_AsLong(obj5
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23814 arg7
= wxString_in_helper(obj6
);
23815 if (arg7
== NULL
) SWIG_fail
;
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
23841 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23842 PyObject
*resultobj
;
23843 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23844 PyObject
*arg2
= (PyObject
*) 0 ;
23845 PyObject
*arg3
= (PyObject
*) 0 ;
23846 PyObject
* obj0
= 0 ;
23847 PyObject
* obj1
= 0 ;
23848 PyObject
* obj2
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self",(char *) "self",(char *) "_class", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23860 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 Py_INCREF(Py_None
); resultobj
= Py_None
;
23872 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23875 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 PyObject
* obj1
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self",(char *) "preview", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
23886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 (arg1
)->SetPrintPreview(arg2
);
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 Py_INCREF(Py_None
); resultobj
= Py_None
;
23901 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23903 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23904 PyObject
* obj0
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
23910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 (arg1
)->base_CreateButtons();
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 Py_INCREF(Py_None
); resultobj
= Py_None
;
23926 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23930 PyObject
* obj0
= 0 ;
23931 PyObject
* obj1
= 0 ;
23932 char *kwnames
[] = {
23933 (char *) "self",(char *) "zoom", NULL
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23939 arg2
= (int) SWIG_AsInt(obj1
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 (arg1
)->base_SetZoomControl(arg2
);
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23948 Py_INCREF(Py_None
); resultobj
= Py_None
;
23955 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23958 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
23960 return Py_BuildValue((char *)"");
23962 static PyMethodDef SwigMethods
[] = {
23963 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23964 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23965 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23966 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23967 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
23968 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23969 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23970 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23971 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23972 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23973 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23974 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23975 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23976 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23977 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23978 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23979 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23980 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23981 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23982 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
23983 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
23984 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23985 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23986 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23987 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23988 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23989 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23990 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
23991 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23992 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23993 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23994 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23995 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23996 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23997 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23998 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23999 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24000 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24001 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24002 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24003 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24004 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
24005 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24006 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24007 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24008 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24009 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24010 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24011 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24012 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24013 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24014 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24015 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24016 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24017 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24018 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24019 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24020 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24021 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24022 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24023 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24024 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24025 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24026 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24027 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
24028 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24029 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24030 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24031 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24032 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24033 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24034 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24035 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24036 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24037 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24038 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24039 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
24040 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24041 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24042 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24043 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
24044 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24045 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24046 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24047 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
24048 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24049 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24050 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24051 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24052 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
24053 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24054 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24055 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24056 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24057 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24058 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24059 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24060 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24061 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24062 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24063 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24064 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24065 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24066 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24067 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
24068 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24069 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24070 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24071 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24072 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24073 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24074 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24075 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24076 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24077 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24078 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24079 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24080 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24081 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24082 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24083 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24084 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24085 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24086 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24087 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24088 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24089 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24090 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24091 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24092 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24093 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24094 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
24095 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24096 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24097 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24098 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24099 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24100 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24101 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
24102 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24103 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24104 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24105 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24106 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24107 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24108 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24109 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24110 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24111 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24112 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24113 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24114 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24115 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24116 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24117 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24118 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24119 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24120 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24121 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24122 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24123 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24124 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
24125 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24126 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24127 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24128 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24129 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24130 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24131 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24132 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
24133 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24134 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24135 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24136 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24137 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24138 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24139 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24140 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24141 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24142 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24143 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24144 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
24145 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24146 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24147 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24148 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24149 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24150 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
24151 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24152 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24153 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24154 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24155 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24156 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24157 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24158 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24159 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
24160 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24161 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24162 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24163 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24164 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24165 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
24166 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24167 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24168 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
24169 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24170 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24171 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
24172 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24173 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24174 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24175 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
24176 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24177 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24178 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24179 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24180 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24181 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24182 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24183 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24184 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24185 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24186 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24187 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24188 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24189 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24190 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24191 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24192 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24193 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
24194 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24195 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24196 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24197 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24198 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24199 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24200 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24201 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24202 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24203 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24204 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24205 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24206 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24207 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24208 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24209 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24210 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24211 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24212 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24213 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24214 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24215 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24216 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24217 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24218 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24219 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
24220 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24221 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24222 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24223 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24224 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24225 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24226 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
24227 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24228 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24229 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
24230 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24231 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
24232 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24233 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24234 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24235 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24236 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24237 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24238 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24239 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24240 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
24241 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24242 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24243 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
24244 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24245 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24246 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24247 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24248 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24249 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24250 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
24251 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24252 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24253 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24254 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24255 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24256 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24257 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24258 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24259 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24260 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24261 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24262 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24263 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24264 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24265 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24266 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24267 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24268 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
24269 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24270 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24271 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24272 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
24273 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24274 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24275 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24276 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24277 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
24278 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24279 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24280 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24281 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
24282 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24283 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24284 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24285 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24286 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24287 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24288 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24289 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24290 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24291 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24292 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24293 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24294 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24295 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24296 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24297 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
24298 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24299 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24300 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
24301 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24302 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
24303 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24304 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24305 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24306 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
24307 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24308 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24309 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24310 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24311 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24312 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24313 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24314 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24315 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
24316 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24317 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24318 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24319 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24320 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24321 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24322 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24323 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24324 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
24325 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24326 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24327 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24328 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24329 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24330 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
24331 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24332 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24333 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24334 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24335 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24336 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24337 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24338 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24339 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24340 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24341 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24342 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
24343 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24344 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24345 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24346 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24347 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24348 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24349 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
24350 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24351 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24352 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24353 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
24354 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24355 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24356 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24357 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24358 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24359 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24360 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24361 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24362 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24363 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24364 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24365 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24366 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24367 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24368 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24369 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24370 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24371 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24372 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24373 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24374 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24375 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24376 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24377 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
24378 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24379 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24380 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24381 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24382 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24383 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24384 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24385 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24386 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24387 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24388 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24389 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24390 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24391 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24392 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24393 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24394 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24395 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24396 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24397 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24398 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24399 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24400 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24401 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
24402 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24403 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24404 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24405 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24406 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24407 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24408 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24409 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24410 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24411 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24412 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24413 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24414 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24415 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24416 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24417 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24418 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24419 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24420 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24421 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24422 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24423 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24424 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24425 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
24426 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24427 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24428 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24429 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24430 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24431 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24432 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24433 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24434 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24435 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24436 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24437 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24438 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24439 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24440 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24441 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24442 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24443 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24444 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24445 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24446 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24447 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24448 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24449 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24450 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24451 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24452 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24453 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24454 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24455 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24456 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24457 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24458 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24459 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24460 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24461 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24462 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24463 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24464 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24465 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24466 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24467 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24468 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24469 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24470 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24471 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
24472 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24473 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24474 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24475 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24476 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24477 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24478 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24479 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24480 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24481 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24482 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24483 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24484 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24485 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24486 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24487 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24488 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24489 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24490 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24491 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24492 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24493 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24494 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24495 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24496 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24497 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24498 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24499 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24500 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24501 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24502 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24503 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
24504 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24505 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24506 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24507 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
24508 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
24509 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24510 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24511 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24512 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24513 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24514 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24515 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24516 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24517 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24518 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24519 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24520 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24521 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24522 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24523 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24524 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24525 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24526 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24527 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24528 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24529 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24530 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24531 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24532 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24533 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24534 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24535 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24536 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24537 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24538 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24539 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24540 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24541 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
24542 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24543 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24544 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24545 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24546 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
24547 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24548 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24549 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24550 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24551 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24552 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24553 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24554 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24555 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24556 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24557 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
24558 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24559 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24560 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24561 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24562 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24563 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24564 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24565 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24566 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24567 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24568 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24569 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24570 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24571 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24572 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24573 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24574 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24575 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24576 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24577 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24578 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24579 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24580 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
24581 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24582 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
24583 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24584 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24585 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24586 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24587 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24588 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
24589 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24590 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24591 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24592 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24593 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24594 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24595 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24596 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24597 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24598 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
24599 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
24600 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24601 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24602 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24603 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24604 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24605 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24606 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24607 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24608 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24609 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24610 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24611 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24612 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24613 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24614 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24615 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24616 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24617 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24618 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24619 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24620 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24621 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24622 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
24623 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
24624 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24625 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24626 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24627 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24628 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24629 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24630 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24631 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24632 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
24633 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24634 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24635 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24636 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24637 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24638 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24639 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24640 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
24641 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24642 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24643 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24644 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24645 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24646 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
24647 { NULL
, NULL
, 0, NULL
}
24651 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24653 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24654 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24656 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24657 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24659 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24660 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24662 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24663 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24665 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24666 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24668 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24669 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24671 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24672 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24674 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24675 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24677 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
24678 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
24680 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
24681 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
24683 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
24684 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24686 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
24687 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
24689 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
24690 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24692 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
24693 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24695 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
24696 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
24698 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
24699 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24701 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
24702 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24704 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
24705 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
24707 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
24708 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
24710 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
24711 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
24713 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
24714 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
24716 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
24717 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
24719 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
24720 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
24722 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
24723 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
24725 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
24726 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24728 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
24729 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
24731 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
24732 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
24734 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
24735 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
24737 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
24738 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
24740 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
24741 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
24743 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
24744 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
24746 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
24747 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24749 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
24750 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
24752 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
24753 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
24755 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
24756 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
24758 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
24759 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
24761 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
24762 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24764 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
24765 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24767 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
24768 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
24770 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
24771 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
24773 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
24774 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
24776 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
24777 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
24779 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
24780 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24782 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
24783 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24785 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
24786 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24788 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
24789 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
24791 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
24792 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
24794 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
24795 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
24797 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
24798 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
24800 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
24801 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
24803 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
24804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24806 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
24807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24809 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
24810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24812 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
24813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24815 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
24816 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24818 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
24819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24821 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
24822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24824 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
24825 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
24827 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
24828 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
24830 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
24831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24833 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
24834 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
24836 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
24837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24839 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
24840 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
24842 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
24843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24845 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
24846 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
24848 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
24849 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
24851 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
24852 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
24854 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
24855 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
24857 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
24858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24860 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
24861 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
24863 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
24864 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
24866 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
24867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
24869 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
24870 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
24872 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
24873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24875 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
24876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24878 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
24879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24881 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
24882 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
24884 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
24885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24887 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
24888 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
24890 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
24891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24893 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
24894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24896 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
24897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24899 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24902 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24905 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
24906 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
24908 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
24909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
24911 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
24912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24914 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
24915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24917 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
24918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24920 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
24921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24923 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
24924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24926 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
24927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24929 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
24930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24932 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
24933 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24935 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
24936 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
24938 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
24939 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
24941 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
24942 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
24944 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
24945 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
24947 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
24948 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24950 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
24951 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
24953 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
24954 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
24956 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
24957 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
24959 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
24960 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
24962 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
24963 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
24965 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
24966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24968 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
24969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24971 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
24972 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
24974 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
24975 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
24977 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
24978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
24980 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
24981 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
24983 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
24984 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
24986 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
24987 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
24989 static void *_p_wxSizerTo_p_wxObject(void *x
) {
24990 return (void *)((wxObject
*) ((wxSizer
*) x
));
24992 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
24993 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
24995 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
24996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24998 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
24999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25001 static void *_p_wxEventTo_p_wxObject(void *x
) {
25002 return (void *)((wxObject
*) ((wxEvent
*) x
));
25004 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25005 return (void *)((wxObject
*) ((wxFontData
*) x
));
25007 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25008 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25010 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25011 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25013 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25014 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25016 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25017 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25019 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25020 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25022 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25023 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25025 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25028 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25029 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25031 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25032 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25034 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25035 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25037 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25038 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25040 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25041 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25043 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25044 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25046 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25049 static void *_p_wxControlTo_p_wxObject(void *x
) {
25050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25052 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25053 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25055 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25056 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25058 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25059 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25061 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25062 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25064 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25065 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25067 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25070 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25071 return (void *)((wxObject
*) ((wxColourData
*) x
));
25073 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25074 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25076 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25079 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25082 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25085 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25088 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25091 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25094 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25097 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25100 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25103 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25106 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25107 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25109 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25110 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25112 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25113 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25115 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25116 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25118 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25119 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25121 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25122 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25124 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25125 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25127 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25128 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25130 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25131 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25133 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25134 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25136 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25137 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25139 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25140 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25142 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25143 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25145 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25146 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25148 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25149 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25151 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25154 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25155 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25157 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25158 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25160 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25161 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25163 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25164 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25166 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25167 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25169 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25170 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25172 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25173 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25175 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25176 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25178 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25179 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25181 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25184 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25187 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25188 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25190 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25193 static void *_p_wxImageTo_p_wxObject(void *x
) {
25194 return (void *)((wxObject
*) ((wxImage
*) x
));
25196 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25199 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25200 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25202 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25203 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25205 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25206 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25208 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25211 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25214 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25215 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25217 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25218 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25220 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25221 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25223 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25224 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25226 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25227 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25229 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25232 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25235 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25238 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25241 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25244 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25247 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25250 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25253 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25256 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25257 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25259 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25262 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25265 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25268 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25271 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25272 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25274 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25275 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25277 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25280 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25283 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25286 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25289 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25292 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25295 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25298 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25299 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25301 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25302 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25304 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25305 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25307 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25308 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25310 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25311 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25313 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25314 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25316 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25317 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25319 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25320 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25322 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25323 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25325 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25328 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25331 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25332 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25334 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25335 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25337 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25338 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25340 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25343 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25344 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25346 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25347 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25349 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25352 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25353 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25355 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25356 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25358 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25359 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25361 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25362 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25364 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25365 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25367 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25368 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25370 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25371 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25373 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25374 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25376 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25377 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25379 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25380 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25382 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25383 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25385 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25386 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25388 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25389 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25391 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25392 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25394 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
25395 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
25397 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25398 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25400 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25401 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25403 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25404 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25406 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25407 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25409 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25410 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25412 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25413 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25415 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25416 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25418 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25419 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25421 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25422 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25424 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25425 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25427 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25428 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25430 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25431 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25433 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25434 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25436 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25437 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25439 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25440 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25442 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25443 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25445 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25446 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25448 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25449 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25451 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25452 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25454 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25455 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25457 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25458 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25460 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25461 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25463 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25464 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25466 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25467 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25469 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25470 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25472 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25473 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25475 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25476 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25478 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25479 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25481 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25482 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25484 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25485 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25487 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25488 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25490 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25491 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25493 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25494 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25496 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25497 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25499 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25500 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25502 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25503 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25505 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25506 return (void *)((wxWindow
*) ((wxControl
*) x
));
25508 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25509 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25511 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25512 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25514 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25515 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25517 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25518 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25520 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25521 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25523 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25524 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25526 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25527 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25529 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25530 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25532 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25533 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25535 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25536 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25538 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25539 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25541 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25544 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25545 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25547 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25550 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25551 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25553 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25554 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25556 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25557 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25559 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25560 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25562 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25563 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25565 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
25566 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25568 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
25569 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25571 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
25572 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
25574 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
25575 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
25577 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
25578 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
25580 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
25581 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
25583 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
25584 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
25586 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
25587 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
25589 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
25590 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25592 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
25593 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25595 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
25596 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
25598 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
25599 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
25601 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
25602 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
25604 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
25605 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
25607 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
25608 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25610 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
25611 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25613 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
25614 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25616 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
25617 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25619 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
25620 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
25622 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
25623 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25625 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
25626 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
25628 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
25629 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25631 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
25632 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25634 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
25635 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
25637 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
25638 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25640 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
25641 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25643 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
25644 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25646 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
25647 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25649 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
25650 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25652 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
25653 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25655 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
25656 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25658 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25659 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25661 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25662 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25664 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25665 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25667 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}};
25668 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}};
25669 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}};
25670 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}};
25671 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}};
25672 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}};
25673 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}};
25674 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}};
25675 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}};
25676 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}};
25677 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}};
25678 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}};
25679 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}};
25680 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}};
25681 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}};
25682 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}};
25683 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}};
25684 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}};
25685 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}};
25686 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}};
25687 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}};
25688 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}};
25689 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}};
25690 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}};
25691 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}};
25692 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}};
25693 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}};
25694 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}};
25695 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}};
25696 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}};
25697 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}};
25698 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}};
25699 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}};
25700 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}};
25701 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}};
25702 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}};
25703 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}};
25704 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}};
25705 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}};
25706 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}};
25707 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}};
25708 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}};
25709 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}};
25710 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}};
25711 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}};
25712 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}};
25713 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}};
25714 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}};
25715 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}};
25716 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}};
25717 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}};
25718 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}};
25719 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}};
25720 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}};
25721 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}};
25722 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}};
25723 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}};
25724 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}};
25725 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}};
25726 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}};
25727 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}};
25728 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}};
25729 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}};
25730 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}};
25731 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}};
25732 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}};
25733 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}};
25734 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}};
25735 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}};
25736 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}};
25737 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}};
25738 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}};
25739 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}};
25740 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}};
25741 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}};
25742 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}};
25743 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}};
25744 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}};
25745 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}};
25746 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}};
25747 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}};
25748 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}};
25749 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}};
25750 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}};
25751 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}};
25753 static swig_type_info
*swig_types_initial
[] = {
25754 _swigt__p_wxQueryLayoutInfoEvent
,
25755 _swigt__p_wxPreviewFrame
,
25756 _swigt__p_wxPyPreviewFrame
,
25757 _swigt__p_wxPyPanel
,
25759 _swigt__p_wxPrintData
,
25760 _swigt__p_wxFontData
,
25762 _swigt__p_wxTaskBarIcon
,
25763 _swigt__p_wxIconBundle
,
25764 _swigt__p_wxLayoutAlgorithm
,
25765 _swigt__p_wxFindDialogEvent
,
25766 _swigt__p_wxPreviewCanvas
,
25768 _swigt__p_wxSplitterEvent
,
25769 _swigt__p_wxRegion
,
25770 _swigt__p_wxFindReplaceData
,
25775 _swigt__p_wxMDIChildFrame
,
25776 _swigt__p_wxColourData
,
25777 _swigt__p_wxNotifyEvent
,
25778 _swigt__p_wxPyWindow
,
25779 _swigt__p_wxSplashScreen
,
25780 _swigt__p_wxFindReplaceDialog
,
25781 _swigt__p_wxProgressDialog
,
25782 _swigt__p_wxMessageDialog
,
25783 _swigt__p_wxTextEntryDialog
,
25784 _swigt__p_wxSingleChoiceDialog
,
25785 _swigt__p_wxMultiChoiceDialog
,
25786 _swigt__p_wxFileDialog
,
25787 _swigt__p_wxPrinter
,
25788 _swigt__p_wxArrayInt
,
25789 _swigt__p_wxEvtHandler
,
25790 _swigt__p_wxCalculateLayoutEvent
,
25791 _swigt__p_wxPyHtmlListBox
,
25792 _swigt__p_wxPyVListBox
,
25795 _swigt__p_wxMiniFrame
,
25797 _swigt__p_wxPyPrintout
,
25798 _swigt__p_wxTaskBarIconEvent
,
25799 _swigt__p_wxScrollWinEvent
,
25800 _swigt__p_wxStatusBar
,
25801 _swigt__p_wxMDIParentFrame
,
25803 _swigt__p_wxObject
,
25804 _swigt__p_wxOutputStream
,
25805 _swigt__p_unsigned_long
,
25806 _swigt__p_wxPyScrolledWindow
,
25807 _swigt__p_wxMDIClientWindow
,
25808 _swigt__p_wxTipWindow
,
25809 _swigt__p_wxPyPopupTransientWindow
,
25810 _swigt__p_wxSashLayoutWindow
,
25811 _swigt__p_wxSplitterWindow
,
25812 _swigt__p_wxPyVScrolledWindow
,
25813 _swigt__p_wxPopupWindow
,
25814 _swigt__p_wxSashWindow
,
25815 _swigt__p_wxTopLevelWindow
,
25816 _swigt__p_wxWindow
,
25817 _swigt__p_wxScrolledWindow
,
25818 _swigt__p_wxSplashScreenWindow
,
25819 _swigt__p_wxMenuBar
,
25820 _swigt__p_wxPrintPreview
,
25821 _swigt__p_wxSashEvent
,
25822 _swigt__p_wxString
,
25823 _swigt__p_wxPyPrintPreview
,
25824 _swigt__p_wxFontDialog
,
25825 _swigt__p_wxDirDialog
,
25826 _swigt__p_wxColourDialog
,
25827 _swigt__p_wxDialog
,
25829 _swigt__p_wxPageSetupDialog
,
25830 _swigt__p_wxPrintDialog
,
25831 _swigt__p_wxBitmap
,
25832 _swigt__p_wxCommandEvent
,
25833 _swigt__p_wxPreviewControlBar
,
25834 _swigt__p_wxPyPreviewControlBar
,
25835 _swigt__p_wxColour
,
25836 _swigt__p_wxToolBar
,
25837 _swigt__p_wxPageSetupDialogData
,
25838 _swigt__p_wxPrintDialogData
,
25843 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25845 static swig_const_info swig_const_table
[] = {
25846 {0, 0, 0, 0.0, 0, 0}};
25855 SWIGEXPORT(void) SWIG_init(void) {
25856 static PyObject
*SWIG_globals
= 0;
25857 static int typeinit
= 0;
25860 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
25861 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
25862 d
= PyModule_GetDict(m
);
25865 for (i
= 0; swig_types_initial
[i
]; i
++) {
25866 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
25870 SWIG_InstallConstants(d
,swig_const_table
);
25872 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
25873 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
25874 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
25875 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
25876 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
25877 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
25878 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
25879 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
25880 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
25881 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
25882 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
25883 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
25884 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
25885 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
25886 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
25887 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
25888 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
25889 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
25890 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
25891 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
25892 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
25893 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
25894 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
25895 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
25896 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
25897 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
25898 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
25899 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
25900 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
25901 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
25902 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
25903 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
25904 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
25905 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
25906 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
25907 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
25908 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
25909 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
25910 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
25911 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
25912 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
25913 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
25914 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
25915 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
25916 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
25917 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
25918 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
25919 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
25920 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
25921 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
25922 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
25923 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
25924 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
25925 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
25926 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
25927 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
25928 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
25929 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
25930 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
25931 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
25932 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
25933 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
25934 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
25935 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
25936 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
25937 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
25938 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
25939 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
25941 // Map renamed classes back to their common name for OOR
25942 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
25943 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
25944 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
25946 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
25947 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
25948 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
25949 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
25950 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
25951 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
25952 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
25953 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
25954 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
25955 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
25956 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
25957 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
25958 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
25959 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
25960 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
25961 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
25962 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
25963 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
25964 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
25965 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
25966 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
25967 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
25968 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
25969 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
25970 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
25971 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
25972 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
25973 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
25974 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
25975 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
25976 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
25977 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
25978 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
25979 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
25980 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
25981 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
25982 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
25983 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
25984 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
25985 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
25986 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
25987 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
25988 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
25989 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
25990 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
25991 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
25992 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
25993 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
25994 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
25995 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
25996 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
25997 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
25998 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
25999 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26000 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26001 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26002 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26003 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26004 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26005 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26007 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");