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_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxFileSystem swig_types[77]
287 #define SWIGTYPE_p_wxBitmap swig_types[78]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxToolBar swig_types[83]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows_
305 #define SWIG_name "_windows_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
355 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject
* obj
)
431 if (PyErr_Occurred()) {
440 SWIGSTATICINLINE(bool)
441 SWIG_AsBool(PyObject
*obj
)
443 return PyObject_IsTrue(obj
) ? true : false;
447 SWIGSTATICINLINE(int)
448 SWIG_CheckBool(PyObject
* obj
)
451 if (PyErr_Occurred()) {
460 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
466 } else if (target
== Py_None
) {
470 if (!PyTuple_Check(target
)) {
472 target
= PyTuple_New(1);
473 PyTuple_SetItem(target
, 0, o2
);
476 PyTuple_SetItem(o3
, 0, o
);
479 target
= PySequence_Concat(o2
, o3
);
487 SWIGSTATICINLINE(double)
488 SWIG_AsDouble(PyObject
*obj
)
490 if (PyNumber_Check(obj
))
491 return PyFloat_AsDouble(obj
);
493 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
494 obj
->ob_type
->tp_name
);
495 PyErr_SetObject(PyExc_TypeError
, errmsg
);
502 SWIGSTATICINLINE(int)
503 SWIG_CheckDouble(PyObject
* obj
)
506 if (PyErr_Occurred()) {
514 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
515 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
516 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
517 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
520 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
522 self
->GetFieldRect(i
, r
);
525 static const wxString
wxPySplitterNameStr(wxT("splitter"));
526 static const wxString
wxPySashNameStr(wxT("sashWindow"));
527 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
529 #include <wx/popupwin.h>
532 class wxPopupWindow
: public wxWindow
{
534 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
535 wxPopupWindow() { wxPyRaiseNotImplemented(); }
538 class wxPyPopupTransientWindow
: public wxPopupWindow
541 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
542 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
546 #include <wx/tipwin.h>
548 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
549 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
552 #include <wx/tipwin.h>
555 #include <wx/vscroll.h>
558 class wxPyVScrolledWindow
: public wxVScrolledWindow
560 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
562 wxPyVScrolledWindow() : wxVScrolledWindow() {}
564 wxPyVScrolledWindow(wxWindow
*parent
,
565 wxWindowID id
= wxID_ANY
,
566 const wxPoint
& pos
= wxDefaultPosition
,
567 const wxSize
& size
= wxDefaultSize
,
569 const wxString
& name
= wxPyPanelNameStr
)
570 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
573 // Overridable virtuals
575 // this function must be overridden in the derived class and it should
576 // return the height of the given line in pixels
577 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
580 // this function doesn't have to be overridden but it may be useful to do
581 // it if calculating the lines heights is a relatively expensive operation
582 // as it gives the user code a possibility to calculate several of them at
585 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
586 // shouldn't rely on the latter being called for all lines in the interval
587 // specified here. It is also possible that OnGetLineHeight() will be
588 // called for the lines outside of this interval, so this is really just a
589 // hint, not a promise.
591 // finally note that lineMin is inclusive, while lineMax is exclusive, as
593 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
596 // when the number of lines changes, we try to estimate the total height
597 // of all lines which is a rather expensive operation in terms of lines
598 // access, so if the user code may estimate the average height
599 // better/faster than we do, it should override this function to implement
602 // this function should return the best guess for the total height it may
604 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
607 // Also expose some other interesting protected methods
610 // find the index of the line we need to show at the top of the window such
611 // that the last (fully or partially) visible line is the given one
612 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
613 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
615 // get the total height of the lines between lineMin (inclusive) and
616 // lineMax (exclusive)
617 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
618 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
624 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
626 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
627 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
628 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
631 SWIGSTATICINLINE(unsigned long)
632 SWIG_AsUnsignedLong(PyObject
* obj
)
634 if (PyLong_Check(obj
)) {
635 return PyLong_AsUnsignedLong(obj
);
637 long i
= SWIG_AsLong(obj
);
638 if ( !PyErr_Occurred() && (i
< 0)) {
639 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
646 SWIGSTATICINLINE(int)
647 SWIG_CheckUnsignedLong(PyObject
* obj
)
649 SWIG_AsUnsignedLong(obj
);
650 if (PyErr_Occurred()) {
659 SWIGSTATICINLINE(PyObject
* )
660 SWIG_FromUnsignedLong(unsigned long value
)
662 return (value
> LONG_MAX
) ?
663 PyLong_FromUnsignedLong(value
)
664 : PyInt_FromLong(swig_numeric_cast(long,value
));
668 #include <wx/vlbox.h>
670 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
672 class wxPyVListBox
: public wxVListBox
674 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
676 wxPyVListBox() : wxVListBox() {}
678 wxPyVListBox(wxWindow
*parent
,
679 wxWindowID id
= wxID_ANY
,
680 const wxPoint
& pos
= wxDefaultPosition
,
681 const wxSize
& size
= wxDefaultSize
,
683 const wxString
& name
= wxPyVListBoxNameStr
)
684 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
687 // Overridable virtuals
689 // the derived class must implement this function to actually draw the item
690 // with the given index on the provided DC
691 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
692 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
695 // the derived class must implement this method to return the height of the
697 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
698 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
701 // this method may be used to draw separators between the lines; note that
702 // the rectangle may be modified, typically to deflate it a bit before
703 // passing to OnDrawItem()
705 // the base class version doesn't do anything
706 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
707 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
710 // this method is used to draw the items background and, maybe, a border
713 // the base class version implements a reasonable default behaviour which
714 // consists in drawing the selected item with the standard background
715 // colour and drawing a border around the item if it is either selected or
717 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
718 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
724 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
726 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
727 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
728 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
729 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
732 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
733 unsigned long cookie
= 0;
734 int selected
= self
->GetFirstSelected(cookie
);
735 bool blocked
= wxPyBeginBlockThreads();
736 PyObject
* tup
= PyTuple_New(2);
737 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
738 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
739 wxPyEndBlockThreads(blocked
);
742 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
743 int selected
= self
->GetNextSelected(cookie
);
744 bool blocked
= wxPyBeginBlockThreads();
745 PyObject
* tup
= PyTuple_New(2);
746 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
747 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
748 wxPyEndBlockThreads(blocked
);
752 #include <wx/htmllbox.h>
755 class wxPyHtmlListBox
: public wxHtmlListBox
757 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
759 wxPyHtmlListBox() : wxHtmlListBox() {}
761 wxPyHtmlListBox(wxWindow
*parent
,
762 wxWindowID id
= wxID_ANY
,
763 const wxPoint
& pos
= wxDefaultPosition
,
764 const wxSize
& size
= wxDefaultSize
,
766 const wxString
& name
= wxPyVListBoxNameStr
)
767 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
770 // Overridable virtuals
772 // this method must be implemented in the derived class and should return
773 // the body (i.e. without <html>) of the HTML for the given item
774 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
776 // this function may be overridden to decorate HTML returned by OnGetItem()
777 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
780 // // this method allows to customize the selection appearance: it may be used
781 // // to specify the colour of the text which normally has the given colour
782 // // colFg when it is inside the selection
784 // // by default, the original colour is not used at all and all text has the
785 // // same (default for this system) colour inside selection
786 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
788 // // this is the same as GetSelectedTextColour() but allows to customize the
789 // // background colour -- this is even more rarely used as you can change it
790 // // globally using SetSelectionBackground()
791 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
798 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
800 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
801 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
808 // implement dummy classes and such for wxMac
810 class wxTaskBarIcon
: public wxEvtHandler
813 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
817 class wxTaskBarIconEvent
: public wxEvent
820 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
821 { wxPyRaiseNotImplemented(); }
822 virtual wxEvent
* Clone() const { return NULL
; }
826 wxEVT_TASKBAR_MOVE
= 0,
827 wxEVT_TASKBAR_LEFT_DOWN
= 0,
828 wxEVT_TASKBAR_LEFT_UP
= 0,
829 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
830 wxEVT_TASKBAR_RIGHT_UP
= 0,
831 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
832 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
837 // // Otherwise make a class that can virtualize CreatePopupMenu
838 // class wxPyTaskBarIcon : public wxTaskBarIcon
840 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
842 // wxPyTaskBarIcon() : wxTaskBarIcon()
845 // wxMenu* CreatePopupMenu() {
846 // wxMenu *rval = NULL;
848 // bool blocked = wxPyBeginBlockThreads();
849 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
852 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
854 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
859 // wxPyEndBlockThreads(blocked);
861 // rval = wxTaskBarIcon::CreatePopupMenu();
868 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
872 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
877 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
878 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
879 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
880 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
881 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
882 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
883 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
885 self
->GetFilenames(arr
);
886 return wxArrayString2PyList_helper(arr
);
888 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
891 return wxArrayString2PyList_helper(arr
);
893 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
894 return wxArrayInt2PyList_helper(self
->GetSelections());
896 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
897 return new wxSingleChoiceDialog(parent
, message
, caption
,
898 choices
, choices_array
, NULL
, style
, pos
);
903 // C++ version of Python aware wxWindow
904 class wxPyWindow
: public wxWindow
906 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
908 wxPyWindow() : wxWindow() {}
909 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
910 const wxPoint
& pos
= wxDefaultPosition
,
911 const wxSize
& size
= wxDefaultSize
,
913 const wxString
& name
= wxPyPanelNameStr
)
914 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
916 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
918 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
919 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
920 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
921 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
923 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
924 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
925 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
927 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
928 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
930 DEC_PYCALLBACK__(InitDialog
);
931 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
932 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
933 DEC_PYCALLBACK_BOOL_(Validate
);
935 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
936 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
937 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
939 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
940 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
942 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
943 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
944 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
949 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
951 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
952 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
953 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
954 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
956 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
957 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
958 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
960 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
961 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
963 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
964 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
965 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
966 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
968 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
969 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
970 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
972 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
973 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
975 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
976 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
977 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
980 // C++ version of Python aware wxPanel
981 class wxPyPanel
: public wxPanel
983 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
985 wxPyPanel() : wxPanel() {}
986 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
987 const wxPoint
& pos
= wxDefaultPosition
,
988 const wxSize
& size
= wxDefaultSize
,
990 const wxString
& name
= wxPyPanelNameStr
)
991 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
993 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
996 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
997 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
998 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
999 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1001 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1002 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1003 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1005 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1006 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1008 DEC_PYCALLBACK__(InitDialog
);
1009 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1010 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1011 DEC_PYCALLBACK_BOOL_(Validate
);
1013 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1014 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1015 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1017 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1018 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1020 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1021 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1022 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1027 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1029 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1030 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1031 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1032 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1034 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1035 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1036 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1038 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1039 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1041 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1042 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1043 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1044 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1046 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1047 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1048 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1050 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1051 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1053 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1054 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1055 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1058 // C++ version of Python aware wxScrolledWindow
1059 class wxPyScrolledWindow
: public wxScrolledWindow
1061 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1063 wxPyScrolledWindow() : wxScrolledWindow() {}
1064 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1065 const wxPoint
& pos
= wxDefaultPosition
,
1066 const wxSize
& size
= wxDefaultSize
,
1068 const wxString
& name
= wxPyPanelNameStr
)
1069 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1071 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1073 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1074 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1075 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1076 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1078 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1079 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1080 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1082 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1083 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1085 DEC_PYCALLBACK__(InitDialog
);
1086 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1087 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1088 DEC_PYCALLBACK_BOOL_(Validate
);
1090 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1091 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1092 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1094 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1095 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1097 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1098 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1099 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1104 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1106 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1107 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1108 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1109 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1111 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1112 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1113 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1115 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1116 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1118 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1119 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1120 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1121 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1123 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1124 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1125 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1127 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1128 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1130 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1131 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1132 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1136 #include "wx/wxPython/printfw.h"
1139 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1140 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1144 // Since this one would be tough and ugly to do with the Macros...
1145 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1146 bool hadErr
= False
;
1149 bool blocked
= wxPyBeginBlockThreads();
1150 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1151 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1152 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1155 val
= PyTuple_GetItem(result
, 0);
1156 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1159 val
= PyTuple_GetItem(result
, 1);
1160 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1163 val
= PyTuple_GetItem(result
, 2);
1164 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1167 val
= PyTuple_GetItem(result
, 3);
1168 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1175 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1180 wxPyEndBlockThreads(blocked
);
1182 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1185 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1186 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1190 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1191 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1192 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1193 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1194 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1195 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1196 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1202 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1203 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1204 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1207 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1208 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1211 bool blocked = wxPyBeginBlockThreads(); \
1212 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1213 PyObject* win = wxPyMake_wxObject(a); \
1214 PyObject* dc = wxPyMake_wxObject(&b); \
1215 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1219 wxPyEndBlockThreads(blocked); \
1221 rval = PCLASS::CBNAME(a, b); \
1224 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1225 return PCLASS::CBNAME(a, b); \
1231 class wxPyPrintPreview
: public wxPrintPreview
1233 DECLARE_CLASS(wxPyPrintPreview
)
1235 wxPyPrintPreview(wxPyPrintout
* printout
,
1236 wxPyPrintout
* printoutForPrinting
,
1237 wxPrintDialogData
* data
=NULL
)
1238 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1240 wxPyPrintPreview(wxPyPrintout
* printout
,
1241 wxPyPrintout
* printoutForPrinting
,
1242 wxPrintData
* data
=NULL
)
1243 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1246 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1247 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1248 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1249 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1250 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1251 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1252 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1257 // Stupid renamed classes... Fix this in 2.5...
1258 #if defined(__WXMSW__)
1259 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1260 #elif defined(__WXMAC__)
1261 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1263 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1266 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1267 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1268 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1269 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1270 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1271 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1272 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1275 class wxPyPreviewFrame
: public wxPreviewFrame
1277 DECLARE_CLASS(wxPyPreviewFrame
);
1279 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1280 const wxString
& title
,
1281 const wxPoint
& pos
= wxDefaultPosition
,
1282 const wxSize
& size
= wxDefaultSize
,
1283 long style
= wxDEFAULT_FRAME_STYLE
,
1284 const wxString
& name
= wxPyFrameNameStr
)
1285 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1288 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1289 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1291 DEC_PYCALLBACK_VOID_(Initialize
);
1292 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1293 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1298 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1300 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1301 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1302 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1305 class wxPyPreviewControlBar
: public wxPreviewControlBar
1307 DECLARE_CLASS(wxPyPreviewControlBar
);
1309 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1312 const wxPoint
& pos
= wxDefaultPosition
,
1313 const wxSize
& size
= wxDefaultSize
,
1315 const wxString
& name
= wxPyPanelNameStr
)
1316 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1319 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1321 DEC_PYCALLBACK_VOID_(CreateButtons
);
1322 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1327 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1328 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1329 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1334 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
*resultobj
;
1336 wxWindow
*arg1
= (wxWindow
*) 0 ;
1337 int arg2
= (int) (int)-1 ;
1338 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1339 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1340 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1341 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1342 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1343 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1344 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1348 bool temp6
= False
;
1349 PyObject
* obj0
= 0 ;
1350 PyObject
* obj1
= 0 ;
1351 PyObject
* obj2
= 0 ;
1352 PyObject
* obj3
= 0 ;
1353 PyObject
* obj4
= 0 ;
1354 PyObject
* obj5
= 0 ;
1356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1363 arg2
= (int const) SWIG_AsInt(obj1
);
1364 if (PyErr_Occurred()) SWIG_fail
;
1369 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1375 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1379 arg5
= (long) SWIG_AsLong(obj4
);
1380 if (PyErr_Occurred()) SWIG_fail
;
1384 arg6
= wxString_in_helper(obj5
);
1385 if (arg6
== NULL
) SWIG_fail
;
1390 if (!wxPyCheckForApp()) SWIG_fail
;
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) SWIG_fail
;
1398 resultobj
= wxPyMake_wxObject(result
);
1414 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
*resultobj
;
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1423 if (!wxPyCheckForApp()) SWIG_fail
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 result
= (wxPanel
*)new wxPanel();
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1431 resultobj
= wxPyMake_wxObject(result
);
1439 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1441 wxPanel
*arg1
= (wxPanel
*) 0 ;
1442 wxWindow
*arg2
= (wxWindow
*) 0 ;
1443 int arg3
= (int) (int)-1 ;
1444 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1445 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1446 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1447 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1448 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1449 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1450 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1454 bool temp7
= False
;
1455 PyObject
* obj0
= 0 ;
1456 PyObject
* obj1
= 0 ;
1457 PyObject
* obj2
= 0 ;
1458 PyObject
* obj3
= 0 ;
1459 PyObject
* obj4
= 0 ;
1460 PyObject
* obj5
= 0 ;
1461 PyObject
* obj6
= 0 ;
1463 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1472 arg3
= (int const) SWIG_AsInt(obj2
);
1473 if (PyErr_Occurred()) SWIG_fail
;
1478 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1484 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1488 arg6
= (long) SWIG_AsLong(obj5
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1493 arg7
= wxString_in_helper(obj6
);
1494 if (arg7
== NULL
) SWIG_fail
;
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) SWIG_fail
;
1506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1522 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
*resultobj
;
1524 wxPanel
*arg1
= (wxPanel
*) 0 ;
1525 PyObject
* obj0
= 0 ;
1527 (char *) "self", NULL
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 (arg1
)->InitDialog();
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1540 Py_INCREF(Py_None
); resultobj
= Py_None
;
1547 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
*resultobj
;
1549 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1550 wxVisualAttributes result
;
1551 PyObject
* obj0
= 0 ;
1553 (char *) "variant", NULL
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1558 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1559 if (PyErr_Occurred()) SWIG_fail
;
1562 if (!wxPyCheckForApp()) SWIG_fail
;
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1570 wxVisualAttributes
* resultptr
;
1571 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1580 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1583 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1585 return Py_BuildValue((char *)"");
1587 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxWindow
*arg1
= (wxWindow
*) 0 ;
1590 int arg2
= (int) (int)-1 ;
1591 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1592 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1595 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1596 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1597 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1598 wxScrolledWindow
*result
;
1601 bool temp6
= False
;
1602 PyObject
* obj0
= 0 ;
1603 PyObject
* obj1
= 0 ;
1604 PyObject
* obj2
= 0 ;
1605 PyObject
* obj3
= 0 ;
1606 PyObject
* obj4
= 0 ;
1607 PyObject
* obj5
= 0 ;
1609 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1616 arg2
= (int const) SWIG_AsInt(obj1
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1628 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1632 arg5
= (long) SWIG_AsLong(obj4
);
1633 if (PyErr_Occurred()) SWIG_fail
;
1637 arg6
= wxString_in_helper(obj5
);
1638 if (arg6
== NULL
) SWIG_fail
;
1643 if (!wxPyCheckForApp()) SWIG_fail
;
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1665 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
*resultobj
;
1667 wxScrolledWindow
*result
;
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1674 if (!wxPyCheckForApp()) SWIG_fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1688 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
*resultobj
;
1690 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1691 wxWindow
*arg2
= (wxWindow
*) 0 ;
1692 int arg3
= (int) (int)-1 ;
1693 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1694 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1695 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1696 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1697 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1698 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1699 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1703 bool temp7
= False
;
1704 PyObject
* obj0
= 0 ;
1705 PyObject
* obj1
= 0 ;
1706 PyObject
* obj2
= 0 ;
1707 PyObject
* obj3
= 0 ;
1708 PyObject
* obj4
= 0 ;
1709 PyObject
* obj5
= 0 ;
1710 PyObject
* obj6
= 0 ;
1712 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1721 arg3
= (int const) SWIG_AsInt(obj2
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1727 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1733 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1737 arg6
= (long) SWIG_AsLong(obj5
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1742 arg7
= wxString_in_helper(obj6
);
1743 if (arg7
== NULL
) SWIG_fail
;
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1771 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
*resultobj
;
1773 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1778 int arg6
= (int) 0 ;
1779 int arg7
= (int) 0 ;
1780 bool arg8
= (bool) False
;
1781 PyObject
* obj0
= 0 ;
1782 PyObject
* obj1
= 0 ;
1783 PyObject
* obj2
= 0 ;
1784 PyObject
* obj3
= 0 ;
1785 PyObject
* obj4
= 0 ;
1786 PyObject
* obj5
= 0 ;
1787 PyObject
* obj6
= 0 ;
1788 PyObject
* obj7
= 0 ;
1790 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1796 arg2
= (int) SWIG_AsInt(obj1
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1798 arg3
= (int) SWIG_AsInt(obj2
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1800 arg4
= (int) SWIG_AsInt(obj3
);
1801 if (PyErr_Occurred()) SWIG_fail
;
1802 arg5
= (int) SWIG_AsInt(obj4
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1805 arg6
= (int) SWIG_AsInt(obj5
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1809 arg7
= (int) SWIG_AsInt(obj6
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1813 arg8
= (bool) SWIG_AsBool(obj7
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1823 Py_INCREF(Py_None
); resultobj
= Py_None
;
1830 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
*resultobj
;
1832 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1835 PyObject
* obj0
= 0 ;
1836 PyObject
* obj1
= 0 ;
1837 PyObject
* obj2
= 0 ;
1839 (char *) "self",(char *) "x",(char *) "y", NULL
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1845 arg2
= (int) SWIG_AsInt(obj1
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1847 arg3
= (int) SWIG_AsInt(obj2
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 (arg1
)->Scroll(arg2
,arg3
);
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1856 Py_INCREF(Py_None
); resultobj
= Py_None
;
1863 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
*resultobj
;
1865 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1868 PyObject
* obj0
= 0 ;
1869 PyObject
* obj1
= 0 ;
1871 (char *) "self",(char *) "orient", NULL
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1877 arg2
= (int) SWIG_AsInt(obj1
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 resultobj
= SWIG_FromInt((int)result
);
1893 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
*resultobj
;
1895 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1898 PyObject
* obj0
= 0 ;
1899 PyObject
* obj1
= 0 ;
1900 PyObject
* obj2
= 0 ;
1902 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1908 arg2
= (int) SWIG_AsInt(obj1
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1910 arg3
= (int) SWIG_AsInt(obj2
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1919 Py_INCREF(Py_None
); resultobj
= Py_None
;
1926 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
*resultobj
;
1928 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1931 PyObject
* obj0
= 0 ;
1932 PyObject
* obj1
= 0 ;
1933 PyObject
* obj2
= 0 ;
1935 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1941 arg2
= (int) SWIG_AsInt(obj1
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1943 arg3
= (int) SWIG_AsInt(obj2
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 (arg1
)->SetScrollRate(arg2
,arg3
);
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 Py_INCREF(Py_None
); resultobj
= Py_None
;
1959 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1962 int *arg2
= (int *) 0 ;
1963 int *arg3
= (int *) 0 ;
1966 PyObject
* obj0
= 0 ;
1968 (char *) "self", NULL
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1983 Py_INCREF(Py_None
); resultobj
= Py_None
;
1985 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1986 resultobj
= t_output_helper(resultobj
,o
);
1989 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1990 resultobj
= t_output_helper(resultobj
,o
);
1998 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
*resultobj
;
2000 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2003 PyObject
* obj0
= 0 ;
2004 PyObject
* obj1
= 0 ;
2005 PyObject
* obj2
= 0 ;
2007 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2013 arg2
= (bool) SWIG_AsBool(obj1
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2015 arg3
= (bool) SWIG_AsBool(obj2
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 (arg1
)->EnableScrolling(arg2
,arg3
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 Py_INCREF(Py_None
); resultobj
= Py_None
;
2031 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2033 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2034 int *arg2
= (int *) 0 ;
2035 int *arg3
= (int *) 0 ;
2038 PyObject
* obj0
= 0 ;
2040 (char *) "self", NULL
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 Py_INCREF(Py_None
); resultobj
= Py_None
;
2057 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2058 resultobj
= t_output_helper(resultobj
,o
);
2061 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2062 resultobj
= t_output_helper(resultobj
,o
);
2070 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2075 PyObject
* obj0
= 0 ;
2076 PyObject
* obj1
= 0 ;
2077 PyObject
* obj2
= 0 ;
2079 (char *) "self",(char *) "xs",(char *) "ys", NULL
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2085 arg2
= (double) SWIG_AsDouble(obj1
);
2086 if (PyErr_Occurred()) SWIG_fail
;
2087 arg3
= (double) SWIG_AsDouble(obj2
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 (arg1
)->SetScale(arg2
,arg3
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2096 Py_INCREF(Py_None
); resultobj
= Py_None
;
2103 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
*resultobj
;
2105 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2107 PyObject
* obj0
= 0 ;
2109 (char *) "self", NULL
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) SWIG_fail
;
2122 resultobj
= SWIG_FromDouble((double)result
);
2129 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
*resultobj
;
2131 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2133 PyObject
* obj0
= 0 ;
2135 (char *) "self", NULL
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 resultobj
= SWIG_FromDouble((double)result
);
2155 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2156 PyObject
*resultobj
;
2157 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2161 PyObject
* obj0
= 0 ;
2162 PyObject
* obj1
= 0 ;
2164 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2169 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2179 wxPoint
* resultptr
;
2180 resultptr
= new wxPoint((wxPoint
&) result
);
2181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2189 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2190 PyObject
*resultobj
;
2191 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2194 int *arg4
= (int *) 0 ;
2195 int *arg5
= (int *) 0 ;
2198 PyObject
* obj0
= 0 ;
2199 PyObject
* obj1
= 0 ;
2200 PyObject
* obj2
= 0 ;
2204 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2207 arg2
= (int) SWIG_AsInt(obj1
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2209 arg3
= (int) SWIG_AsInt(obj2
);
2210 if (PyErr_Occurred()) SWIG_fail
;
2212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2215 wxPyEndAllowThreads(__tstate
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2218 Py_INCREF(Py_None
); resultobj
= Py_None
;
2220 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2221 resultobj
= t_output_helper(resultobj
,o
);
2224 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2225 resultobj
= t_output_helper(resultobj
,o
);
2233 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2238 argc
= PyObject_Length(args
);
2239 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2240 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2246 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2255 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2258 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2266 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2274 _v
= SWIG_CheckInt(argv
[1]);
2276 _v
= SWIG_CheckInt(argv
[2]);
2278 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2284 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2289 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2290 PyObject
*resultobj
;
2291 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2295 PyObject
* obj0
= 0 ;
2296 PyObject
* obj1
= 0 ;
2298 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2313 wxPoint
* resultptr
;
2314 resultptr
= new wxPoint((wxPoint
&) result
);
2315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2323 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2324 PyObject
*resultobj
;
2325 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2328 int *arg4
= (int *) 0 ;
2329 int *arg5
= (int *) 0 ;
2332 PyObject
* obj0
= 0 ;
2333 PyObject
* obj1
= 0 ;
2334 PyObject
* obj2
= 0 ;
2338 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2341 arg2
= (int) SWIG_AsInt(obj1
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2343 arg3
= (int) SWIG_AsInt(obj2
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 Py_INCREF(Py_None
); resultobj
= Py_None
;
2354 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2355 resultobj
= t_output_helper(resultobj
,o
);
2358 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2359 resultobj
= t_output_helper(resultobj
,o
);
2367 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2372 argc
= PyObject_Length(args
);
2373 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2374 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2380 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2389 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2392 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2400 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2408 _v
= SWIG_CheckInt(argv
[1]);
2410 _v
= SWIG_CheckInt(argv
[2]);
2412 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2418 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2423 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
;
2425 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2426 PyObject
* obj0
= 0 ;
2428 (char *) "self", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 (arg1
)->AdjustScrollbars();
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2441 Py_INCREF(Py_None
); resultobj
= Py_None
;
2448 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
*resultobj
;
2450 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2451 wxScrollWinEvent
*arg2
= 0 ;
2453 PyObject
* obj0
= 0 ;
2454 PyObject
* obj1
= 0 ;
2456 (char *) "self",(char *) "event", NULL
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2466 PyErr_SetString(PyExc_TypeError
,"null reference");
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2476 resultobj
= SWIG_FromInt((int)result
);
2483 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2485 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2486 wxWindow
*arg2
= (wxWindow
*) 0 ;
2487 PyObject
* obj0
= 0 ;
2488 PyObject
* obj1
= 0 ;
2490 (char *) "self",(char *) "target", NULL
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 (arg1
)->SetTargetWindow(arg2
);
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2505 Py_INCREF(Py_None
); resultobj
= Py_None
;
2512 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2514 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2516 PyObject
* obj0
= 0 ;
2518 (char *) "self", NULL
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2532 resultobj
= wxPyMake_wxObject(result
);
2540 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2542 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2545 PyObject
* obj0
= 0 ;
2546 PyObject
* obj1
= 0 ;
2548 (char *) "self",(char *) "rect", NULL
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2556 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2565 Py_INCREF(Py_None
); resultobj
= Py_None
;
2572 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
*resultobj
;
2574 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2576 PyObject
* obj0
= 0 ;
2578 (char *) "self", NULL
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2586 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2588 wxPyEndAllowThreads(__tstate
);
2589 if (PyErr_Occurred()) SWIG_fail
;
2593 resultptr
= new wxRect((wxRect
&) result
);
2594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2602 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2605 wxVisualAttributes result
;
2606 PyObject
* obj0
= 0 ;
2608 (char *) "variant", NULL
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2613 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2617 if (!wxPyCheckForApp()) SWIG_fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2625 wxVisualAttributes
* resultptr
;
2626 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2635 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2638 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2640 return Py_BuildValue((char *)"");
2642 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2643 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2648 static PyObject
*_wrap_FrameNameStr_get() {
2653 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2655 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2662 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2663 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2668 static PyObject
*_wrap_DialogNameStr_get() {
2673 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2675 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2682 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2683 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2688 static PyObject
*_wrap_StatusLineNameStr_get() {
2693 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2695 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2702 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2703 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2708 static PyObject
*_wrap_ToolBarNameStr_get() {
2713 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2715 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2722 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2724 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2725 bool arg2
= (bool) True
;
2726 PyObject
* obj0
= 0 ;
2727 PyObject
* obj1
= 0 ;
2729 (char *) "self",(char *) "maximize", NULL
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2736 arg2
= (bool) SWIG_AsBool(obj1
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 (arg1
)->Maximize(arg2
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 Py_INCREF(Py_None
); resultobj
= Py_None
;
2753 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2758 (char *) "self", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 Py_INCREF(Py_None
); resultobj
= Py_None
;
2778 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
*resultobj
;
2780 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2781 bool arg2
= (bool) True
;
2782 PyObject
* obj0
= 0 ;
2783 PyObject
* obj1
= 0 ;
2785 (char *) "self",(char *) "iconize", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2792 arg2
= (bool) SWIG_AsBool(obj1
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 (arg1
)->Iconize(arg2
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 Py_INCREF(Py_None
); resultobj
= Py_None
;
2809 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2811 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2813 PyObject
* obj0
= 0 ;
2815 (char *) "self", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2837 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
*resultobj
;
2839 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2841 PyObject
* obj0
= 0 ;
2843 (char *) "self", NULL
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2865 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
*resultobj
;
2867 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2869 PyObject
* obj0
= 0 ;
2871 (char *) "self", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2886 resultptr
= new wxIcon((wxIcon
&) result
);
2887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2895 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2897 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2899 PyObject
* obj0
= 0 ;
2900 PyObject
* obj1
= 0 ;
2902 (char *) "self",(char *) "icon", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2912 PyErr_SetString(PyExc_TypeError
,"null reference");
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2922 Py_INCREF(Py_None
); resultobj
= Py_None
;
2929 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
;
2931 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2932 wxIconBundle
*arg2
= 0 ;
2933 PyObject
* obj0
= 0 ;
2934 PyObject
* obj1
= 0 ;
2936 (char *) "self",(char *) "icons", NULL
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2946 PyErr_SetString(PyExc_TypeError
,"null reference");
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2956 Py_INCREF(Py_None
); resultobj
= Py_None
;
2963 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
*resultobj
;
2965 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2967 long arg3
= (long) wxFULLSCREEN_ALL
;
2969 PyObject
* obj0
= 0 ;
2970 PyObject
* obj1
= 0 ;
2971 PyObject
* obj2
= 0 ;
2973 (char *) "self",(char *) "show",(char *) "style", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2979 arg2
= (bool) SWIG_AsBool(obj1
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2982 arg3
= (long) SWIG_AsLong(obj2
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3001 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3007 (char *) "self", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3029 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
*resultobj
;
3031 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3032 wxString
*arg2
= 0 ;
3033 bool temp2
= False
;
3034 PyObject
* obj0
= 0 ;
3035 PyObject
* obj1
= 0 ;
3037 (char *) "self",(char *) "title", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3044 arg2
= wxString_in_helper(obj1
);
3045 if (arg2
== NULL
) SWIG_fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 (arg1
)->SetTitle((wxString
const &)*arg2
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 Py_INCREF(Py_None
); resultobj
= Py_None
;
3070 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
*resultobj
;
3072 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3074 PyObject
* obj0
= 0 ;
3076 (char *) "self", NULL
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3102 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3105 wxRegion
*arg2
= 0 ;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3110 (char *) "self",(char *) "region", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3120 PyErr_SetString(PyExc_TypeError
,"null reference");
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3139 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3143 PyObject
* obj0
= 0 ;
3144 PyObject
* obj1
= 0 ;
3146 (char *) "self",(char *) "on", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3152 arg2
= (bool) SWIG_AsBool(obj1
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 (arg1
)->MacSetMetalAppearance(arg2
);
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3161 Py_INCREF(Py_None
); resultobj
= Py_None
;
3168 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
*resultobj
;
3170 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3172 PyObject
* obj0
= 0 ;
3174 (char *) "self", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3196 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3199 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3201 return Py_BuildValue((char *)"");
3203 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxWindow
*arg1
= (wxWindow
*) 0 ;
3206 int arg2
= (int) (int)-1 ;
3207 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3208 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3209 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3210 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3211 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3212 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3213 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3214 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3215 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3217 bool temp3
= False
;
3220 bool temp7
= False
;
3221 PyObject
* obj0
= 0 ;
3222 PyObject
* obj1
= 0 ;
3223 PyObject
* obj2
= 0 ;
3224 PyObject
* obj3
= 0 ;
3225 PyObject
* obj4
= 0 ;
3226 PyObject
* obj5
= 0 ;
3227 PyObject
* obj6
= 0 ;
3229 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3236 arg2
= (int const) SWIG_AsInt(obj1
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3241 arg3
= wxString_in_helper(obj2
);
3242 if (arg3
== NULL
) SWIG_fail
;
3249 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3255 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3259 arg6
= (long) SWIG_AsLong(obj5
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3264 arg7
= wxString_in_helper(obj6
);
3265 if (arg7
== NULL
) SWIG_fail
;
3270 if (!wxPyCheckForApp()) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3278 resultobj
= wxPyMake_wxObject(result
);
3302 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3311 if (!wxPyCheckForApp()) SWIG_fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 result
= (wxFrame
*)new wxFrame();
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3319 resultobj
= wxPyMake_wxObject(result
);
3327 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxFrame
*arg1
= (wxFrame
*) 0 ;
3330 wxWindow
*arg2
= (wxWindow
*) 0 ;
3331 int arg3
= (int) (int)-1 ;
3332 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3333 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3334 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3335 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3336 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3337 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3338 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3339 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3340 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3342 bool temp4
= False
;
3345 bool temp8
= False
;
3346 PyObject
* obj0
= 0 ;
3347 PyObject
* obj1
= 0 ;
3348 PyObject
* obj2
= 0 ;
3349 PyObject
* obj3
= 0 ;
3350 PyObject
* obj4
= 0 ;
3351 PyObject
* obj5
= 0 ;
3352 PyObject
* obj6
= 0 ;
3353 PyObject
* obj7
= 0 ;
3355 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3364 arg3
= (int const) SWIG_AsInt(obj2
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3369 arg4
= wxString_in_helper(obj3
);
3370 if (arg4
== NULL
) SWIG_fail
;
3377 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3383 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3387 arg7
= (long) SWIG_AsLong(obj6
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3392 arg8
= wxString_in_helper(obj7
);
3393 if (arg8
== NULL
) SWIG_fail
;
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3429 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxFrame
*arg1
= (wxFrame
*) 0 ;
3433 PyObject
* obj0
= 0 ;
3435 (char *) "self", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3449 wxPoint
* resultptr
;
3450 resultptr
= new wxPoint((wxPoint
&) result
);
3451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3459 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxFrame
*arg1
= (wxFrame
*) 0 ;
3462 PyObject
* obj0
= 0 ;
3464 (char *) "self", NULL
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 (arg1
)->SendSizeEvent();
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 Py_INCREF(Py_None
); resultobj
= Py_None
;
3484 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
;
3486 wxFrame
*arg1
= (wxFrame
*) 0 ;
3487 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3489 PyObject
* obj1
= 0 ;
3491 (char *) "self",(char *) "menubar", NULL
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 (arg1
)->SetMenuBar(arg2
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 Py_INCREF(Py_None
); resultobj
= Py_None
;
3513 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxFrame
*arg1
= (wxFrame
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3519 (char *) "self", NULL
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3533 resultobj
= wxPyMake_wxObject(result
);
3541 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3543 wxFrame
*arg1
= (wxFrame
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3547 PyObject
* obj1
= 0 ;
3549 (char *) "self",(char *) "winid", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3555 arg2
= (int) SWIG_AsInt(obj1
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3573 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
*resultobj
;
3575 wxFrame
*arg1
= (wxFrame
*) 0 ;
3576 int arg2
= (int) 1 ;
3577 long arg3
= (long) wxST_SIZEGRIP
;
3578 int arg4
= (int) 0 ;
3579 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3580 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3581 wxStatusBar
*result
;
3582 bool temp5
= False
;
3583 PyObject
* obj0
= 0 ;
3584 PyObject
* obj1
= 0 ;
3585 PyObject
* obj2
= 0 ;
3586 PyObject
* obj3
= 0 ;
3587 PyObject
* obj4
= 0 ;
3589 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3596 arg2
= (int) SWIG_AsInt(obj1
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3600 arg3
= (long) SWIG_AsLong(obj2
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 arg4
= (int) SWIG_AsInt(obj3
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3609 arg5
= wxString_in_helper(obj4
);
3610 if (arg5
== NULL
) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= wxPyMake_wxObject(result
);
3638 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxFrame
*arg1
= (wxFrame
*) 0 ;
3641 wxStatusBar
*result
;
3642 PyObject
* obj0
= 0 ;
3644 (char *) "self", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= wxPyMake_wxObject(result
);
3666 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
*resultobj
;
3668 wxFrame
*arg1
= (wxFrame
*) 0 ;
3669 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3670 PyObject
* obj0
= 0 ;
3671 PyObject
* obj1
= 0 ;
3673 (char *) "self",(char *) "statBar", NULL
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 (arg1
)->SetStatusBar(arg2
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 Py_INCREF(Py_None
); resultobj
= Py_None
;
3695 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3697 wxFrame
*arg1
= (wxFrame
*) 0 ;
3698 wxString
*arg2
= 0 ;
3699 int arg3
= (int) 0 ;
3700 bool temp2
= False
;
3701 PyObject
* obj0
= 0 ;
3702 PyObject
* obj1
= 0 ;
3703 PyObject
* obj2
= 0 ;
3705 (char *) "self",(char *) "text",(char *) "number", NULL
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3712 arg2
= wxString_in_helper(obj1
);
3713 if (arg2
== NULL
) SWIG_fail
;
3717 arg3
= (int) SWIG_AsInt(obj2
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 Py_INCREF(Py_None
); resultobj
= Py_None
;
3742 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxFrame
*arg1
= (wxFrame
*) 0 ;
3746 int *arg3
= (int *) 0 ;
3747 PyObject
* obj0
= 0 ;
3748 PyObject
* obj1
= 0 ;
3750 (char *) "self",(char *) "widths", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3757 arg2
= PyList_Size(obj1
);
3758 arg3
= int_LIST_helper(obj1
);
3759 if (arg3
== NULL
) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 if (arg3
) delete [] arg3
;
3775 if (arg3
) delete [] arg3
;
3781 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3783 wxFrame
*arg1
= (wxFrame
*) 0 ;
3784 wxString
*arg2
= 0 ;
3785 int arg3
= (int) 0 ;
3786 bool temp2
= False
;
3787 PyObject
* obj0
= 0 ;
3788 PyObject
* obj1
= 0 ;
3789 PyObject
* obj2
= 0 ;
3791 (char *) "self",(char *) "text",(char *) "number", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3798 arg2
= wxString_in_helper(obj1
);
3799 if (arg2
== NULL
) SWIG_fail
;
3803 arg3
= (int) SWIG_AsInt(obj2
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 Py_INCREF(Py_None
); resultobj
= Py_None
;
3828 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 wxFrame
*arg1
= (wxFrame
*) 0 ;
3831 int arg2
= (int) 0 ;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3835 (char *) "self",(char *) "number", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3842 arg2
= (int) SWIG_AsInt(obj1
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 (arg1
)->PopStatusText(arg2
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 Py_INCREF(Py_None
); resultobj
= Py_None
;
3859 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxFrame
*arg1
= (wxFrame
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3864 PyObject
* obj1
= 0 ;
3866 (char *) "self",(char *) "n", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 arg2
= (int) SWIG_AsInt(obj1
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 (arg1
)->SetStatusBarPane(arg2
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 Py_INCREF(Py_None
); resultobj
= Py_None
;
3888 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 wxFrame
*arg1
= (wxFrame
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3894 (char *) "self", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= SWIG_FromInt((int)result
);
3914 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxFrame
*arg1
= (wxFrame
*) 0 ;
3917 long arg2
= (long) -1 ;
3918 int arg3
= (int) -1 ;
3919 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3920 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3922 bool temp4
= False
;
3923 PyObject
* obj0
= 0 ;
3924 PyObject
* obj1
= 0 ;
3925 PyObject
* obj2
= 0 ;
3926 PyObject
* obj3
= 0 ;
3928 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3935 arg2
= (long) SWIG_AsLong(obj1
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3939 arg3
= (int) SWIG_AsInt(obj2
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3944 arg4
= wxString_in_helper(obj3
);
3945 if (arg4
== NULL
) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= wxPyMake_wxObject(result
);
3973 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxFrame
*arg1
= (wxFrame
*) 0 ;
3977 PyObject
* obj0
= 0 ;
3979 (char *) "self", NULL
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3993 resultobj
= wxPyMake_wxObject(result
);
4001 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxFrame
*arg1
= (wxFrame
*) 0 ;
4004 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj1
= 0 ;
4008 (char *) "self",(char *) "toolbar", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 (arg1
)->SetToolBar(arg2
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4023 Py_INCREF(Py_None
); resultobj
= Py_None
;
4030 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
;
4032 wxFrame
*arg1
= (wxFrame
*) 0 ;
4033 wxString
*arg2
= 0 ;
4035 bool temp2
= False
;
4036 PyObject
* obj0
= 0 ;
4037 PyObject
* obj1
= 0 ;
4038 PyObject
* obj2
= 0 ;
4040 (char *) "self",(char *) "text",(char *) "show", NULL
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4047 arg2
= wxString_in_helper(obj1
);
4048 if (arg2
== NULL
) SWIG_fail
;
4051 arg3
= (bool) SWIG_AsBool(obj2
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 Py_INCREF(Py_None
); resultobj
= Py_None
;
4075 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4077 wxFrame
*arg1
= (wxFrame
*) 0 ;
4078 wxMenu
*arg2
= (wxMenu
*) NULL
;
4079 PyObject
* obj0
= 0 ;
4080 PyObject
* obj1
= 0 ;
4082 (char *) "self",(char *) "menu", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 (arg1
)->DoMenuUpdates(arg2
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 Py_INCREF(Py_None
); resultobj
= Py_None
;
4106 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4109 wxVisualAttributes result
;
4110 PyObject
* obj0
= 0 ;
4112 (char *) "variant", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4117 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4121 if (!wxPyCheckForApp()) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4129 wxVisualAttributes
* resultptr
;
4130 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4139 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4142 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4144 return Py_BuildValue((char *)"");
4146 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
;
4148 wxWindow
*arg1
= (wxWindow
*) 0 ;
4149 int arg2
= (int) (int)-1 ;
4150 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4151 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4152 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4153 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4154 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4155 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4156 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4157 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4158 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4160 bool temp3
= False
;
4163 bool temp7
= False
;
4164 PyObject
* obj0
= 0 ;
4165 PyObject
* obj1
= 0 ;
4166 PyObject
* obj2
= 0 ;
4167 PyObject
* obj3
= 0 ;
4168 PyObject
* obj4
= 0 ;
4169 PyObject
* obj5
= 0 ;
4170 PyObject
* obj6
= 0 ;
4172 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4179 arg2
= (int const) SWIG_AsInt(obj1
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4184 arg3
= wxString_in_helper(obj2
);
4185 if (arg3
== NULL
) SWIG_fail
;
4192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4202 arg6
= (long) SWIG_AsLong(obj5
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4207 arg7
= wxString_in_helper(obj6
);
4208 if (arg7
== NULL
) SWIG_fail
;
4213 if (!wxPyCheckForApp()) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= wxPyMake_wxObject(result
);
4245 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4254 if (!wxPyCheckForApp()) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= (wxDialog
*)new wxDialog();
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= wxPyMake_wxObject(result
);
4270 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
;
4272 wxDialog
*arg1
= (wxDialog
*) 0 ;
4273 wxWindow
*arg2
= (wxWindow
*) 0 ;
4274 int arg3
= (int) (int)-1 ;
4275 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4276 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4277 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4278 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4279 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4280 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4281 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4282 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4283 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4285 bool temp4
= False
;
4288 bool temp8
= False
;
4289 PyObject
* obj0
= 0 ;
4290 PyObject
* obj1
= 0 ;
4291 PyObject
* obj2
= 0 ;
4292 PyObject
* obj3
= 0 ;
4293 PyObject
* obj4
= 0 ;
4294 PyObject
* obj5
= 0 ;
4295 PyObject
* obj6
= 0 ;
4296 PyObject
* obj7
= 0 ;
4298 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4307 arg3
= (int const) SWIG_AsInt(obj2
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4312 arg4
= wxString_in_helper(obj3
);
4313 if (arg4
== NULL
) SWIG_fail
;
4320 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4326 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4330 arg7
= (long) SWIG_AsLong(obj6
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4335 arg8
= wxString_in_helper(obj7
);
4336 if (arg8
== NULL
) SWIG_fail
;
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4372 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxDialog
*arg1
= (wxDialog
*) 0 ;
4376 PyObject
* obj0
= 0 ;
4377 PyObject
* obj1
= 0 ;
4379 (char *) "self",(char *) "returnCode", NULL
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4385 arg2
= (int) SWIG_AsInt(obj1
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 (arg1
)->SetReturnCode(arg2
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 Py_INCREF(Py_None
); resultobj
= Py_None
;
4401 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4403 wxDialog
*arg1
= (wxDialog
*) 0 ;
4405 PyObject
* obj0
= 0 ;
4407 (char *) "self", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= SWIG_FromInt((int)result
);
4427 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
;
4429 wxDialog
*arg1
= (wxDialog
*) 0 ;
4430 wxString
*arg2
= 0 ;
4432 bool temp2
= False
;
4433 PyObject
* obj0
= 0 ;
4434 PyObject
* obj1
= 0 ;
4436 (char *) "self",(char *) "message", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4443 arg2
= wxString_in_helper(obj1
);
4444 if (arg2
== NULL
) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= wxPyMake_wxSizer(result
);
4471 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxDialog
*arg1
= (wxDialog
*) 0 ;
4476 PyObject
* obj0
= 0 ;
4477 PyObject
* obj1
= 0 ;
4479 (char *) "self",(char *) "flags", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4485 arg2
= (long) SWIG_AsLong(obj1
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= wxPyMake_wxSizer(result
);
4503 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxDialog
*arg1
= (wxDialog
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4509 (char *) "self", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4531 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxDialog
*arg1
= (wxDialog
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4537 (char *) "self", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 result
= (int)(arg1
)->ShowModal();
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= SWIG_FromInt((int)result
);
4557 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4559 wxDialog
*arg1
= (wxDialog
*) 0 ;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4564 (char *) "self",(char *) "retCode", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4570 arg2
= (int) SWIG_AsInt(obj1
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 (arg1
)->EndModal(arg2
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 Py_INCREF(Py_None
); resultobj
= Py_None
;
4586 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
*resultobj
;
4588 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4589 wxVisualAttributes result
;
4590 PyObject
* obj0
= 0 ;
4592 (char *) "variant", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4597 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4601 if (!wxPyCheckForApp()) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4609 wxVisualAttributes
* resultptr
;
4610 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4619 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4622 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4624 return Py_BuildValue((char *)"");
4626 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxWindow
*arg1
= (wxWindow
*) 0 ;
4629 int arg2
= (int) (int)-1 ;
4630 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4631 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4632 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4633 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4634 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4635 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4636 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4637 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4638 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4639 wxMiniFrame
*result
;
4640 bool temp3
= False
;
4643 bool temp7
= False
;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4646 PyObject
* obj2
= 0 ;
4647 PyObject
* obj3
= 0 ;
4648 PyObject
* obj4
= 0 ;
4649 PyObject
* obj5
= 0 ;
4650 PyObject
* obj6
= 0 ;
4652 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4659 arg2
= (int const) SWIG_AsInt(obj1
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4664 arg3
= wxString_in_helper(obj2
);
4665 if (arg3
== NULL
) SWIG_fail
;
4672 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4678 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4682 arg6
= (long) SWIG_AsLong(obj5
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4687 arg7
= wxString_in_helper(obj6
);
4688 if (arg7
== NULL
) SWIG_fail
;
4693 if (!wxPyCheckForApp()) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4723 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
*resultobj
;
4725 wxMiniFrame
*result
;
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4732 if (!wxPyCheckForApp()) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (wxMiniFrame
*)new wxMiniFrame();
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4746 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4749 wxWindow
*arg2
= (wxWindow
*) 0 ;
4750 int arg3
= (int) (int)-1 ;
4751 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4752 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4753 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4754 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4755 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4756 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4757 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4758 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4759 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4761 bool temp4
= False
;
4764 bool temp8
= False
;
4765 PyObject
* obj0
= 0 ;
4766 PyObject
* obj1
= 0 ;
4767 PyObject
* obj2
= 0 ;
4768 PyObject
* obj3
= 0 ;
4769 PyObject
* obj4
= 0 ;
4770 PyObject
* obj5
= 0 ;
4771 PyObject
* obj6
= 0 ;
4772 PyObject
* obj7
= 0 ;
4774 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 arg3
= (int const) SWIG_AsInt(obj2
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4788 arg4
= wxString_in_helper(obj3
);
4789 if (arg4
== NULL
) SWIG_fail
;
4796 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4802 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4806 arg7
= (long) SWIG_AsLong(obj6
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4811 arg8
= wxString_in_helper(obj7
);
4812 if (arg8
== NULL
) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4848 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4851 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4853 return Py_BuildValue((char *)"");
4855 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxBitmap
*arg1
= 0 ;
4858 wxWindow
*arg2
= (wxWindow
*) 0 ;
4860 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4861 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4862 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4863 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4864 long arg6
= (long) wxNO_BORDER
;
4865 wxSplashScreenWindow
*result
;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4870 PyObject
* obj2
= 0 ;
4871 PyObject
* obj3
= 0 ;
4872 PyObject
* obj4
= 0 ;
4873 PyObject
* obj5
= 0 ;
4875 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4883 PyErr_SetString(PyExc_TypeError
,"null reference");
4886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4888 arg3
= (int) SWIG_AsInt(obj2
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4899 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4903 arg6
= (long) SWIG_AsLong(obj5
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4907 if (!wxPyCheckForApp()) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4921 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
;
4923 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4924 wxBitmap
*arg2
= 0 ;
4925 PyObject
* obj0
= 0 ;
4926 PyObject
* obj1
= 0 ;
4928 (char *) "self",(char *) "bitmap", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4938 PyErr_SetString(PyExc_TypeError
,"null reference");
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 Py_INCREF(Py_None
); resultobj
= Py_None
;
4955 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4959 PyObject
* obj0
= 0 ;
4961 (char *) "self", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4971 result
= (wxBitmap
*) &_result_ref
;
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4978 wxBitmap
* resultptr
= new wxBitmap(*result
);
4979 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4987 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4990 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4992 return Py_BuildValue((char *)"");
4994 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxBitmap
*arg1
= 0 ;
4999 wxWindow
*arg4
= (wxWindow
*) 0 ;
5000 int arg5
= (int) -1 ;
5001 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5002 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5003 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5004 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5005 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5006 wxSplashScreen
*result
;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5011 PyObject
* obj2
= 0 ;
5012 PyObject
* obj3
= 0 ;
5013 PyObject
* obj4
= 0 ;
5014 PyObject
* obj5
= 0 ;
5015 PyObject
* obj6
= 0 ;
5016 PyObject
* obj7
= 0 ;
5018 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5026 PyErr_SetString(PyExc_TypeError
,"null reference");
5029 arg2
= (long) SWIG_AsLong(obj1
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5031 arg3
= (int) SWIG_AsInt(obj2
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5033 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5036 arg5
= (int) SWIG_AsInt(obj4
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5042 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5048 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5052 arg8
= (long) SWIG_AsLong(obj7
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5056 if (!wxPyCheckForApp()) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5070 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "self", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= SWIG_FromLong((long)result
);
5096 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5099 wxSplashScreenWindow
*result
;
5100 PyObject
* obj0
= 0 ;
5102 (char *) "self", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5122 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5128 (char *) "self", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_FromInt((int)result
);
5148 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5151 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5153 return Py_BuildValue((char *)"");
5155 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxWindow
*arg1
= (wxWindow
*) 0 ;
5158 int arg2
= (int) -1 ;
5159 long arg3
= (long) wxST_SIZEGRIP
;
5160 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5161 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5162 wxStatusBar
*result
;
5163 bool temp4
= False
;
5164 PyObject
* obj0
= 0 ;
5165 PyObject
* obj1
= 0 ;
5166 PyObject
* obj2
= 0 ;
5167 PyObject
* obj3
= 0 ;
5169 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5176 arg2
= (int) SWIG_AsInt(obj1
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5180 arg3
= (long) SWIG_AsLong(obj2
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5185 arg4
= wxString_in_helper(obj3
);
5186 if (arg4
== NULL
) SWIG_fail
;
5191 if (!wxPyCheckForApp()) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= wxPyMake_wxObject(result
);
5215 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxStatusBar
*result
;
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5224 if (!wxPyCheckForApp()) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (wxStatusBar
*)new wxStatusBar();
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= wxPyMake_wxObject(result
);
5240 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
;
5242 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5243 wxWindow
*arg2
= (wxWindow
*) 0 ;
5244 int arg3
= (int) -1 ;
5245 long arg4
= (long) wxST_SIZEGRIP
;
5246 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5247 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5249 bool temp5
= False
;
5250 PyObject
* obj0
= 0 ;
5251 PyObject
* obj1
= 0 ;
5252 PyObject
* obj2
= 0 ;
5253 PyObject
* obj3
= 0 ;
5254 PyObject
* obj4
= 0 ;
5256 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5265 arg3
= (int) SWIG_AsInt(obj2
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5269 arg4
= (long) SWIG_AsLong(obj3
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5274 arg5
= wxString_in_helper(obj4
);
5275 if (arg5
== NULL
) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5303 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
;
5305 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5306 int arg2
= (int) 1 ;
5307 PyObject
* obj0
= 0 ;
5308 PyObject
* obj1
= 0 ;
5310 (char *) "self",(char *) "number", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5317 arg2
= (int) SWIG_AsInt(obj1
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 (arg1
)->SetFieldsCount(arg2
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 Py_INCREF(Py_None
); resultobj
= Py_None
;
5334 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5338 PyObject
* obj0
= 0 ;
5340 (char *) "self", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_FromInt((int)result
);
5360 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5363 wxString
*arg2
= 0 ;
5364 int arg3
= (int) 0 ;
5365 bool temp2
= False
;
5366 PyObject
* obj0
= 0 ;
5367 PyObject
* obj1
= 0 ;
5368 PyObject
* obj2
= 0 ;
5370 (char *) "self",(char *) "text",(char *) "number", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5377 arg2
= wxString_in_helper(obj1
);
5378 if (arg2
== NULL
) SWIG_fail
;
5382 arg3
= (int) SWIG_AsInt(obj2
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 Py_INCREF(Py_None
); resultobj
= Py_None
;
5407 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5410 int arg2
= (int) 0 ;
5412 PyObject
* obj0
= 0 ;
5413 PyObject
* obj1
= 0 ;
5415 (char *) "self",(char *) "number", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5422 arg2
= (int) SWIG_AsInt(obj1
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5445 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
;
5447 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5448 wxString
*arg2
= 0 ;
5449 int arg3
= (int) 0 ;
5450 bool temp2
= False
;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 PyObject
* obj2
= 0 ;
5455 (char *) "self",(char *) "text",(char *) "number", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5462 arg2
= wxString_in_helper(obj1
);
5463 if (arg2
== NULL
) SWIG_fail
;
5467 arg3
= (int) SWIG_AsInt(obj2
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 Py_INCREF(Py_None
); resultobj
= Py_None
;
5492 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
;
5494 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5495 int arg2
= (int) 0 ;
5496 PyObject
* obj0
= 0 ;
5497 PyObject
* obj1
= 0 ;
5499 (char *) "self",(char *) "number", NULL
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5506 arg2
= (int) SWIG_AsInt(obj1
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 (arg1
)->PopStatusText(arg2
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5516 Py_INCREF(Py_None
); resultobj
= Py_None
;
5523 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
*resultobj
;
5525 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5527 int *arg3
= (int *) 0 ;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5531 (char *) "self",(char *) "widths", NULL
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5538 arg2
= PyList_Size(obj1
);
5539 arg3
= int_LIST_helper(obj1
);
5540 if (arg3
== NULL
) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 Py_INCREF(Py_None
); resultobj
= Py_None
;
5551 if (arg3
) delete [] arg3
;
5556 if (arg3
) delete [] arg3
;
5562 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5570 (char *) "self",(char *) "i", NULL
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5576 arg2
= (int) SWIG_AsInt(obj1
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5587 resultptr
= new wxRect((wxRect
&) result
);
5588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5596 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5600 PyObject
* obj0
= 0 ;
5601 PyObject
* obj1
= 0 ;
5603 (char *) "self",(char *) "height", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5609 arg2
= (int) SWIG_AsInt(obj1
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 (arg1
)->SetMinHeight(arg2
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 Py_INCREF(Py_None
); resultobj
= Py_None
;
5625 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5631 (char *) "self", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_FromInt((int)result
);
5651 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5655 PyObject
* obj0
= 0 ;
5657 (char *) "self", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= SWIG_FromInt((int)result
);
5677 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5680 wxVisualAttributes result
;
5681 PyObject
* obj0
= 0 ;
5683 (char *) "variant", NULL
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5688 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5692 if (!wxPyCheckForApp()) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5700 wxVisualAttributes
* resultptr
;
5701 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5710 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5713 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5715 return Py_BuildValue((char *)"");
5717 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5718 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5723 static PyObject
*_wrap_SplitterNameStr_get() {
5728 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5730 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5737 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxWindow
*arg1
= (wxWindow
*) 0 ;
5740 int arg2
= (int) -1 ;
5741 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5742 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5743 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5744 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5745 long arg5
= (long) wxSP_3D
;
5746 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5747 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5748 wxSplitterWindow
*result
;
5751 bool temp6
= False
;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5754 PyObject
* obj2
= 0 ;
5755 PyObject
* obj3
= 0 ;
5756 PyObject
* obj4
= 0 ;
5757 PyObject
* obj5
= 0 ;
5759 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5766 arg2
= (int) SWIG_AsInt(obj1
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5772 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5778 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5782 arg5
= (long) SWIG_AsLong(obj4
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5787 arg6
= wxString_in_helper(obj5
);
5788 if (arg6
== NULL
) SWIG_fail
;
5793 if (!wxPyCheckForApp()) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5815 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxSplitterWindow
*result
;
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5824 if (!wxPyCheckForApp()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5838 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5841 wxWindow
*arg2
= (wxWindow
*) 0 ;
5842 int arg3
= (int) -1 ;
5843 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5844 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5845 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5846 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5847 long arg6
= (long) wxSP_3D
;
5848 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5849 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5853 bool temp7
= False
;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5856 PyObject
* obj2
= 0 ;
5857 PyObject
* obj3
= 0 ;
5858 PyObject
* obj4
= 0 ;
5859 PyObject
* obj5
= 0 ;
5860 PyObject
* obj6
= 0 ;
5862 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5871 arg3
= (int) SWIG_AsInt(obj2
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5887 arg6
= (long) SWIG_AsLong(obj5
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5892 arg7
= wxString_in_helper(obj6
);
5893 if (arg7
== NULL
) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5921 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
;
5923 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5925 PyObject
* obj0
= 0 ;
5927 (char *) "self", NULL
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= wxPyMake_wxObject(result
);
5949 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5953 PyObject
* obj0
= 0 ;
5955 (char *) "self", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5969 resultobj
= wxPyMake_wxObject(result
);
5977 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5982 PyObject
* obj1
= 0 ;
5984 (char *) "self",(char *) "mode", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 arg2
= (int) SWIG_AsInt(obj1
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 (arg1
)->SetSplitMode(arg2
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 Py_INCREF(Py_None
); resultobj
= Py_None
;
6006 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6010 PyObject
* obj0
= 0 ;
6012 (char *) "self", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= SWIG_FromInt((int)result
);
6032 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6034 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6035 wxWindow
*arg2
= (wxWindow
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6039 (char *) "self",(char *) "window", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 (arg1
)->Initialize(arg2
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6054 Py_INCREF(Py_None
); resultobj
= Py_None
;
6061 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
;
6063 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6064 wxWindow
*arg2
= (wxWindow
*) 0 ;
6065 wxWindow
*arg3
= (wxWindow
*) 0 ;
6066 int arg4
= (int) 0 ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6070 PyObject
* obj2
= 0 ;
6071 PyObject
* obj3
= 0 ;
6073 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6081 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 arg4
= (int) SWIG_AsInt(obj3
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6103 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6106 wxWindow
*arg2
= (wxWindow
*) 0 ;
6107 wxWindow
*arg3
= (wxWindow
*) 0 ;
6108 int arg4
= (int) 0 ;
6110 PyObject
* obj0
= 0 ;
6111 PyObject
* obj1
= 0 ;
6112 PyObject
* obj2
= 0 ;
6113 PyObject
* obj3
= 0 ;
6115 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6123 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6126 arg4
= (int) SWIG_AsInt(obj3
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6145 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6148 wxWindow
*arg2
= (wxWindow
*) NULL
;
6150 PyObject
* obj0
= 0 ;
6151 PyObject
* obj1
= 0 ;
6153 (char *) "self",(char *) "toRemove", NULL
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= (bool)(arg1
)->Unsplit(arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6179 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6182 wxWindow
*arg2
= (wxWindow
*) 0 ;
6183 wxWindow
*arg3
= (wxWindow
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6187 PyObject
* obj2
= 0 ;
6189 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6215 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6218 PyObject
* obj0
= 0 ;
6220 (char *) "self", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 (arg1
)->UpdateSize();
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 Py_INCREF(Py_None
); resultobj
= Py_None
;
6240 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6244 PyObject
* obj0
= 0 ;
6246 (char *) "self", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6268 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6275 (char *) "self",(char *) "width", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6281 arg2
= (int) SWIG_AsInt(obj1
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 (arg1
)->SetSashSize(arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 Py_INCREF(Py_None
); resultobj
= Py_None
;
6297 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6304 (char *) "self",(char *) "width", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 arg2
= (int) SWIG_AsInt(obj1
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 (arg1
)->SetBorderSize(arg2
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 Py_INCREF(Py_None
); resultobj
= Py_None
;
6326 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
;
6328 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6330 PyObject
* obj0
= 0 ;
6332 (char *) "self", NULL
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 resultobj
= SWIG_FromInt((int)result
);
6352 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6356 PyObject
* obj0
= 0 ;
6358 (char *) "self", NULL
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= SWIG_FromInt((int)result
);
6378 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6382 bool arg3
= (bool) True
;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6385 PyObject
* obj2
= 0 ;
6387 (char *) "self",(char *) "position",(char *) "redraw", NULL
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6393 arg2
= (int) SWIG_AsInt(obj1
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 arg3
= (bool) SWIG_AsBool(obj2
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 (arg1
)->SetSashPosition(arg2
,arg3
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 Py_INCREF(Py_None
); resultobj
= Py_None
;
6413 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6417 PyObject
* obj0
= 0 ;
6419 (char *) "self", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= SWIG_FromInt((int)result
);
6439 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6446 (char *) "self",(char *) "min", NULL
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6452 arg2
= (int) SWIG_AsInt(obj1
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 (arg1
)->SetMinimumPaneSize(arg2
);
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 Py_INCREF(Py_None
); resultobj
= Py_None
;
6468 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6472 PyObject
* obj0
= 0 ;
6474 (char *) "self", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= SWIG_FromInt((int)result
);
6494 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6499 int arg4
= (int) 5 ;
6501 PyObject
* obj0
= 0 ;
6502 PyObject
* obj1
= 0 ;
6503 PyObject
* obj2
= 0 ;
6504 PyObject
* obj3
= 0 ;
6506 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6512 arg2
= (int) SWIG_AsInt(obj1
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6514 arg3
= (int) SWIG_AsInt(obj2
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 arg4
= (int) SWIG_AsInt(obj3
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6536 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6539 PyObject
* obj0
= 0 ;
6541 (char *) "self", NULL
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 (arg1
)->SizeWindows();
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 Py_INCREF(Py_None
); resultobj
= Py_None
;
6561 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6568 (char *) "self",(char *) "needUpdating", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6574 arg2
= (bool) SWIG_AsBool(obj1
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 (arg1
)->SetNeedUpdating(arg2
);
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6583 Py_INCREF(Py_None
); resultobj
= Py_None
;
6590 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
;
6592 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6594 PyObject
* obj0
= 0 ;
6596 (char *) "self", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6618 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
*resultobj
;
6620 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6621 wxVisualAttributes result
;
6622 PyObject
* obj0
= 0 ;
6624 (char *) "variant", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6629 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6633 if (!wxPyCheckForApp()) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6641 wxVisualAttributes
* resultptr
;
6642 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6651 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6654 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6656 return Py_BuildValue((char *)"");
6658 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
*resultobj
;
6660 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6661 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6662 wxSplitterEvent
*result
;
6663 PyObject
* obj0
= 0 ;
6664 PyObject
* obj1
= 0 ;
6666 (char *) "type",(char *) "splitter", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6671 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6692 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6696 PyObject
* obj0
= 0 ;
6697 PyObject
* obj1
= 0 ;
6699 (char *) "self",(char *) "pos", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6705 arg2
= (int) SWIG_AsInt(obj1
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 (arg1
)->SetSashPosition(arg2
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 Py_INCREF(Py_None
); resultobj
= Py_None
;
6721 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6727 (char *) "self", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_FromInt((int)result
);
6747 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6753 (char *) "self", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= wxPyMake_wxObject(result
);
6775 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6779 PyObject
* obj0
= 0 ;
6781 (char *) "self", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= SWIG_FromInt((int)result
);
6801 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
;
6803 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6805 PyObject
* obj0
= 0 ;
6807 (char *) "self", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_FromInt((int)result
);
6827 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6830 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6832 return Py_BuildValue((char *)"");
6834 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6835 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6840 static PyObject
*_wrap_SashNameStr_get() {
6845 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6847 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6854 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6855 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6860 static PyObject
*_wrap_SashLayoutNameStr_get() {
6865 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6867 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6874 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
;
6876 wxWindow
*arg1
= (wxWindow
*) 0 ;
6877 int arg2
= (int) -1 ;
6878 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6879 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6880 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6881 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6882 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6883 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6884 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6885 wxSashWindow
*result
;
6888 bool temp6
= False
;
6889 PyObject
* obj0
= 0 ;
6890 PyObject
* obj1
= 0 ;
6891 PyObject
* obj2
= 0 ;
6892 PyObject
* obj3
= 0 ;
6893 PyObject
* obj4
= 0 ;
6894 PyObject
* obj5
= 0 ;
6896 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6903 arg2
= (int) SWIG_AsInt(obj1
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6909 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6915 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6919 arg5
= (long) SWIG_AsLong(obj4
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6924 arg6
= wxString_in_helper(obj5
);
6925 if (arg6
== NULL
) SWIG_fail
;
6930 if (!wxPyCheckForApp()) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6952 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxSashWindow
*result
;
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6961 if (!wxPyCheckForApp()) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 result
= (wxSashWindow
*)new wxSashWindow();
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6975 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6978 wxWindow
*arg2
= (wxWindow
*) 0 ;
6979 int arg3
= (int) -1 ;
6980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6982 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6983 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6984 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6985 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6986 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6990 bool temp7
= False
;
6991 PyObject
* obj0
= 0 ;
6992 PyObject
* obj1
= 0 ;
6993 PyObject
* obj2
= 0 ;
6994 PyObject
* obj3
= 0 ;
6995 PyObject
* obj4
= 0 ;
6996 PyObject
* obj5
= 0 ;
6997 PyObject
* obj6
= 0 ;
6999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7008 arg3
= (int) SWIG_AsInt(obj2
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7014 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7020 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7024 arg6
= (long) SWIG_AsLong(obj5
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7029 arg7
= wxString_in_helper(obj6
);
7030 if (arg7
== NULL
) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7058 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7063 PyObject
* obj0
= 0 ;
7064 PyObject
* obj1
= 0 ;
7065 PyObject
* obj2
= 0 ;
7067 (char *) "self",(char *) "edge",(char *) "sash", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7073 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7075 arg3
= (bool) SWIG_AsBool(obj2
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 Py_INCREF(Py_None
); resultobj
= Py_None
;
7091 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7096 PyObject
* obj0
= 0 ;
7097 PyObject
* obj1
= 0 ;
7099 (char *) "self",(char *) "edge", NULL
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7105 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7123 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7130 PyObject
* obj2
= 0 ;
7132 (char *) "self",(char *) "edge",(char *) "border", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7138 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7140 arg3
= (bool) SWIG_AsBool(obj2
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 Py_INCREF(Py_None
); resultobj
= Py_None
;
7156 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7162 PyObject
* obj1
= 0 ;
7164 (char *) "self",(char *) "edge", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7170 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7188 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7193 PyObject
* obj0
= 0 ;
7194 PyObject
* obj1
= 0 ;
7196 (char *) "self",(char *) "edge", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= SWIG_FromInt((int)result
);
7218 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7225 (char *) "self",(char *) "width", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7231 arg2
= (int) SWIG_AsInt(obj1
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 (arg1
)->SetDefaultBorderSize(arg2
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7247 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_FromInt((int)result
);
7273 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7280 (char *) "self",(char *) "width", NULL
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7286 arg2
= (int) SWIG_AsInt(obj1
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 (arg1
)->SetExtraBorderSize(arg2
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7302 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7308 (char *) "self", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= SWIG_FromInt((int)result
);
7328 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7335 (char *) "self",(char *) "min", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7341 arg2
= (int) SWIG_AsInt(obj1
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 (arg1
)->SetMinimumSizeX(arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7364 (char *) "self",(char *) "min", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7370 arg2
= (int) SWIG_AsInt(obj1
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 (arg1
)->SetMinimumSizeY(arg2
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 Py_INCREF(Py_None
); resultobj
= Py_None
;
7386 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= SWIG_FromInt((int)result
);
7412 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7416 PyObject
* obj0
= 0 ;
7418 (char *) "self", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 resultobj
= SWIG_FromInt((int)result
);
7438 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
;
7440 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7442 PyObject
* obj0
= 0 ;
7443 PyObject
* obj1
= 0 ;
7445 (char *) "self",(char *) "max", NULL
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7451 arg2
= (int) SWIG_AsInt(obj1
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 (arg1
)->SetMaximumSizeX(arg2
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 Py_INCREF(Py_None
); resultobj
= Py_None
;
7467 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7469 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7471 PyObject
* obj0
= 0 ;
7472 PyObject
* obj1
= 0 ;
7474 (char *) "self",(char *) "max", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7480 arg2
= (int) SWIG_AsInt(obj1
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 (arg1
)->SetMaximumSizeY(arg2
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 Py_INCREF(Py_None
); resultobj
= Py_None
;
7496 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "self", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= SWIG_FromInt((int)result
);
7522 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7526 PyObject
* obj0
= 0 ;
7528 (char *) "self", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_FromInt((int)result
);
7548 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7553 int arg4
= (int) 2 ;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7557 PyObject
* obj2
= 0 ;
7558 PyObject
* obj3
= 0 ;
7560 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7566 arg2
= (int) SWIG_AsInt(obj1
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7568 arg3
= (int) SWIG_AsInt(obj2
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 arg4
= (int) SWIG_AsInt(obj3
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= SWIG_FromInt((int)result
);
7588 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7591 PyObject
* obj0
= 0 ;
7593 (char *) "self", NULL
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 (arg1
)->SizeWindows();
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 Py_INCREF(Py_None
); resultobj
= Py_None
;
7613 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7616 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7618 return Py_BuildValue((char *)"");
7620 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 int arg1
= (int) 0 ;
7623 int arg2
= (int) wxSASH_NONE
;
7624 wxSashEvent
*result
;
7625 PyObject
* obj0
= 0 ;
7626 PyObject
* obj1
= 0 ;
7628 (char *) "id",(char *) "edge", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7633 arg1
= (int) SWIG_AsInt(obj0
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7637 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7654 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7661 (char *) "self",(char *) "edge", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7667 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 Py_INCREF(Py_None
); resultobj
= Py_None
;
7683 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7687 PyObject
* obj0
= 0 ;
7689 (char *) "self", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= SWIG_FromInt((int)result
);
7709 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7717 (char *) "self",(char *) "rect", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7725 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 Py_INCREF(Py_None
); resultobj
= Py_None
;
7741 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7762 resultptr
= new wxRect((wxRect
&) result
);
7763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7771 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7776 PyObject
* obj1
= 0 ;
7778 (char *) "self",(char *) "status", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7784 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 Py_INCREF(Py_None
); resultobj
= Py_None
;
7800 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7806 (char *) "self", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_FromInt((int)result
);
7826 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7829 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7831 return Py_BuildValue((char *)"");
7833 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 int arg1
= (int) 0 ;
7836 wxQueryLayoutInfoEvent
*result
;
7837 PyObject
* obj0
= 0 ;
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7844 arg1
= (int) SWIG_AsInt(obj0
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7861 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7865 PyObject
* obj0
= 0 ;
7866 PyObject
* obj1
= 0 ;
7868 (char *) "self",(char *) "length", NULL
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7874 arg2
= (int) SWIG_AsInt(obj1
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 (arg1
)->SetRequestedLength(arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 Py_INCREF(Py_None
); resultobj
= Py_None
;
7890 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7894 PyObject
* obj0
= 0 ;
7896 (char *) "self", NULL
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7909 resultobj
= SWIG_FromInt((int)result
);
7916 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7917 PyObject
*resultobj
;
7918 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7920 PyObject
* obj0
= 0 ;
7921 PyObject
* obj1
= 0 ;
7923 (char *) "self",(char *) "flags", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7929 arg2
= (int) SWIG_AsInt(obj1
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 (arg1
)->SetFlags(arg2
);
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 Py_INCREF(Py_None
); resultobj
= Py_None
;
7945 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7951 (char *) "self", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7964 resultobj
= SWIG_FromInt((int)result
);
7971 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
;
7973 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7976 PyObject
* obj0
= 0 ;
7977 PyObject
* obj1
= 0 ;
7979 (char *) "self",(char *) "size", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7987 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 (arg1
)->SetSize((wxSize
const &)*arg2
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 Py_INCREF(Py_None
); resultobj
= Py_None
;
8003 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
;
8005 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8007 PyObject
* obj0
= 0 ;
8009 (char *) "self", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8024 resultptr
= new wxSize((wxSize
&) result
);
8025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8033 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8038 PyObject
* obj1
= 0 ;
8040 (char *) "self",(char *) "orient", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8046 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 Py_INCREF(Py_None
); resultobj
= Py_None
;
8062 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_FromInt((int)result
);
8088 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8092 PyObject
* obj0
= 0 ;
8093 PyObject
* obj1
= 0 ;
8095 (char *) "self",(char *) "align", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8101 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 Py_INCREF(Py_None
); resultobj
= Py_None
;
8117 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8121 PyObject
* obj0
= 0 ;
8123 (char *) "self", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= SWIG_FromInt((int)result
);
8143 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8146 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8148 return Py_BuildValue((char *)"");
8150 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 int arg1
= (int) 0 ;
8153 wxCalculateLayoutEvent
*result
;
8154 PyObject
* obj0
= 0 ;
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8161 arg1
= (int) SWIG_AsInt(obj0
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8178 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8183 PyObject
* obj1
= 0 ;
8185 (char *) "self",(char *) "flags", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8191 arg2
= (int) SWIG_AsInt(obj1
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 (arg1
)->SetFlags(arg2
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 Py_INCREF(Py_None
); resultobj
= Py_None
;
8207 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8213 (char *) "self", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= SWIG_FromInt((int)result
);
8233 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8241 (char *) "self",(char *) "rect", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8249 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 (arg1
)->SetRect((wxRect
const &)*arg2
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 Py_INCREF(Py_None
); resultobj
= Py_None
;
8265 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8267 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8271 (char *) "self", NULL
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8286 resultptr
= new wxRect((wxRect
&) result
);
8287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8295 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8298 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8300 return Py_BuildValue((char *)"");
8302 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
*resultobj
;
8304 wxWindow
*arg1
= (wxWindow
*) 0 ;
8305 int arg2
= (int) -1 ;
8306 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8307 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8308 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8309 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8310 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8311 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8312 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8313 wxSashLayoutWindow
*result
;
8316 bool temp6
= False
;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8319 PyObject
* obj2
= 0 ;
8320 PyObject
* obj3
= 0 ;
8321 PyObject
* obj4
= 0 ;
8322 PyObject
* obj5
= 0 ;
8324 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8331 arg2
= (int) SWIG_AsInt(obj1
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8337 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8343 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8347 arg5
= (long) SWIG_AsLong(obj4
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8352 arg6
= wxString_in_helper(obj5
);
8353 if (arg6
== NULL
) SWIG_fail
;
8358 if (!wxPyCheckForApp()) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8380 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxSashLayoutWindow
*result
;
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8389 if (!wxPyCheckForApp()) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8403 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
;
8405 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8406 wxWindow
*arg2
= (wxWindow
*) 0 ;
8407 int arg3
= (int) -1 ;
8408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8412 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8413 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8414 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8418 bool temp7
= False
;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8421 PyObject
* obj2
= 0 ;
8422 PyObject
* obj3
= 0 ;
8423 PyObject
* obj4
= 0 ;
8424 PyObject
* obj5
= 0 ;
8425 PyObject
* obj6
= 0 ;
8427 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8436 arg3
= (int) SWIG_AsInt(obj2
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8442 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8448 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8452 arg6
= (long) SWIG_AsLong(obj5
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8457 arg7
= wxString_in_helper(obj6
);
8458 if (arg7
== NULL
) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8486 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8490 PyObject
* obj0
= 0 ;
8492 (char *) "self", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (int)(arg1
)->GetAlignment();
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= SWIG_FromInt((int)result
);
8512 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8516 PyObject
* obj0
= 0 ;
8518 (char *) "self", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= (int)(arg1
)->GetOrientation();
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= SWIG_FromInt((int)result
);
8538 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8542 PyObject
* obj0
= 0 ;
8543 PyObject
* obj1
= 0 ;
8545 (char *) "self",(char *) "alignment", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8551 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 Py_INCREF(Py_None
); resultobj
= Py_None
;
8567 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
*resultobj
;
8569 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8572 PyObject
* obj0
= 0 ;
8573 PyObject
* obj1
= 0 ;
8575 (char *) "self",(char *) "size", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8583 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 Py_INCREF(Py_None
); resultobj
= Py_None
;
8599 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8606 (char *) "self",(char *) "orientation", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8612 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 Py_INCREF(Py_None
); resultobj
= Py_None
;
8628 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8631 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8633 return Py_BuildValue((char *)"");
8635 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
;
8637 wxLayoutAlgorithm
*result
;
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8657 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
;
8659 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8660 PyObject
* obj0
= 0 ;
8662 (char *) "self", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 Py_INCREF(Py_None
); resultobj
= Py_None
;
8682 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8685 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8686 wxRect
*arg3
= (wxRect
*) NULL
;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 PyObject
* obj2
= 0 ;
8692 (char *) "self",(char *) "frame",(char *) "rect", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8701 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8720 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8723 wxFrame
*arg2
= (wxFrame
*) 0 ;
8724 wxWindow
*arg3
= (wxWindow
*) NULL
;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 PyObject
* obj2
= 0 ;
8730 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8739 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8758 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8761 wxWindow
*arg2
= (wxWindow
*) 0 ;
8762 wxWindow
*arg3
= (wxWindow
*) NULL
;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8766 PyObject
* obj2
= 0 ;
8768 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8777 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8796 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8799 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8801 return Py_BuildValue((char *)"");
8803 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxWindow
*arg1
= (wxWindow
*) 0 ;
8806 int arg2
= (int) wxBORDER_NONE
;
8807 wxPopupWindow
*result
;
8808 PyObject
* obj0
= 0 ;
8809 PyObject
* obj1
= 0 ;
8811 (char *) "parent",(char *) "flags", NULL
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8818 arg2
= (int) SWIG_AsInt(obj1
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8835 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxPopupWindow
*result
;
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (wxPopupWindow
*)new wxPopupWindow();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8857 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8860 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8862 return Py_BuildValue((char *)"");
8864 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxWindow
*arg1
= (wxWindow
*) 0 ;
8867 int arg2
= (int) wxBORDER_NONE
;
8868 wxPyPopupTransientWindow
*result
;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8872 (char *) "parent",(char *) "style", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8879 arg2
= (int) SWIG_AsInt(obj1
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8896 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
;
8898 wxPyPopupTransientWindow
*result
;
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8918 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8921 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8923 return Py_BuildValue((char *)"");
8925 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxWindow
*arg1
= (wxWindow
*) 0 ;
8928 wxString
*arg2
= 0 ;
8929 int arg3
= (int) 100 ;
8930 wxRect
*arg4
= (wxRect
*) NULL
;
8931 wxTipWindow
*result
;
8932 bool temp2
= False
;
8933 PyObject
* obj0
= 0 ;
8934 PyObject
* obj1
= 0 ;
8935 PyObject
* obj2
= 0 ;
8936 PyObject
* obj3
= 0 ;
8938 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8945 arg2
= wxString_in_helper(obj1
);
8946 if (arg2
== NULL
) SWIG_fail
;
8950 arg3
= (int) SWIG_AsInt(obj2
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8954 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 if (!wxPyCheckForApp()) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8980 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8988 (char *) "self",(char *) "rectBound", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8996 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 Py_INCREF(Py_None
); resultobj
= Py_None
;
9012 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9015 PyObject
* obj0
= 0 ;
9017 (char *) "self", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 Py_INCREF(Py_None
); resultobj
= Py_None
;
9037 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9040 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9042 return Py_BuildValue((char *)"");
9044 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxWindow
*arg1
= (wxWindow
*) 0 ;
9047 int arg2
= (int) wxID_ANY
;
9048 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9049 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9050 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9051 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9052 long arg5
= (long) 0 ;
9053 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9054 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9055 wxPyVScrolledWindow
*result
;
9058 bool temp6
= False
;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 PyObject
* obj2
= 0 ;
9062 PyObject
* obj3
= 0 ;
9063 PyObject
* obj4
= 0 ;
9064 PyObject
* obj5
= 0 ;
9066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9073 arg2
= (int) SWIG_AsInt(obj1
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9089 arg5
= (long) SWIG_AsLong(obj4
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9094 arg6
= wxString_in_helper(obj5
);
9095 if (arg6
== NULL
) SWIG_fail
;
9100 if (!wxPyCheckForApp()) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9122 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxPyVScrolledWindow
*result
;
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9131 if (!wxPyCheckForApp()) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9145 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9148 PyObject
*arg2
= (PyObject
*) 0 ;
9149 PyObject
*arg3
= (PyObject
*) 0 ;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9152 PyObject
* obj2
= 0 ;
9154 (char *) "self",(char *) "self",(char *) "_class", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 Py_INCREF(Py_None
); resultobj
= Py_None
;
9176 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9179 wxWindow
*arg2
= (wxWindow
*) 0 ;
9180 int arg3
= (int) wxID_ANY
;
9181 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9182 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9183 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9184 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9185 long arg6
= (long) 0 ;
9186 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9187 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9191 bool temp7
= False
;
9192 PyObject
* obj0
= 0 ;
9193 PyObject
* obj1
= 0 ;
9194 PyObject
* obj2
= 0 ;
9195 PyObject
* obj3
= 0 ;
9196 PyObject
* obj4
= 0 ;
9197 PyObject
* obj5
= 0 ;
9198 PyObject
* obj6
= 0 ;
9200 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9209 arg3
= (int) SWIG_AsInt(obj2
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9221 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9225 arg6
= (long) SWIG_AsLong(obj5
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9230 arg7
= wxString_in_helper(obj6
);
9231 if (arg7
== NULL
) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9259 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9266 (char *) "self",(char *) "count", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 (arg1
)->SetLineCount(arg2
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9293 PyObject
* obj0
= 0 ;
9294 PyObject
* obj1
= 0 ;
9296 (char *) "self",(char *) "line", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9302 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9320 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9326 PyObject
* obj1
= 0 ;
9328 (char *) "self",(char *) "lines", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9334 arg2
= (int) SWIG_AsInt(obj1
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (bool)(arg1
)->ScrollLines(arg2
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9352 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9358 PyObject
* obj1
= 0 ;
9360 (char *) "self",(char *) "pages", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 arg2
= (int) SWIG_AsInt(obj1
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (bool)(arg1
)->ScrollPages(arg2
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9384 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9386 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9391 (char *) "self",(char *) "line", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9397 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 (arg1
)->RefreshLine(arg2
);
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 Py_INCREF(Py_None
); resultobj
= Py_None
;
9413 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 PyObject
* obj2
= 0 ;
9422 (char *) "self",(char *) "from",(char *) "to", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9430 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 (arg1
)->RefreshLines(arg2
,arg3
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 Py_INCREF(Py_None
); resultobj
= Py_None
;
9446 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9448 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9453 PyObject
* obj1
= 0 ;
9454 PyObject
* obj2
= 0 ;
9456 (char *) "self",(char *) "x",(char *) "y", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9462 arg2
= (int) SWIG_AsInt(obj1
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9464 arg3
= (int) SWIG_AsInt(obj2
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_FromInt((int)result
);
9480 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9482 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9486 PyObject
* obj0
= 0 ;
9487 PyObject
* obj1
= 0 ;
9489 (char *) "self",(char *) "pt", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9497 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_FromInt((int)result
);
9513 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 (arg1
)->RefreshAll();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 Py_INCREF(Py_None
); resultobj
= Py_None
;
9538 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9542 PyObject
* obj0
= 0 ;
9544 (char *) "self", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9564 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9570 (char *) "self", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9590 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9594 PyObject
* obj0
= 0 ;
9596 (char *) "self", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9616 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9622 PyObject
* obj1
= 0 ;
9624 (char *) "self",(char *) "line", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9630 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9648 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9651 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9653 return Py_BuildValue((char *)"");
9655 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9656 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9661 static PyObject
*_wrap_VListBoxNameStr_get() {
9666 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9668 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9675 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
;
9677 wxWindow
*arg1
= (wxWindow
*) 0 ;
9678 int arg2
= (int) wxID_ANY
;
9679 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9680 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9681 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9682 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9683 long arg5
= (long) 0 ;
9684 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9685 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9686 wxPyVListBox
*result
;
9689 bool temp6
= False
;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 PyObject
* obj2
= 0 ;
9693 PyObject
* obj3
= 0 ;
9694 PyObject
* obj4
= 0 ;
9695 PyObject
* obj5
= 0 ;
9697 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 arg2
= (int) SWIG_AsInt(obj1
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9710 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9716 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9720 arg5
= (long) SWIG_AsLong(obj4
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9725 arg6
= wxString_in_helper(obj5
);
9726 if (arg6
== NULL
) SWIG_fail
;
9731 if (!wxPyCheckForApp()) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9753 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxPyVListBox
*result
;
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9762 if (!wxPyCheckForApp()) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (wxPyVListBox
*)new wxPyVListBox();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9776 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9779 PyObject
*arg2
= (PyObject
*) 0 ;
9780 PyObject
*arg3
= (PyObject
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9783 PyObject
* obj2
= 0 ;
9785 (char *) "self",(char *) "self",(char *) "_class", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 Py_INCREF(Py_None
); resultobj
= Py_None
;
9807 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9810 wxWindow
*arg2
= (wxWindow
*) 0 ;
9811 int arg3
= (int) wxID_ANY
;
9812 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9813 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9814 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9815 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9816 long arg6
= (long) 0 ;
9817 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9818 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9822 bool temp7
= False
;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 PyObject
* obj3
= 0 ;
9827 PyObject
* obj4
= 0 ;
9828 PyObject
* obj5
= 0 ;
9829 PyObject
* obj6
= 0 ;
9831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9840 arg3
= (int) SWIG_AsInt(obj2
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9846 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9852 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9856 arg6
= (long) SWIG_AsLong(obj5
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9861 arg7
= wxString_in_helper(obj6
);
9862 if (arg7
== NULL
) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9890 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9896 (char *) "self", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9916 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9922 (char *) "self", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9944 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9950 (char *) "self", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_FromInt((int)result
);
9970 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9978 (char *) "self",(char *) "item", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9984 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10002 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self",(char *) "item", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10016 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10034 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
;
10036 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10038 PyObject
* obj0
= 0 ;
10039 char *kwnames
[] = {
10040 (char *) "self", NULL
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10060 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "self", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 resultobj
= result
;
10086 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10089 unsigned long arg2
;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self",(char *) "cookie", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10100 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= result
;
10116 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10136 wxPoint
* resultptr
;
10137 resultptr
= new wxPoint((wxPoint
&) result
);
10138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10146 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
;
10148 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10150 PyObject
* obj0
= 0 ;
10151 char *kwnames
[] = {
10152 (char *) "self", NULL
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10162 result
= (wxColour
*) &_result_ref
;
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10175 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self",(char *) "count", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10188 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 (arg1
)->SetItemCount(arg2
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 Py_INCREF(Py_None
); resultobj
= Py_None
;
10204 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 Py_INCREF(Py_None
); resultobj
= Py_None
;
10229 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self",(char *) "selection", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 arg2
= (int) SWIG_AsInt(obj1
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 (arg1
)->SetSelection(arg2
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 Py_INCREF(Py_None
); resultobj
= Py_None
;
10258 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10262 bool arg3
= (bool) True
;
10264 PyObject
* obj0
= 0 ;
10265 PyObject
* obj1
= 0 ;
10266 PyObject
* obj2
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self",(char *) "item",(char *) "select", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10274 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10277 arg3
= (bool) SWIG_AsBool(obj2
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10296 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10302 PyObject
* obj0
= 0 ;
10303 PyObject
* obj1
= 0 ;
10304 PyObject
* obj2
= 0 ;
10305 char *kwnames
[] = {
10306 (char *) "self",(char *) "from",(char *) "to", NULL
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10312 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10314 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10332 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 PyObject
* obj1
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self",(char *) "item", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 (arg1
)->Toggle(arg2
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 Py_INCREF(Py_None
); resultobj
= Py_None
;
10361 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
;
10363 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10365 PyObject
* obj0
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "self", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (bool)(arg1
)->SelectAll();
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10389 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10393 PyObject
* obj0
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (bool)(arg1
)->DeselectAll();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10417 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10420 wxPoint
*arg2
= 0 ;
10422 PyObject
* obj0
= 0 ;
10423 PyObject
* obj1
= 0 ;
10424 char *kwnames
[] = {
10425 (char *) "self",(char *) "pt", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 Py_INCREF(Py_None
); resultobj
= Py_None
;
10449 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 PyObject
* obj2
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "x",(char *) "y", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 arg2
= (int) SWIG_AsInt(obj1
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10466 arg3
= (int) SWIG_AsInt(obj2
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 (arg1
)->SetMargins(arg2
,arg3
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10485 wxColour
*arg2
= 0 ;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self",(char *) "col", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10498 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 Py_INCREF(Py_None
); resultobj
= Py_None
;
10514 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10517 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10519 return Py_BuildValue((char *)"");
10521 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxWindow
*arg1
= (wxWindow
*) 0 ;
10524 int arg2
= (int) wxID_ANY
;
10525 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10526 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10527 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10528 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10529 long arg5
= (long) 0 ;
10530 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10531 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10532 wxPyHtmlListBox
*result
;
10535 bool temp6
= False
;
10536 PyObject
* obj0
= 0 ;
10537 PyObject
* obj1
= 0 ;
10538 PyObject
* obj2
= 0 ;
10539 PyObject
* obj3
= 0 ;
10540 PyObject
* obj4
= 0 ;
10541 PyObject
* obj5
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10550 arg2
= (int) SWIG_AsInt(obj1
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10556 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10562 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10566 arg5
= (long) SWIG_AsLong(obj4
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10571 arg6
= wxString_in_helper(obj5
);
10572 if (arg6
== NULL
) SWIG_fail
;
10577 if (!wxPyCheckForApp()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10599 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxPyHtmlListBox
*result
;
10602 char *kwnames
[] = {
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10608 if (!wxPyCheckForApp()) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10622 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10625 PyObject
*arg2
= (PyObject
*) 0 ;
10626 PyObject
*arg3
= (PyObject
*) 0 ;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 PyObject
* obj2
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self",(char *) "self",(char *) "_class", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 Py_INCREF(Py_None
); resultobj
= Py_None
;
10653 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10656 wxWindow
*arg2
= (wxWindow
*) 0 ;
10657 int arg3
= (int) wxID_ANY
;
10658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10660 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10661 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10662 long arg6
= (long) 0 ;
10663 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10664 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10668 bool temp7
= False
;
10669 PyObject
* obj0
= 0 ;
10670 PyObject
* obj1
= 0 ;
10671 PyObject
* obj2
= 0 ;
10672 PyObject
* obj3
= 0 ;
10673 PyObject
* obj4
= 0 ;
10674 PyObject
* obj5
= 0 ;
10675 PyObject
* obj6
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 arg3
= (int) SWIG_AsInt(obj2
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10692 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10698 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10702 arg6
= (long) SWIG_AsLong(obj5
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10707 arg7
= wxString_in_helper(obj6
);
10708 if (arg7
== NULL
) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10736 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
;
10738 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "self", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 (arg1
)->RefreshAll();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 Py_INCREF(Py_None
); resultobj
= Py_None
;
10761 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "count", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10774 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 (arg1
)->SetItemCount(arg2
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 Py_INCREF(Py_None
); resultobj
= Py_None
;
10790 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10793 wxFileSystem
*result
;
10794 PyObject
* obj0
= 0 ;
10795 char *kwnames
[] = {
10796 (char *) "self", NULL
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10806 result
= (wxFileSystem
*) &_result_ref
;
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10819 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10822 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10824 return Py_BuildValue((char *)"");
10826 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxTaskBarIcon
*result
;
10829 char *kwnames
[] = {
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10835 if (!wxPyCheckForApp()) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10849 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10852 PyObject
* obj0
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 Py_INCREF(Py_None
); resultobj
= Py_None
;
10874 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10877 PyObject
* obj0
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 wxTaskBarIcon_Destroy(arg1
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 Py_INCREF(Py_None
); resultobj
= Py_None
;
10899 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10902 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10904 return Py_BuildValue((char *)"");
10906 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10909 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10910 wxTaskBarIconEvent
*result
;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "evtType",(char *) "tbIcon", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10918 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10936 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10939 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10941 return Py_BuildValue((char *)"");
10943 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10944 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10949 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10954 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10956 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10963 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10964 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10969 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10974 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10976 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10983 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10984 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10989 static PyObject
*_wrap_DirDialogNameStr_get() {
10994 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10996 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11003 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11004 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11009 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11014 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11016 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11023 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11024 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11029 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11034 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11036 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11043 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11044 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11049 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11054 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11056 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11063 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxColourData
*result
;
11066 char *kwnames
[] = {
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (wxColourData
*)new wxColourData();
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11085 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxColourData
*arg1
= (wxColourData
*) 0 ;
11088 PyObject
* obj0
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 Py_INCREF(Py_None
); resultobj
= Py_None
;
11110 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxColourData
*arg1
= (wxColourData
*) 0 ;
11114 PyObject
* obj0
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 result
= (bool)(arg1
)->GetChooseFull();
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11138 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxColourData
*arg1
= (wxColourData
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (arg1
)->GetColour();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 wxColour
* resultptr
;
11159 resultptr
= new wxColour((wxColour
&) result
);
11160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11168 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxColourData
*arg1
= (wxColourData
*) 0 ;
11173 PyObject
* obj0
= 0 ;
11174 PyObject
* obj1
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "self",(char *) "i", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11182 arg2
= (int) SWIG_AsInt(obj1
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (arg1
)->GetCustomColour(arg2
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11192 wxColour
* resultptr
;
11193 resultptr
= new wxColour((wxColour
&) result
);
11194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11202 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxColourData
*arg1
= (wxColourData
*) 0 ;
11206 PyObject
* obj0
= 0 ;
11207 PyObject
* obj1
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self",(char *) "flag", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11215 arg2
= (int) SWIG_AsInt(obj1
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 (arg1
)->SetChooseFull(arg2
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 Py_INCREF(Py_None
); resultobj
= Py_None
;
11231 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxColourData
*arg1
= (wxColourData
*) 0 ;
11234 wxColour
*arg2
= 0 ;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self",(char *) "colour", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11247 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 (arg1
)->SetColour((wxColour
const &)*arg2
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 Py_INCREF(Py_None
); resultobj
= Py_None
;
11263 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
;
11265 wxColourData
*arg1
= (wxColourData
*) 0 ;
11267 wxColour
*arg3
= 0 ;
11269 PyObject
* obj0
= 0 ;
11270 PyObject
* obj1
= 0 ;
11271 PyObject
* obj2
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "self",(char *) "i",(char *) "colour", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11279 arg2
= (int) SWIG_AsInt(obj1
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 Py_INCREF(Py_None
); resultobj
= Py_None
;
11299 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11302 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11304 return Py_BuildValue((char *)"");
11306 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxWindow
*arg1
= (wxWindow
*) 0 ;
11309 wxColourData
*arg2
= (wxColourData
*) NULL
;
11310 wxColourDialog
*result
;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "parent",(char *) "data", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11325 if (!wxPyCheckForApp()) SWIG_fail
;
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11339 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11342 wxColourData
*result
;
11343 PyObject
* obj0
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11355 result
= (wxColourData
*) &_result_ref
;
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11368 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11371 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11373 return Py_BuildValue((char *)"");
11375 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
;
11377 wxWindow
*arg1
= (wxWindow
*) 0 ;
11378 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11379 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11380 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11381 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11382 long arg4
= (long) 0 ;
11383 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11384 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11385 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11386 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11387 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11388 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11389 wxDirDialog
*result
;
11390 bool temp2
= False
;
11391 bool temp3
= False
;
11394 bool temp7
= False
;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 PyObject
* obj2
= 0 ;
11398 PyObject
* obj3
= 0 ;
11399 PyObject
* obj4
= 0 ;
11400 PyObject
* obj5
= 0 ;
11401 PyObject
* obj6
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11411 arg2
= wxString_in_helper(obj1
);
11412 if (arg2
== NULL
) SWIG_fail
;
11418 arg3
= wxString_in_helper(obj2
);
11419 if (arg3
== NULL
) SWIG_fail
;
11424 arg4
= (long) SWIG_AsLong(obj3
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11430 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11436 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11441 arg7
= wxString_in_helper(obj6
);
11442 if (arg7
== NULL
) SWIG_fail
;
11447 if (!wxPyCheckForApp()) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11485 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (arg1
)->GetPath();
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11517 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11521 PyObject
* obj0
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 result
= (arg1
)->GetMessage();
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11549 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11553 PyObject
* obj0
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (long)(arg1
)->GetStyle();
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_FromLong((long)result
);
11575 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11578 wxString
*arg2
= 0 ;
11579 bool temp2
= False
;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "message", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11590 arg2
= wxString_in_helper(obj1
);
11591 if (arg2
== NULL
) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 (arg1
)->SetMessage((wxString
const &)*arg2
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 Py_INCREF(Py_None
); resultobj
= Py_None
;
11616 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11619 wxString
*arg2
= 0 ;
11620 bool temp2
= False
;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 char *kwnames
[] = {
11624 (char *) "self",(char *) "path", NULL
11627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11631 arg2
= wxString_in_helper(obj1
);
11632 if (arg2
== NULL
) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 (arg1
)->SetPath((wxString
const &)*arg2
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 Py_INCREF(Py_None
); resultobj
= Py_None
;
11657 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11660 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11662 return Py_BuildValue((char *)"");
11664 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxWindow
*arg1
= (wxWindow
*) 0 ;
11667 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11668 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11669 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11670 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11671 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11672 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11673 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11674 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11675 long arg6
= (long) 0 ;
11676 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11677 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11678 wxFileDialog
*result
;
11679 bool temp2
= False
;
11680 bool temp3
= False
;
11681 bool temp4
= False
;
11682 bool temp5
= False
;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 PyObject
* obj3
= 0 ;
11688 PyObject
* obj4
= 0 ;
11689 PyObject
* obj5
= 0 ;
11690 PyObject
* obj6
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11700 arg2
= wxString_in_helper(obj1
);
11701 if (arg2
== NULL
) SWIG_fail
;
11707 arg3
= wxString_in_helper(obj2
);
11708 if (arg3
== NULL
) SWIG_fail
;
11714 arg4
= wxString_in_helper(obj3
);
11715 if (arg4
== NULL
) SWIG_fail
;
11721 arg5
= wxString_in_helper(obj4
);
11722 if (arg5
== NULL
) SWIG_fail
;
11727 arg6
= (long) SWIG_AsLong(obj5
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11733 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11737 if (!wxPyCheckForApp()) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11783 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11786 wxString
*arg2
= 0 ;
11787 bool temp2
= False
;
11788 PyObject
* obj0
= 0 ;
11789 PyObject
* obj1
= 0 ;
11790 char *kwnames
[] = {
11791 (char *) "self",(char *) "message", NULL
11794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11798 arg2
= wxString_in_helper(obj1
);
11799 if (arg2
== NULL
) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->SetMessage((wxString
const &)*arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11827 wxString
*arg2
= 0 ;
11828 bool temp2
= False
;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 char *kwnames
[] = {
11832 (char *) "self",(char *) "path", NULL
11835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11839 arg2
= wxString_in_helper(obj1
);
11840 if (arg2
== NULL
) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetPath((wxString
const &)*arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 Py_INCREF(Py_None
); resultobj
= Py_None
;
11865 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11868 wxString
*arg2
= 0 ;
11869 bool temp2
= False
;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "self",(char *) "dir", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11880 arg2
= wxString_in_helper(obj1
);
11881 if (arg2
== NULL
) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11909 wxString
*arg2
= 0 ;
11910 bool temp2
= False
;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "name", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11921 arg2
= wxString_in_helper(obj1
);
11922 if (arg2
== NULL
) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 (arg1
)->SetFilename((wxString
const &)*arg2
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11932 Py_INCREF(Py_None
); resultobj
= Py_None
;
11947 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11950 wxString
*arg2
= 0 ;
11951 bool temp2
= False
;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 char *kwnames
[] = {
11955 (char *) "self",(char *) "wildCard", NULL
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11962 arg2
= wxString_in_helper(obj1
);
11963 if (arg2
== NULL
) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 Py_INCREF(Py_None
); resultobj
= Py_None
;
11988 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11992 PyObject
* obj0
= 0 ;
11993 PyObject
* obj1
= 0 ;
11994 char *kwnames
[] = {
11995 (char *) "self",(char *) "style", NULL
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12001 arg2
= (long) SWIG_AsLong(obj1
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 (arg1
)->SetStyle(arg2
);
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12010 Py_INCREF(Py_None
); resultobj
= Py_None
;
12017 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 PyObject
* obj1
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self",(char *) "filterIndex", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12030 arg2
= (int) SWIG_AsInt(obj1
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 (arg1
)->SetFilterIndex(arg2
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 Py_INCREF(Py_None
); resultobj
= Py_None
;
12046 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
;
12048 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12078 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12110 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12142 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12174 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12206 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_FromLong((long)result
);
12232 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_FromInt((int)result
);
12258 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= result
;
12284 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12288 PyObject
* obj0
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= result
;
12310 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12313 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12315 return Py_BuildValue((char *)"");
12317 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxWindow
*arg1
= (wxWindow
*) 0 ;
12320 wxString
*arg2
= 0 ;
12321 wxString
*arg3
= 0 ;
12322 int arg4
= (int) 0 ;
12323 wxString
*arg5
= (wxString
*) NULL
;
12324 long arg6
= (long) wxCHOICEDLG_STYLE
;
12325 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12326 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12327 wxMultiChoiceDialog
*result
;
12328 bool temp2
= False
;
12329 bool temp3
= False
;
12331 PyObject
* obj0
= 0 ;
12332 PyObject
* obj1
= 0 ;
12333 PyObject
* obj2
= 0 ;
12334 PyObject
* obj3
= 0 ;
12335 PyObject
* obj4
= 0 ;
12336 PyObject
* obj5
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12345 arg2
= wxString_in_helper(obj1
);
12346 if (arg2
== NULL
) SWIG_fail
;
12350 arg3
= wxString_in_helper(obj2
);
12351 if (arg3
== NULL
) SWIG_fail
;
12356 arg4
= PyList_Size(obj3
);
12357 arg5
= wxString_LIST_helper(obj3
);
12358 if (arg5
== NULL
) SWIG_fail
;
12362 arg6
= (long) SWIG_AsLong(obj4
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12368 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12372 if (!wxPyCheckForApp()) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12389 if (arg5
) delete [] arg5
;
12402 if (arg5
) delete [] arg5
;
12408 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12411 wxArrayInt
*arg2
= 0 ;
12412 bool temp2
= False
;
12413 PyObject
* obj0
= 0 ;
12414 PyObject
* obj1
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "self",(char *) "selections", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12423 if (! PySequence_Check(obj1
)) {
12424 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12427 arg2
= new wxArrayInt
;
12429 int i
, len
=PySequence_Length(obj1
);
12430 for (i
=0; i
<len
; i
++) {
12431 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12432 PyObject
* number
= PyNumber_Int(item
);
12433 arg2
->Add(PyInt_AS_LONG(number
));
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 Py_INCREF(Py_None
); resultobj
= Py_None
;
12447 if (temp2
) delete arg2
;
12452 if (temp2
) delete arg2
;
12458 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= result
;
12484 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12487 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12489 return Py_BuildValue((char *)"");
12491 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxWindow
*arg1
= (wxWindow
*) 0 ;
12494 wxString
*arg2
= 0 ;
12495 wxString
*arg3
= 0 ;
12497 wxString
*arg5
= (wxString
*) 0 ;
12498 long arg6
= (long) wxCHOICEDLG_STYLE
;
12499 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12500 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12501 wxSingleChoiceDialog
*result
;
12502 bool temp2
= False
;
12503 bool temp3
= False
;
12505 PyObject
* obj0
= 0 ;
12506 PyObject
* obj1
= 0 ;
12507 PyObject
* obj2
= 0 ;
12508 PyObject
* obj3
= 0 ;
12509 PyObject
* obj4
= 0 ;
12510 PyObject
* obj5
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12519 arg2
= wxString_in_helper(obj1
);
12520 if (arg2
== NULL
) SWIG_fail
;
12524 arg3
= wxString_in_helper(obj2
);
12525 if (arg3
== NULL
) SWIG_fail
;
12529 arg4
= PyList_Size(obj3
);
12530 arg5
= wxString_LIST_helper(obj3
);
12531 if (arg5
== NULL
) SWIG_fail
;
12534 arg6
= (long) SWIG_AsLong(obj4
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12540 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12544 if (!wxPyCheckForApp()) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12561 if (arg5
) delete [] arg5
;
12574 if (arg5
) delete [] arg5
;
12580 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= (int)(arg1
)->GetSelection();
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= SWIG_FromInt((int)result
);
12606 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (arg1
)->GetStringSelection();
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12638 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 PyObject
* obj1
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self",(char *) "sel", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12651 arg2
= (int) SWIG_AsInt(obj1
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->SetSelection(arg2
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12667 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12670 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12672 return Py_BuildValue((char *)"");
12674 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxWindow
*arg1
= (wxWindow
*) 0 ;
12677 wxString
*arg2
= 0 ;
12678 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12680 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12681 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12682 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12683 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12684 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12685 wxTextEntryDialog
*result
;
12686 bool temp2
= False
;
12687 bool temp3
= False
;
12688 bool temp4
= False
;
12690 PyObject
* obj0
= 0 ;
12691 PyObject
* obj1
= 0 ;
12692 PyObject
* obj2
= 0 ;
12693 PyObject
* obj3
= 0 ;
12694 PyObject
* obj4
= 0 ;
12695 PyObject
* obj5
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12704 arg2
= wxString_in_helper(obj1
);
12705 if (arg2
== NULL
) SWIG_fail
;
12710 arg3
= wxString_in_helper(obj2
);
12711 if (arg3
== NULL
) SWIG_fail
;
12717 arg4
= wxString_in_helper(obj3
);
12718 if (arg4
== NULL
) SWIG_fail
;
12723 arg5
= (long) SWIG_AsLong(obj4
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12729 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12733 if (!wxPyCheckForApp()) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12771 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12775 PyObject
* obj0
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "self", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (arg1
)->GetValue();
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12803 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12806 wxString
*arg2
= 0 ;
12807 bool temp2
= False
;
12808 PyObject
* obj0
= 0 ;
12809 PyObject
* obj1
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self",(char *) "value", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12818 arg2
= wxString_in_helper(obj1
);
12819 if (arg2
== NULL
) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 (arg1
)->SetValue((wxString
const &)*arg2
);
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12829 Py_INCREF(Py_None
); resultobj
= Py_None
;
12844 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12847 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12849 return Py_BuildValue((char *)"");
12851 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxFontData
*result
;
12854 char *kwnames
[] = {
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= (wxFontData
*)new wxFontData();
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12873 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
;
12875 wxFontData
*arg1
= (wxFontData
*) 0 ;
12876 PyObject
* obj0
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 Py_INCREF(Py_None
); resultobj
= Py_None
;
12898 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxFontData
*arg1
= (wxFontData
*) 0 ;
12902 PyObject
* obj0
= 0 ;
12903 PyObject
* obj1
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self",(char *) "enable", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12911 arg2
= (bool) SWIG_AsBool(obj1
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 (arg1
)->EnableEffects(arg2
);
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 Py_INCREF(Py_None
); resultobj
= Py_None
;
12927 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxFontData
*arg1
= (wxFontData
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (bool)(arg1
)->GetAllowSymbols();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12955 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxFontData
*arg1
= (wxFontData
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (arg1
)->GetColour();
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 wxColour
* resultptr
;
12976 resultptr
= new wxColour((wxColour
&) result
);
12977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12985 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxFontData
*arg1
= (wxFontData
*) 0 ;
12989 PyObject
* obj0
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "self", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= (arg1
)->GetChosenFont();
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 wxFont
* resultptr
;
13006 resultptr
= new wxFont((wxFont
&) result
);
13007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13015 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxFontData
*arg1
= (wxFontData
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (bool)(arg1
)->GetEnableEffects();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13043 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxFontData
*arg1
= (wxFontData
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (arg1
)->GetInitialFont();
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13063 wxFont
* resultptr
;
13064 resultptr
= new wxFont((wxFont
&) result
);
13065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13073 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxFontData
*arg1
= (wxFontData
*) 0 ;
13077 PyObject
* obj0
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (bool)(arg1
)->GetShowHelp();
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13101 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxFontData
*arg1
= (wxFontData
*) 0 ;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self",(char *) "allowSymbols", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13114 arg2
= (bool) SWIG_AsBool(obj1
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 (arg1
)->SetAllowSymbols(arg2
);
13120 wxPyEndAllowThreads(__tstate
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13123 Py_INCREF(Py_None
); resultobj
= Py_None
;
13130 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
;
13132 wxFontData
*arg1
= (wxFontData
*) 0 ;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 char *kwnames
[] = {
13137 (char *) "self",(char *) "font", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13146 if (arg2
== NULL
) {
13147 PyErr_SetString(PyExc_TypeError
,"null reference");
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 Py_INCREF(Py_None
); resultobj
= Py_None
;
13164 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13165 PyObject
*resultobj
;
13166 wxFontData
*arg1
= (wxFontData
*) 0 ;
13167 wxColour
*arg2
= 0 ;
13169 PyObject
* obj0
= 0 ;
13170 PyObject
* obj1
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "self",(char *) "colour", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13180 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 (arg1
)->SetColour((wxColour
const &)*arg2
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 Py_INCREF(Py_None
); resultobj
= Py_None
;
13196 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxFontData
*arg1
= (wxFontData
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "self",(char *) "font", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13212 if (arg2
== NULL
) {
13213 PyErr_SetString(PyExc_TypeError
,"null reference");
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13223 Py_INCREF(Py_None
); resultobj
= Py_None
;
13230 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
;
13232 wxFontData
*arg1
= (wxFontData
*) 0 ;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 PyObject
* obj2
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self",(char *) "min",(char *) "max", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13245 arg2
= (int) SWIG_AsInt(obj1
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13247 arg3
= (int) SWIG_AsInt(obj2
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 (arg1
)->SetRange(arg2
,arg3
);
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13256 Py_INCREF(Py_None
); resultobj
= Py_None
;
13263 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxFontData
*arg1
= (wxFontData
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self",(char *) "showHelp", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13276 arg2
= (bool) SWIG_AsBool(obj1
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 (arg1
)->SetShowHelp(arg2
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 Py_INCREF(Py_None
); resultobj
= Py_None
;
13292 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13295 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13297 return Py_BuildValue((char *)"");
13299 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxWindow
*arg1
= (wxWindow
*) 0 ;
13302 wxFontData
*arg2
= 0 ;
13303 wxFontDialog
*result
;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "parent",(char *) "data", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13316 if (arg2
== NULL
) {
13317 PyErr_SetString(PyExc_TypeError
,"null reference");
13321 if (!wxPyCheckForApp()) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13335 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13338 wxFontData
*result
;
13339 PyObject
* obj0
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13351 result
= (wxFontData
*) &_result_ref
;
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13364 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13367 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13369 return Py_BuildValue((char *)"");
13371 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
;
13373 wxWindow
*arg1
= (wxWindow
*) 0 ;
13374 wxString
*arg2
= 0 ;
13375 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13376 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13377 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13378 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13379 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13380 wxMessageDialog
*result
;
13381 bool temp2
= False
;
13382 bool temp3
= False
;
13384 PyObject
* obj0
= 0 ;
13385 PyObject
* obj1
= 0 ;
13386 PyObject
* obj2
= 0 ;
13387 PyObject
* obj3
= 0 ;
13388 PyObject
* obj4
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 arg2
= wxString_in_helper(obj1
);
13398 if (arg2
== NULL
) SWIG_fail
;
13403 arg3
= wxString_in_helper(obj2
);
13404 if (arg3
== NULL
) SWIG_fail
;
13409 arg4
= (long) SWIG_AsLong(obj3
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13415 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13419 if (!wxPyCheckForApp()) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13449 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13452 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13454 return Py_BuildValue((char *)"");
13456 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxString
*arg1
= 0 ;
13459 wxString
*arg2
= 0 ;
13460 int arg3
= (int) 100 ;
13461 wxWindow
*arg4
= (wxWindow
*) NULL
;
13462 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13463 wxProgressDialog
*result
;
13464 bool temp1
= False
;
13465 bool temp2
= False
;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 PyObject
* obj2
= 0 ;
13469 PyObject
* obj3
= 0 ;
13470 PyObject
* obj4
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13477 arg1
= wxString_in_helper(obj0
);
13478 if (arg1
== NULL
) SWIG_fail
;
13482 arg2
= wxString_in_helper(obj1
);
13483 if (arg2
== NULL
) SWIG_fail
;
13487 arg3
= (int) SWIG_AsInt(obj2
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13491 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13495 arg5
= (int) SWIG_AsInt(obj4
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13499 if (!wxPyCheckForApp()) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13529 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13533 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13534 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13536 bool temp3
= False
;
13537 PyObject
* obj0
= 0 ;
13538 PyObject
* obj1
= 0 ;
13539 PyObject
* obj2
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13547 arg2
= (int) SWIG_AsInt(obj1
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13551 arg3
= wxString_in_helper(obj2
);
13552 if (arg3
== NULL
) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13580 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 Py_INCREF(Py_None
); resultobj
= Py_None
;
13605 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13608 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13610 return Py_BuildValue((char *)"");
13612 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13615 int arg2
= (int) 0 ;
13616 wxFindDialogEvent
*result
;
13617 PyObject
* obj0
= 0 ;
13618 PyObject
* obj1
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "commandType",(char *) "id", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13625 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13629 arg2
= (int) SWIG_AsInt(obj1
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13646 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13650 PyObject
* obj0
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 result
= (int)(arg1
)->GetFlags();
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= SWIG_FromInt((int)result
);
13672 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
;
13674 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13676 PyObject
* obj0
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "self", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 wxString
const &_result_ref
= (arg1
)->GetFindString();
13688 result
= (wxString
*) &_result_ref
;
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13698 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13707 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13711 PyObject
* obj0
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13723 result
= (wxString
*) &_result_ref
;
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13733 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13742 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13745 wxFindReplaceDialog
*result
;
13746 PyObject
* obj0
= 0 ;
13747 char *kwnames
[] = {
13748 (char *) "self", NULL
13751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13768 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 char *kwnames
[] = {
13775 (char *) "self",(char *) "flags", NULL
13778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13781 arg2
= (int) SWIG_AsInt(obj1
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 (arg1
)->SetFlags(arg2
);
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 Py_INCREF(Py_None
); resultobj
= Py_None
;
13797 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
;
13799 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13800 wxString
*arg2
= 0 ;
13801 bool temp2
= False
;
13802 PyObject
* obj0
= 0 ;
13803 PyObject
* obj1
= 0 ;
13804 char *kwnames
[] = {
13805 (char *) "self",(char *) "str", NULL
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13812 arg2
= wxString_in_helper(obj1
);
13813 if (arg2
== NULL
) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 (arg1
)->SetFindString((wxString
const &)*arg2
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 Py_INCREF(Py_None
); resultobj
= Py_None
;
13838 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13841 wxString
*arg2
= 0 ;
13842 bool temp2
= False
;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "self",(char *) "str", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13853 arg2
= wxString_in_helper(obj1
);
13854 if (arg2
== NULL
) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 Py_INCREF(Py_None
); resultobj
= Py_None
;
13879 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13882 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13884 return Py_BuildValue((char *)"");
13886 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 int arg1
= (int) 0 ;
13889 wxFindReplaceData
*result
;
13890 PyObject
* obj0
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "flags", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13897 arg1
= (int) SWIG_AsInt(obj0
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13914 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13917 PyObject
* obj0
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 Py_INCREF(Py_None
); resultobj
= Py_None
;
13939 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13943 PyObject
* obj0
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 wxString
const &_result_ref
= (arg1
)->GetFindString();
13955 result
= (wxString
*) &_result_ref
;
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13965 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13974 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13990 result
= (wxString
*) &_result_ref
;
13993 wxPyEndAllowThreads(__tstate
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14000 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14009 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14013 PyObject
* obj0
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "self", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (int)(arg1
)->GetFlags();
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_FromInt((int)result
);
14035 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 PyObject
* obj1
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self",(char *) "flags", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14048 arg2
= (int) SWIG_AsInt(obj1
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 (arg1
)->SetFlags(arg2
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 Py_INCREF(Py_None
); resultobj
= Py_None
;
14064 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14067 wxString
*arg2
= 0 ;
14068 bool temp2
= False
;
14069 PyObject
* obj0
= 0 ;
14070 PyObject
* obj1
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self",(char *) "str", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14079 arg2
= wxString_in_helper(obj1
);
14080 if (arg2
== NULL
) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 (arg1
)->SetFindString((wxString
const &)*arg2
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 Py_INCREF(Py_None
); resultobj
= Py_None
;
14105 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
;
14107 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14108 wxString
*arg2
= 0 ;
14109 bool temp2
= False
;
14110 PyObject
* obj0
= 0 ;
14111 PyObject
* obj1
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self",(char *) "str", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14120 arg2
= wxString_in_helper(obj1
);
14121 if (arg2
== NULL
) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 Py_INCREF(Py_None
); resultobj
= Py_None
;
14146 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14149 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14151 return Py_BuildValue((char *)"");
14153 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxWindow
*arg1
= (wxWindow
*) 0 ;
14156 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14157 wxString
*arg3
= 0 ;
14158 int arg4
= (int) 0 ;
14159 wxFindReplaceDialog
*result
;
14160 bool temp3
= False
;
14161 PyObject
* obj0
= 0 ;
14162 PyObject
* obj1
= 0 ;
14163 PyObject
* obj2
= 0 ;
14164 PyObject
* obj3
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14175 arg3
= wxString_in_helper(obj2
);
14176 if (arg3
== NULL
) SWIG_fail
;
14180 arg4
= (int) SWIG_AsInt(obj3
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14184 if (!wxPyCheckForApp()) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14206 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxFindReplaceDialog
*result
;
14209 char *kwnames
[] = {
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14215 if (!wxPyCheckForApp()) SWIG_fail
;
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14229 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14232 wxWindow
*arg2
= (wxWindow
*) 0 ;
14233 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14234 wxString
*arg4
= 0 ;
14235 int arg5
= (int) 0 ;
14237 bool temp4
= False
;
14238 PyObject
* obj0
= 0 ;
14239 PyObject
* obj1
= 0 ;
14240 PyObject
* obj2
= 0 ;
14241 PyObject
* obj3
= 0 ;
14242 PyObject
* obj4
= 0 ;
14243 char *kwnames
[] = {
14244 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14252 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14255 arg4
= wxString_in_helper(obj3
);
14256 if (arg4
== NULL
) SWIG_fail
;
14260 arg5
= (int) SWIG_AsInt(obj4
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14287 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14290 wxFindReplaceData
*result
;
14291 PyObject
* obj0
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14313 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
;
14315 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14316 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14317 PyObject
* obj0
= 0 ;
14318 PyObject
* obj1
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self",(char *) "data", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 (arg1
)->SetData(arg2
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 Py_INCREF(Py_None
); resultobj
= Py_None
;
14342 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14345 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14347 return Py_BuildValue((char *)"");
14349 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxWindow
*arg1
= (wxWindow
*) 0 ;
14352 int arg2
= (int) (int)-1 ;
14353 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14354 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14355 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14356 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14357 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14358 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14359 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14360 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14361 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14362 wxMDIParentFrame
*result
;
14363 bool temp3
= False
;
14366 bool temp7
= False
;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 PyObject
* obj2
= 0 ;
14370 PyObject
* obj3
= 0 ;
14371 PyObject
* obj4
= 0 ;
14372 PyObject
* obj5
= 0 ;
14373 PyObject
* obj6
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14382 arg2
= (int const) SWIG_AsInt(obj1
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14387 arg3
= wxString_in_helper(obj2
);
14388 if (arg3
== NULL
) SWIG_fail
;
14395 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14401 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14405 arg6
= (long) SWIG_AsLong(obj5
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14410 arg7
= wxString_in_helper(obj6
);
14411 if (arg7
== NULL
) SWIG_fail
;
14416 if (!wxPyCheckForApp()) SWIG_fail
;
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14446 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxMDIParentFrame
*result
;
14449 char *kwnames
[] = {
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14455 if (!wxPyCheckForApp()) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14469 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14472 wxWindow
*arg2
= (wxWindow
*) 0 ;
14473 int arg3
= (int) (int)-1 ;
14474 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14475 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14476 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14477 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14478 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14479 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14480 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14481 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14482 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14484 bool temp4
= False
;
14487 bool temp8
= False
;
14488 PyObject
* obj0
= 0 ;
14489 PyObject
* obj1
= 0 ;
14490 PyObject
* obj2
= 0 ;
14491 PyObject
* obj3
= 0 ;
14492 PyObject
* obj4
= 0 ;
14493 PyObject
* obj5
= 0 ;
14494 PyObject
* obj6
= 0 ;
14495 PyObject
* obj7
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14506 arg3
= (int const) SWIG_AsInt(obj2
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14511 arg4
= wxString_in_helper(obj3
);
14512 if (arg4
== NULL
) SWIG_fail
;
14519 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14525 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14529 arg7
= (long) SWIG_AsLong(obj6
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14534 arg8
= wxString_in_helper(obj7
);
14535 if (arg8
== NULL
) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14571 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14574 PyObject
* obj0
= 0 ;
14575 char *kwnames
[] = {
14576 (char *) "self", NULL
14579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 (arg1
)->ActivateNext();
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 Py_INCREF(Py_None
); resultobj
= Py_None
;
14596 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14599 PyObject
* obj0
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 (arg1
)->ActivatePrevious();
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 Py_INCREF(Py_None
); resultobj
= Py_None
;
14621 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
;
14623 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14624 PyObject
* obj0
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "self", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 (arg1
)->ArrangeIcons();
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 Py_INCREF(Py_None
); resultobj
= Py_None
;
14646 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 Py_INCREF(Py_None
); resultobj
= Py_None
;
14671 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14674 wxMDIChildFrame
*result
;
14675 PyObject
* obj0
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= wxPyMake_wxObject(result
);
14699 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14702 wxMDIClientWindow
*result
;
14703 PyObject
* obj0
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= wxPyMake_wxObject(result
);
14727 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14731 PyObject
* obj0
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (wxWindow
*)(arg1
)->GetToolBar();
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= wxPyMake_wxObject(result
);
14755 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14758 PyObject
* obj0
= 0 ;
14759 char *kwnames
[] = {
14760 (char *) "self", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 Py_INCREF(Py_None
); resultobj
= Py_None
;
14780 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14783 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14785 return Py_BuildValue((char *)"");
14787 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
;
14789 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14790 int arg2
= (int) (int)-1 ;
14791 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14792 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14793 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14794 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14795 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14796 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14797 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14798 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14799 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14800 wxMDIChildFrame
*result
;
14801 bool temp3
= False
;
14804 bool temp7
= False
;
14805 PyObject
* obj0
= 0 ;
14806 PyObject
* obj1
= 0 ;
14807 PyObject
* obj2
= 0 ;
14808 PyObject
* obj3
= 0 ;
14809 PyObject
* obj4
= 0 ;
14810 PyObject
* obj5
= 0 ;
14811 PyObject
* obj6
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14820 arg2
= (int const) SWIG_AsInt(obj1
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14825 arg3
= wxString_in_helper(obj2
);
14826 if (arg3
== NULL
) SWIG_fail
;
14833 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14839 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14843 arg6
= (long) SWIG_AsLong(obj5
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14848 arg7
= wxString_in_helper(obj6
);
14849 if (arg7
== NULL
) SWIG_fail
;
14854 if (!wxPyCheckForApp()) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= wxPyMake_wxObject(result
);
14886 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxMDIChildFrame
*result
;
14889 char *kwnames
[] = {
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14895 if (!wxPyCheckForApp()) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= wxPyMake_wxObject(result
);
14911 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14914 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14915 int arg3
= (int) (int)-1 ;
14916 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14917 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14918 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14919 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14920 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14921 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14922 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14923 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14924 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14926 bool temp4
= False
;
14929 bool temp8
= False
;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 PyObject
* obj2
= 0 ;
14933 PyObject
* obj3
= 0 ;
14934 PyObject
* obj4
= 0 ;
14935 PyObject
* obj5
= 0 ;
14936 PyObject
* obj6
= 0 ;
14937 PyObject
* obj7
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14948 arg3
= (int const) SWIG_AsInt(obj2
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14953 arg4
= wxString_in_helper(obj3
);
14954 if (arg4
== NULL
) SWIG_fail
;
14961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14971 arg7
= (long) SWIG_AsLong(obj6
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14976 arg8
= wxString_in_helper(obj7
);
14977 if (arg8
== NULL
) SWIG_fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15013 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15016 PyObject
* obj0
= 0 ;
15017 char *kwnames
[] = {
15018 (char *) "self", NULL
15021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 (arg1
)->Activate();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 Py_INCREF(Py_None
); resultobj
= Py_None
;
15038 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "self",(char *) "maximize", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15051 arg2
= (bool) SWIG_AsBool(obj1
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 (arg1
)->Maximize(arg2
);
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 Py_INCREF(Py_None
); resultobj
= Py_None
;
15067 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 Py_INCREF(Py_None
); resultobj
= Py_None
;
15092 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15095 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15097 return Py_BuildValue((char *)"");
15099 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15102 long arg2
= (long) 0 ;
15103 wxMDIClientWindow
*result
;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "parent",(char *) "style", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15114 arg2
= (long) SWIG_AsLong(obj1
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 if (!wxPyCheckForApp()) SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= wxPyMake_wxObject(result
);
15134 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
;
15136 wxMDIClientWindow
*result
;
15137 char *kwnames
[] = {
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15143 if (!wxPyCheckForApp()) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= wxPyMake_wxObject(result
);
15159 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15162 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15163 long arg3
= (long) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 PyObject
* obj2
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "parent",(char *) "style", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 arg3
= (long) SWIG_AsLong(obj2
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15197 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15200 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15202 return Py_BuildValue((char *)"");
15204 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxWindow
*arg1
= (wxWindow
*) 0 ;
15207 int arg2
= (int) (int)-1 ;
15208 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15209 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15210 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15211 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15212 long arg5
= (long) 0 ;
15213 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15214 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15215 wxPyWindow
*result
;
15218 bool temp6
= False
;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 PyObject
* obj2
= 0 ;
15222 PyObject
* obj3
= 0 ;
15223 PyObject
* obj4
= 0 ;
15224 PyObject
* obj5
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15233 arg2
= (int const) SWIG_AsInt(obj1
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15239 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15245 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15249 arg5
= (long) SWIG_AsLong(obj4
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15254 arg6
= wxString_in_helper(obj5
);
15255 if (arg6
== NULL
) SWIG_fail
;
15260 if (!wxPyCheckForApp()) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15282 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxPyWindow
*result
;
15285 char *kwnames
[] = {
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15291 if (!wxPyCheckForApp()) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (wxPyWindow
*)new wxPyWindow();
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15305 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15308 PyObject
*arg2
= (PyObject
*) 0 ;
15309 PyObject
*arg3
= (PyObject
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 PyObject
* obj1
= 0 ;
15312 PyObject
* obj2
= 0 ;
15313 char *kwnames
[] = {
15314 (char *) "self",(char *) "self",(char *) "_class", NULL
15317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 Py_INCREF(Py_None
); resultobj
= Py_None
;
15336 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self",(char *) "size", NULL
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15352 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 Py_INCREF(Py_None
); resultobj
= Py_None
;
15368 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 PyObject
* obj1
= 0 ;
15377 PyObject
* obj2
= 0 ;
15378 PyObject
* obj3
= 0 ;
15379 PyObject
* obj4
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15387 arg2
= (int) SWIG_AsInt(obj1
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15389 arg3
= (int) SWIG_AsInt(obj2
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15391 arg4
= (int) SWIG_AsInt(obj3
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15393 arg5
= (int) SWIG_AsInt(obj4
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 Py_INCREF(Py_None
); resultobj
= Py_None
;
15409 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15416 int arg6
= (int) wxSIZE_AUTO
;
15417 PyObject
* obj0
= 0 ;
15418 PyObject
* obj1
= 0 ;
15419 PyObject
* obj2
= 0 ;
15420 PyObject
* obj3
= 0 ;
15421 PyObject
* obj4
= 0 ;
15422 PyObject
* obj5
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15430 arg2
= (int) SWIG_AsInt(obj1
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15432 arg3
= (int) SWIG_AsInt(obj2
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15434 arg4
= (int) SWIG_AsInt(obj3
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15436 arg5
= (int) SWIG_AsInt(obj4
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15439 arg6
= (int) SWIG_AsInt(obj5
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 Py_INCREF(Py_None
); resultobj
= Py_None
;
15456 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 PyObject
* obj2
= 0 ;
15464 char *kwnames
[] = {
15465 (char *) "self",(char *) "width",(char *) "height", NULL
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15471 arg2
= (int) SWIG_AsInt(obj1
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15473 arg3
= (int) SWIG_AsInt(obj2
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 Py_INCREF(Py_None
); resultobj
= Py_None
;
15489 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 PyObject
* obj1
= 0 ;
15496 PyObject
* obj2
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self",(char *) "x",(char *) "y", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15504 arg2
= (int) SWIG_AsInt(obj1
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15506 arg3
= (int) SWIG_AsInt(obj2
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15525 int *arg2
= (int *) 0 ;
15526 int *arg3
= (int *) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15548 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15549 resultobj
= t_output_helper(resultobj
,o
);
15552 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15553 resultobj
= t_output_helper(resultobj
,o
);
15561 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15564 int *arg2
= (int *) 0 ;
15565 int *arg3
= (int *) 0 ;
15568 PyObject
* obj0
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 Py_INCREF(Py_None
); resultobj
= Py_None
;
15587 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15588 resultobj
= t_output_helper(resultobj
,o
);
15591 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15592 resultobj
= t_output_helper(resultobj
,o
);
15600 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15603 int *arg2
= (int *) 0 ;
15604 int *arg3
= (int *) 0 ;
15607 PyObject
* obj0
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 Py_INCREF(Py_None
); resultobj
= Py_None
;
15626 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15627 resultobj
= t_output_helper(resultobj
,o
);
15630 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15631 resultobj
= t_output_helper(resultobj
,o
);
15639 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15643 PyObject
* obj0
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15659 wxSize
* resultptr
;
15660 resultptr
= new wxSize((wxSize
&) result
);
15661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15669 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15673 PyObject
* obj0
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15689 wxSize
* resultptr
;
15690 resultptr
= new wxSize((wxSize
&) result
);
15691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15699 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15702 PyObject
* obj0
= 0 ;
15703 char *kwnames
[] = {
15704 (char *) "self", NULL
15707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 (arg1
)->base_InitDialog();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 Py_INCREF(Py_None
); resultobj
= Py_None
;
15724 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15726 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15728 PyObject
* obj0
= 0 ;
15729 char *kwnames
[] = {
15730 (char *) "self", NULL
15733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 result
= (bool)(arg1
)->base_TransferDataToWindow();
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15752 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15756 PyObject
* obj0
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "self", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15780 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
;
15782 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15784 PyObject
* obj0
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "self", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= (bool)(arg1
)->base_Validate();
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15808 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15836 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15864 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
;
15866 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15868 PyObject
* obj0
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15884 wxSize
* resultptr
;
15885 resultptr
= new wxSize((wxSize
&) result
);
15886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15894 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15897 wxWindow
*arg2
= (wxWindow
*) 0 ;
15898 PyObject
* obj0
= 0 ;
15899 PyObject
* obj1
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self",(char *) "child", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 (arg1
)->base_AddChild(arg2
);
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 Py_INCREF(Py_None
); resultobj
= Py_None
;
15923 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15926 wxWindow
*arg2
= (wxWindow
*) 0 ;
15927 PyObject
* obj0
= 0 ;
15928 PyObject
* obj1
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self",(char *) "child", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 (arg1
)->base_RemoveChild(arg2
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 Py_INCREF(Py_None
); resultobj
= Py_None
;
15952 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "self", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15980 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15983 wxColour
*arg2
= 0 ;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self",(char *) "c", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 Py_INCREF(Py_None
); resultobj
= Py_None
;
16012 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16015 wxVisualAttributes result
;
16016 PyObject
* obj0
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (arg1
)->base_GetDefaultAttributes();
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 wxVisualAttributes
* resultptr
;
16033 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16042 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16045 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16047 return Py_BuildValue((char *)"");
16049 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxWindow
*arg1
= (wxWindow
*) 0 ;
16052 int arg2
= (int) (int)-1 ;
16053 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16054 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16055 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16056 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16057 long arg5
= (long) 0 ;
16058 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16059 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16063 bool temp6
= False
;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 PyObject
* obj2
= 0 ;
16067 PyObject
* obj3
= 0 ;
16068 PyObject
* obj4
= 0 ;
16069 PyObject
* obj5
= 0 ;
16070 char *kwnames
[] = {
16071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16078 arg2
= (int const) SWIG_AsInt(obj1
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16090 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16094 arg5
= (long) SWIG_AsLong(obj4
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16099 arg6
= wxString_in_helper(obj5
);
16100 if (arg6
== NULL
) SWIG_fail
;
16105 if (!wxPyCheckForApp()) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16127 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16130 char *kwnames
[] = {
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16136 if (!wxPyCheckForApp()) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 result
= (wxPyPanel
*)new wxPyPanel();
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16150 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16153 PyObject
*arg2
= (PyObject
*) 0 ;
16154 PyObject
*arg3
= (PyObject
*) 0 ;
16155 PyObject
* obj0
= 0 ;
16156 PyObject
* obj1
= 0 ;
16157 PyObject
* obj2
= 0 ;
16158 char *kwnames
[] = {
16159 (char *) "self",(char *) "self",(char *) "_class", NULL
16162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 Py_INCREF(Py_None
); resultobj
= Py_None
;
16181 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16186 PyObject
* obj0
= 0 ;
16187 PyObject
* obj1
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "self",(char *) "size", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16197 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 Py_INCREF(Py_None
); resultobj
= Py_None
;
16213 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16220 PyObject
* obj0
= 0 ;
16221 PyObject
* obj1
= 0 ;
16222 PyObject
* obj2
= 0 ;
16223 PyObject
* obj3
= 0 ;
16224 PyObject
* obj4
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16232 arg2
= (int) SWIG_AsInt(obj1
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16234 arg3
= (int) SWIG_AsInt(obj2
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16236 arg4
= (int) SWIG_AsInt(obj3
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16238 arg5
= (int) SWIG_AsInt(obj4
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16247 Py_INCREF(Py_None
); resultobj
= Py_None
;
16254 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16261 int arg6
= (int) wxSIZE_AUTO
;
16262 PyObject
* obj0
= 0 ;
16263 PyObject
* obj1
= 0 ;
16264 PyObject
* obj2
= 0 ;
16265 PyObject
* obj3
= 0 ;
16266 PyObject
* obj4
= 0 ;
16267 PyObject
* obj5
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16275 arg2
= (int) SWIG_AsInt(obj1
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16277 arg3
= (int) SWIG_AsInt(obj2
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16279 arg4
= (int) SWIG_AsInt(obj3
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16281 arg5
= (int) SWIG_AsInt(obj4
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 arg6
= (int) SWIG_AsInt(obj5
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 Py_INCREF(Py_None
); resultobj
= Py_None
;
16301 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 PyObject
* obj1
= 0 ;
16308 PyObject
* obj2
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self",(char *) "width",(char *) "height", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16316 arg2
= (int) SWIG_AsInt(obj1
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16318 arg3
= (int) SWIG_AsInt(obj2
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 Py_INCREF(Py_None
); resultobj
= Py_None
;
16334 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16339 PyObject
* obj0
= 0 ;
16340 PyObject
* obj1
= 0 ;
16341 PyObject
* obj2
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self",(char *) "x",(char *) "y", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16349 arg2
= (int) SWIG_AsInt(obj1
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16351 arg3
= (int) SWIG_AsInt(obj2
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16357 wxPyEndAllowThreads(__tstate
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16360 Py_INCREF(Py_None
); resultobj
= Py_None
;
16367 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16370 int *arg2
= (int *) 0 ;
16371 int *arg3
= (int *) 0 ;
16374 PyObject
* obj0
= 0 ;
16375 char *kwnames
[] = {
16376 (char *) "self", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16391 Py_INCREF(Py_None
); resultobj
= Py_None
;
16393 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16394 resultobj
= t_output_helper(resultobj
,o
);
16397 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16398 resultobj
= t_output_helper(resultobj
,o
);
16406 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16409 int *arg2
= (int *) 0 ;
16410 int *arg3
= (int *) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16430 Py_INCREF(Py_None
); resultobj
= Py_None
;
16432 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16433 resultobj
= t_output_helper(resultobj
,o
);
16436 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16437 resultobj
= t_output_helper(resultobj
,o
);
16445 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
;
16447 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16448 int *arg2
= (int *) 0 ;
16449 int *arg3
= (int *) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 Py_INCREF(Py_None
); resultobj
= Py_None
;
16471 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16472 resultobj
= t_output_helper(resultobj
,o
);
16475 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16476 resultobj
= t_output_helper(resultobj
,o
);
16484 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16488 PyObject
* obj0
= 0 ;
16489 char *kwnames
[] = {
16490 (char *) "self", NULL
16493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16504 wxSize
* resultptr
;
16505 resultptr
= new wxSize((wxSize
&) result
);
16506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16514 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
;
16516 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16518 PyObject
* obj0
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 wxSize
* resultptr
;
16535 resultptr
= new wxSize((wxSize
&) result
);
16536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16544 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
;
16546 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 (arg1
)->base_InitDialog();
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 Py_INCREF(Py_None
); resultobj
= Py_None
;
16569 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16573 PyObject
* obj0
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "self", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 result
= (bool)(arg1
)->base_TransferDataToWindow();
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16597 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16601 PyObject
* obj0
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "self", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16625 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16626 PyObject
*resultobj
;
16627 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16629 PyObject
* obj0
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= (bool)(arg1
)->base_Validate();
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16653 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
;
16655 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16657 PyObject
* obj0
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16681 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16685 PyObject
* obj0
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16709 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16713 PyObject
* obj0
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "self", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16729 wxSize
* resultptr
;
16730 resultptr
= new wxSize((wxSize
&) result
);
16731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16739 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
;
16741 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16742 wxWindow
*arg2
= (wxWindow
*) 0 ;
16743 PyObject
* obj0
= 0 ;
16744 PyObject
* obj1
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self",(char *) "child", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 (arg1
)->base_AddChild(arg2
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 Py_INCREF(Py_None
); resultobj
= Py_None
;
16768 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
;
16770 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16771 wxWindow
*arg2
= (wxWindow
*) 0 ;
16772 PyObject
* obj0
= 0 ;
16773 PyObject
* obj1
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self",(char *) "child", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 (arg1
)->base_RemoveChild(arg2
);
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16790 Py_INCREF(Py_None
); resultobj
= Py_None
;
16797 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
;
16799 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16801 PyObject
* obj0
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "self", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
16813 wxPyEndAllowThreads(__tstate
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16825 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16828 wxColour
*arg2
= 0 ;
16830 PyObject
* obj0
= 0 ;
16831 PyObject
* obj1
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self",(char *) "c", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16841 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 Py_INCREF(Py_None
); resultobj
= Py_None
;
16857 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16860 wxVisualAttributes result
;
16861 PyObject
* obj0
= 0 ;
16862 char *kwnames
[] = {
16863 (char *) "self", NULL
16866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 result
= (arg1
)->base_GetDefaultAttributes();
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16877 wxVisualAttributes
* resultptr
;
16878 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16887 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16890 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16892 return Py_BuildValue((char *)"");
16894 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxWindow
*arg1
= (wxWindow
*) 0 ;
16897 int arg2
= (int) (int)-1 ;
16898 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16899 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16900 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16901 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16902 long arg5
= (long) 0 ;
16903 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16904 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16905 wxPyScrolledWindow
*result
;
16908 bool temp6
= False
;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 PyObject
* obj2
= 0 ;
16912 PyObject
* obj3
= 0 ;
16913 PyObject
* obj4
= 0 ;
16914 PyObject
* obj5
= 0 ;
16915 char *kwnames
[] = {
16916 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16923 arg2
= (int const) SWIG_AsInt(obj1
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16929 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16935 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16939 arg5
= (long) SWIG_AsLong(obj4
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16944 arg6
= wxString_in_helper(obj5
);
16945 if (arg6
== NULL
) SWIG_fail
;
16950 if (!wxPyCheckForApp()) SWIG_fail
;
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16952 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16972 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16973 PyObject
*resultobj
;
16974 wxPyScrolledWindow
*result
;
16975 char *kwnames
[] = {
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16981 if (!wxPyCheckForApp()) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16995 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16998 PyObject
*arg2
= (PyObject
*) 0 ;
16999 PyObject
*arg3
= (PyObject
*) 0 ;
17000 PyObject
* obj0
= 0 ;
17001 PyObject
* obj1
= 0 ;
17002 PyObject
* obj2
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "self",(char *) "self",(char *) "_class", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 Py_INCREF(Py_None
); resultobj
= Py_None
;
17026 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 PyObject
* obj1
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self",(char *) "size", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17042 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17051 Py_INCREF(Py_None
); resultobj
= Py_None
;
17058 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
;
17060 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17065 PyObject
* obj0
= 0 ;
17066 PyObject
* obj1
= 0 ;
17067 PyObject
* obj2
= 0 ;
17068 PyObject
* obj3
= 0 ;
17069 PyObject
* obj4
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17077 arg2
= (int) SWIG_AsInt(obj1
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17079 arg3
= (int) SWIG_AsInt(obj2
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17081 arg4
= (int) SWIG_AsInt(obj3
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17083 arg5
= (int) SWIG_AsInt(obj4
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 Py_INCREF(Py_None
); resultobj
= Py_None
;
17099 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17106 int arg6
= (int) wxSIZE_AUTO
;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 PyObject
* obj2
= 0 ;
17110 PyObject
* obj3
= 0 ;
17111 PyObject
* obj4
= 0 ;
17112 PyObject
* obj5
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17120 arg2
= (int) SWIG_AsInt(obj1
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17122 arg3
= (int) SWIG_AsInt(obj2
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17124 arg4
= (int) SWIG_AsInt(obj3
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17126 arg5
= (int) SWIG_AsInt(obj4
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17129 arg6
= (int) SWIG_AsInt(obj5
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17139 Py_INCREF(Py_None
); resultobj
= Py_None
;
17146 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17151 PyObject
* obj0
= 0 ;
17152 PyObject
* obj1
= 0 ;
17153 PyObject
* obj2
= 0 ;
17154 char *kwnames
[] = {
17155 (char *) "self",(char *) "width",(char *) "height", NULL
17158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17161 arg2
= (int) SWIG_AsInt(obj1
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17163 arg3
= (int) SWIG_AsInt(obj2
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 Py_INCREF(Py_None
); resultobj
= Py_None
;
17179 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17184 PyObject
* obj0
= 0 ;
17185 PyObject
* obj1
= 0 ;
17186 PyObject
* obj2
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self",(char *) "x",(char *) "y", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17194 arg2
= (int) SWIG_AsInt(obj1
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17196 arg3
= (int) SWIG_AsInt(obj2
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 Py_INCREF(Py_None
); resultobj
= Py_None
;
17212 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17215 int *arg2
= (int *) 0 ;
17216 int *arg3
= (int *) 0 ;
17219 PyObject
* obj0
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 Py_INCREF(Py_None
); resultobj
= Py_None
;
17238 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17239 resultobj
= t_output_helper(resultobj
,o
);
17242 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17243 resultobj
= t_output_helper(resultobj
,o
);
17251 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17254 int *arg2
= (int *) 0 ;
17255 int *arg3
= (int *) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 Py_INCREF(Py_None
); resultobj
= Py_None
;
17277 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17278 resultobj
= t_output_helper(resultobj
,o
);
17281 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17282 resultobj
= t_output_helper(resultobj
,o
);
17290 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17293 int *arg2
= (int *) 0 ;
17294 int *arg3
= (int *) 0 ;
17297 PyObject
* obj0
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 Py_INCREF(Py_None
); resultobj
= Py_None
;
17316 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17317 resultobj
= t_output_helper(resultobj
,o
);
17320 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17321 resultobj
= t_output_helper(resultobj
,o
);
17329 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17333 PyObject
* obj0
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17349 wxSize
* resultptr
;
17350 resultptr
= new wxSize((wxSize
&) result
);
17351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17359 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
;
17361 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17363 PyObject
* obj0
= 0 ;
17364 char *kwnames
[] = {
17365 (char *) "self", NULL
17368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17379 wxSize
* resultptr
;
17380 resultptr
= new wxSize((wxSize
&) result
);
17381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17389 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17391 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17392 PyObject
* obj0
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 (arg1
)->base_InitDialog();
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 Py_INCREF(Py_None
); resultobj
= Py_None
;
17414 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17418 PyObject
* obj0
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 result
= (bool)(arg1
)->base_TransferDataToWindow();
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17442 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17446 PyObject
* obj0
= 0 ;
17447 char *kwnames
[] = {
17448 (char *) "self", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17470 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17474 PyObject
* obj0
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "self", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (bool)(arg1
)->base_Validate();
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17498 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
;
17500 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17502 PyObject
* obj0
= 0 ;
17503 char *kwnames
[] = {
17504 (char *) "self", NULL
17507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17526 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17530 PyObject
* obj0
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "self", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17554 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17558 PyObject
* obj0
= 0 ;
17559 char *kwnames
[] = {
17560 (char *) "self", NULL
17563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17574 wxSize
* resultptr
;
17575 resultptr
= new wxSize((wxSize
&) result
);
17576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17584 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17587 wxWindow
*arg2
= (wxWindow
*) 0 ;
17588 PyObject
* obj0
= 0 ;
17589 PyObject
* obj1
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "self",(char *) "child", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 (arg1
)->base_AddChild(arg2
);
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 Py_INCREF(Py_None
); resultobj
= Py_None
;
17613 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17616 wxWindow
*arg2
= (wxWindow
*) 0 ;
17617 PyObject
* obj0
= 0 ;
17618 PyObject
* obj1
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self",(char *) "child", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 (arg1
)->base_RemoveChild(arg2
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 Py_INCREF(Py_None
); resultobj
= Py_None
;
17642 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17646 PyObject
* obj0
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17670 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17673 wxColour
*arg2
= 0 ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self",(char *) "c", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17686 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 Py_INCREF(Py_None
); resultobj
= Py_None
;
17702 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17705 wxVisualAttributes result
;
17706 PyObject
* obj0
= 0 ;
17707 char *kwnames
[] = {
17708 (char *) "self", NULL
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 result
= (arg1
)->base_GetDefaultAttributes();
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17722 wxVisualAttributes
* resultptr
;
17723 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17732 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17735 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17737 return Py_BuildValue((char *)"");
17739 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17740 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17745 static PyObject
*_wrap_PrintoutTitleStr_get() {
17750 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17752 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17759 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17760 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17765 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17770 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17772 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17779 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*self
, PyObject
*args
) {
17780 PyObject
*resultobj
;
17781 wxPrintData
*result
;
17783 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (wxPrintData
*)new wxPrintData();
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17798 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*self
, PyObject
*args
) {
17799 PyObject
*resultobj
;
17800 wxPrintData
*arg1
= 0 ;
17801 wxPrintData
*result
;
17802 PyObject
* obj0
= 0 ;
17804 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
17805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17808 if (arg1
== NULL
) {
17809 PyErr_SetString(PyExc_TypeError
,"null reference");
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17826 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
17831 argc
= PyObject_Length(args
);
17832 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
17833 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17836 return _wrap_new_PrintData__SWIG_0(self
,args
);
17842 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
17850 return _wrap_new_PrintData__SWIG_1(self
,args
);
17854 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
17859 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17861 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17877 Py_INCREF(Py_None
); resultobj
= Py_None
;
17884 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
;
17886 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17888 PyObject
* obj0
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 result
= (int)(arg1
)->GetNoCopies();
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 resultobj
= SWIG_FromInt((int)result
);
17910 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17914 PyObject
* obj0
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 result
= (bool)(arg1
)->GetCollate();
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17938 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17942 PyObject
* obj0
= 0 ;
17943 char *kwnames
[] = {
17944 (char *) "self", NULL
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 result
= (int)(arg1
)->GetOrientation();
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= SWIG_FromInt((int)result
);
17964 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (bool)(arg1
)->Ok();
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17992 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18008 result
= (wxString
*) &_result_ref
;
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18016 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18018 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18027 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18031 PyObject
* obj0
= 0 ;
18032 char *kwnames
[] = {
18033 (char *) "self", NULL
18036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= (bool)(arg1
)->GetColour();
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18055 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 result
= (int)(arg1
)->GetDuplex();
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= SWIG_FromInt((int)result
);
18081 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18083 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18085 PyObject
* obj0
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 result
= (int)(arg1
)->GetPaperId();
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= SWIG_FromInt((int)result
);
18107 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18111 PyObject
* obj0
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "self", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18123 result
= (wxSize
*) &_result_ref
;
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18136 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (int)(arg1
)->GetQuality();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= SWIG_FromInt((int)result
);
18162 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self",(char *) "v", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18175 arg2
= (int) SWIG_AsInt(obj1
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 (arg1
)->SetNoCopies(arg2
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 Py_INCREF(Py_None
); resultobj
= Py_None
;
18191 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 PyObject
* obj1
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self",(char *) "flag", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18204 arg2
= (bool) SWIG_AsBool(obj1
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 (arg1
)->SetCollate(arg2
);
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18213 Py_INCREF(Py_None
); resultobj
= Py_None
;
18220 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18224 PyObject
* obj0
= 0 ;
18225 PyObject
* obj1
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self",(char *) "orient", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18233 arg2
= (int) SWIG_AsInt(obj1
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 (arg1
)->SetOrientation(arg2
);
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 Py_INCREF(Py_None
); resultobj
= Py_None
;
18249 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18252 wxString
*arg2
= 0 ;
18253 bool temp2
= False
;
18254 PyObject
* obj0
= 0 ;
18255 PyObject
* obj1
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self",(char *) "name", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18264 arg2
= wxString_in_helper(obj1
);
18265 if (arg2
== NULL
) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 Py_INCREF(Py_None
); resultobj
= Py_None
;
18290 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self",(char *) "colour", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18303 arg2
= (bool) SWIG_AsBool(obj1
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 (arg1
)->SetColour(arg2
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 Py_INCREF(Py_None
); resultobj
= Py_None
;
18319 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "duplex", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18332 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 Py_INCREF(Py_None
); resultobj
= Py_None
;
18348 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18352 PyObject
* obj0
= 0 ;
18353 PyObject
* obj1
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self",(char *) "sizeId", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18361 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 Py_INCREF(Py_None
); resultobj
= Py_None
;
18377 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 PyObject
* obj1
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self",(char *) "sz", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18402 Py_INCREF(Py_None
); resultobj
= Py_None
;
18409 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18410 PyObject
*resultobj
;
18411 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18413 PyObject
* obj0
= 0 ;
18414 PyObject
* obj1
= 0 ;
18415 char *kwnames
[] = {
18416 (char *) "self",(char *) "quality", NULL
18419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18422 arg2
= (int) SWIG_AsInt(obj1
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 (arg1
)->SetQuality(arg2
);
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18431 Py_INCREF(Py_None
); resultobj
= Py_None
;
18438 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18454 result
= (wxString
*) &_result_ref
;
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18464 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18473 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18489 result
= (wxString
*) &_result_ref
;
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18499 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18508 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18512 PyObject
* obj0
= 0 ;
18513 char *kwnames
[] = {
18514 (char *) "self", NULL
18517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18524 result
= (wxString
*) &_result_ref
;
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18534 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18543 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 wxString
const &_result_ref
= (arg1
)->GetFilename();
18559 result
= (wxString
*) &_result_ref
;
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18578 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18582 PyObject
* obj0
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18594 result
= (wxString
*) &_result_ref
;
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18604 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18613 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18617 PyObject
* obj0
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (double)(arg1
)->GetPrinterScaleX();
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= SWIG_FromDouble((double)result
);
18639 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18643 PyObject
* obj0
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 result
= (double)(arg1
)->GetPrinterScaleY();
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18658 resultobj
= SWIG_FromDouble((double)result
);
18665 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
;
18667 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18669 PyObject
* obj0
= 0 ;
18670 char *kwnames
[] = {
18671 (char *) "self", NULL
18674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (long)(arg1
)->GetPrinterTranslateX();
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_FromLong((long)result
);
18691 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
;
18693 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (long)(arg1
)->GetPrinterTranslateY();
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= SWIG_FromLong((long)result
);
18717 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18721 PyObject
* obj0
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 result
= (int)(arg1
)->GetPrintMode();
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= SWIG_FromInt((int)result
);
18743 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18746 wxString
*arg2
= 0 ;
18747 bool temp2
= False
;
18748 PyObject
* obj0
= 0 ;
18749 PyObject
* obj1
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self",(char *) "command", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18758 arg2
= wxString_in_helper(obj1
);
18759 if (arg2
== NULL
) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18769 Py_INCREF(Py_None
); resultobj
= Py_None
;
18784 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
;
18786 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18787 wxString
*arg2
= 0 ;
18788 bool temp2
= False
;
18789 PyObject
* obj0
= 0 ;
18790 PyObject
* obj1
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self",(char *) "options", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18799 arg2
= wxString_in_helper(obj1
);
18800 if (arg2
== NULL
) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 Py_INCREF(Py_None
); resultobj
= Py_None
;
18825 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
;
18827 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18828 wxString
*arg2
= 0 ;
18829 bool temp2
= False
;
18830 PyObject
* obj0
= 0 ;
18831 PyObject
* obj1
= 0 ;
18832 char *kwnames
[] = {
18833 (char *) "self",(char *) "command", NULL
18836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18840 arg2
= wxString_in_helper(obj1
);
18841 if (arg2
== NULL
) SWIG_fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 Py_INCREF(Py_None
); resultobj
= Py_None
;
18866 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18869 wxString
*arg2
= 0 ;
18870 bool temp2
= False
;
18871 PyObject
* obj0
= 0 ;
18872 PyObject
* obj1
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self",(char *) "filename", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18881 arg2
= wxString_in_helper(obj1
);
18882 if (arg2
== NULL
) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 (arg1
)->SetFilename((wxString
const &)*arg2
);
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 Py_INCREF(Py_None
); resultobj
= Py_None
;
18907 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
;
18909 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18910 wxString
*arg2
= 0 ;
18911 bool temp2
= False
;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self",(char *) "path", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18922 arg2
= wxString_in_helper(obj1
);
18923 if (arg2
== NULL
) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18933 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "x", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18961 arg2
= (double) SWIG_AsDouble(obj1
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 (arg1
)->SetPrinterScaleX(arg2
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 Py_INCREF(Py_None
); resultobj
= Py_None
;
18977 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "y", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18990 arg2
= (double) SWIG_AsDouble(obj1
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->SetPrinterScaleY(arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 Py_INCREF(Py_None
); resultobj
= Py_None
;
19006 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19011 PyObject
* obj0
= 0 ;
19012 PyObject
* obj1
= 0 ;
19013 PyObject
* obj2
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self",(char *) "x",(char *) "y", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19021 arg2
= (double) SWIG_AsDouble(obj1
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19023 arg3
= (double) SWIG_AsDouble(obj2
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 Py_INCREF(Py_None
); resultobj
= Py_None
;
19039 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self",(char *) "x", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19052 arg2
= (long) SWIG_AsLong(obj1
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 (arg1
)->SetPrinterTranslateX(arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 Py_INCREF(Py_None
); resultobj
= Py_None
;
19068 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 PyObject
* obj1
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self",(char *) "y", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19081 arg2
= (long) SWIG_AsLong(obj1
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 (arg1
)->SetPrinterTranslateY(arg2
);
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 Py_INCREF(Py_None
); resultobj
= Py_None
;
19097 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 PyObject
* obj2
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "x",(char *) "y", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 arg2
= (long) SWIG_AsLong(obj1
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19114 arg3
= (long) SWIG_AsLong(obj2
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 Py_INCREF(Py_None
); resultobj
= Py_None
;
19130 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self",(char *) "printMode", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 Py_INCREF(Py_None
); resultobj
= Py_None
;
19159 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19162 wxOutputStream
*result
;
19163 PyObject
* obj0
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19185 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19188 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "outputstream", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->SetOutputStream(arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19217 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19219 return Py_BuildValue((char *)"");
19221 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19222 PyObject
*resultobj
;
19223 wxPageSetupDialogData
*result
;
19225 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19240 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19241 PyObject
*resultobj
;
19242 wxPageSetupDialogData
*arg1
= 0 ;
19243 wxPageSetupDialogData
*result
;
19244 PyObject
* obj0
= 0 ;
19246 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19250 if (arg1
== NULL
) {
19251 PyErr_SetString(PyExc_TypeError
,"null reference");
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19268 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19273 argc
= PyObject_Length(args
);
19274 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19275 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19278 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19284 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19292 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19296 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19301 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
;
19303 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 Py_INCREF(Py_None
); resultobj
= Py_None
;
19326 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self",(char *) "flag", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 arg2
= (bool) SWIG_AsBool(obj1
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 (arg1
)->EnableHelp(arg2
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 Py_INCREF(Py_None
); resultobj
= Py_None
;
19355 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19359 PyObject
* obj0
= 0 ;
19360 PyObject
* obj1
= 0 ;
19361 char *kwnames
[] = {
19362 (char *) "self",(char *) "flag", NULL
19365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19368 arg2
= (bool) SWIG_AsBool(obj1
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 (arg1
)->EnableMargins(arg2
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 Py_INCREF(Py_None
); resultobj
= Py_None
;
19384 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 PyObject
* obj1
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self",(char *) "flag", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19397 arg2
= (bool) SWIG_AsBool(obj1
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->EnableOrientation(arg2
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19406 Py_INCREF(Py_None
); resultobj
= Py_None
;
19413 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19414 PyObject
*resultobj
;
19415 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "flag", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19426 arg2
= (bool) SWIG_AsBool(obj1
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 (arg1
)->EnablePaper(arg2
);
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19435 Py_INCREF(Py_None
); resultobj
= Py_None
;
19442 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 PyObject
* obj1
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self",(char *) "flag", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19455 arg2
= (bool) SWIG_AsBool(obj1
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 (arg1
)->EnablePrinter(arg2
);
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19464 Py_INCREF(Py_None
); resultobj
= Py_None
;
19471 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 char *kwnames
[] = {
19477 (char *) "self", NULL
19480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 result
= (bool)(arg1
)->GetDefaultMinMargins();
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19499 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19503 PyObject
* obj0
= 0 ;
19504 char *kwnames
[] = {
19505 (char *) "self", NULL
19508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 result
= (bool)(arg1
)->GetEnableMargins();
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19527 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
;
19529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19531 PyObject
* obj0
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "self", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 result
= (bool)(arg1
)->GetEnableOrientation();
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19555 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
;
19557 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 result
= (bool)(arg1
)->GetEnablePaper();
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19583 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19584 PyObject
*resultobj
;
19585 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19587 PyObject
* obj0
= 0 ;
19588 char *kwnames
[] = {
19589 (char *) "self", NULL
19592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 result
= (bool)(arg1
)->GetEnablePrinter();
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19611 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19615 PyObject
* obj0
= 0 ;
19616 char *kwnames
[] = {
19617 (char *) "self", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (bool)(arg1
)->GetEnableHelp();
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19639 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 result
= (bool)(arg1
)->GetDefaultInfo();
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19667 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (arg1
)->GetMarginTopLeft();
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19687 wxPoint
* resultptr
;
19688 resultptr
= new wxPoint((wxPoint
&) result
);
19689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19697 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= (arg1
)->GetMarginBottomRight();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19717 wxPoint
* resultptr
;
19718 resultptr
= new wxPoint((wxPoint
&) result
);
19719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19727 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19729 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 result
= (arg1
)->GetMinMarginTopLeft();
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19747 wxPoint
* resultptr
;
19748 resultptr
= new wxPoint((wxPoint
&) result
);
19749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19757 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
;
19759 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19761 PyObject
* obj0
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "self", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (arg1
)->GetMinMarginBottomRight();
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19777 wxPoint
* resultptr
;
19778 resultptr
= new wxPoint((wxPoint
&) result
);
19779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19787 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19789 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19791 PyObject
* obj0
= 0 ;
19792 char *kwnames
[] = {
19793 (char *) "self", NULL
19796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= (int)(arg1
)->GetPaperId();
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= SWIG_FromInt((int)result
);
19813 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19817 PyObject
* obj0
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (arg1
)->GetPaperSize();
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19833 wxSize
* resultptr
;
19834 resultptr
= new wxSize((wxSize
&) result
);
19835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19843 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19846 wxPrintData
*result
;
19847 PyObject
* obj0
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "self", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19859 result
= (wxPrintData
*) &_result_ref
;
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19872 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19876 PyObject
* obj0
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 result
= (bool)(arg1
)->Ok();
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19900 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 PyObject
* obj1
= 0 ;
19906 char *kwnames
[] = {
19907 (char *) "self",(char *) "flag", NULL
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19913 arg2
= (bool) SWIG_AsBool(obj1
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 (arg1
)->SetDefaultInfo(arg2
);
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 Py_INCREF(Py_None
); resultobj
= Py_None
;
19929 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 PyObject
* obj1
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self",(char *) "flag", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19942 arg2
= (bool) SWIG_AsBool(obj1
);
19943 if (PyErr_Occurred()) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 (arg1
)->SetDefaultMinMargins(arg2
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 Py_INCREF(Py_None
); resultobj
= Py_None
;
19958 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19961 wxPoint
*arg2
= 0 ;
19963 PyObject
* obj0
= 0 ;
19964 PyObject
* obj1
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self",(char *) "pt", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 Py_INCREF(Py_None
); resultobj
= Py_None
;
19990 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19993 wxPoint
*arg2
= 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self",(char *) "pt", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 Py_INCREF(Py_None
); resultobj
= Py_None
;
20022 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
;
20024 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20025 wxPoint
*arg2
= 0 ;
20027 PyObject
* obj0
= 0 ;
20028 PyObject
* obj1
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self",(char *) "pt", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 Py_INCREF(Py_None
); resultobj
= Py_None
;
20054 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20057 wxPoint
*arg2
= 0 ;
20059 PyObject
* obj0
= 0 ;
20060 PyObject
* obj1
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self",(char *) "pt", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 Py_INCREF(Py_None
); resultobj
= Py_None
;
20086 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20090 PyObject
* obj0
= 0 ;
20091 PyObject
* obj1
= 0 ;
20092 char *kwnames
[] = {
20093 (char *) "self",(char *) "id", NULL
20096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20099 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20103 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20108 Py_INCREF(Py_None
); resultobj
= Py_None
;
20115 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self",(char *) "size", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20131 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 Py_INCREF(Py_None
); resultobj
= Py_None
;
20147 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20150 wxPrintData
*arg2
= 0 ;
20151 PyObject
* obj0
= 0 ;
20152 PyObject
* obj1
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self",(char *) "printData", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20163 if (arg2
== NULL
) {
20164 PyErr_SetString(PyExc_TypeError
,"null reference");
20168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20174 Py_INCREF(Py_None
); resultobj
= Py_None
;
20181 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20184 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20186 return Py_BuildValue((char *)"");
20188 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
;
20190 wxWindow
*arg1
= (wxWindow
*) 0 ;
20191 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20192 wxPageSetupDialog
*result
;
20193 PyObject
* obj0
= 0 ;
20194 PyObject
* obj1
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "parent",(char *) "data", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20207 if (!wxPyCheckForApp()) SWIG_fail
;
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20221 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20222 PyObject
*resultobj
;
20223 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20224 wxPageSetupDialogData
*result
;
20225 PyObject
* obj0
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20237 result
= (wxPageSetupDialogData
*) &_result_ref
;
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20250 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20252 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20254 PyObject
* obj0
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 result
= (int)(arg1
)->ShowModal();
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_FromInt((int)result
);
20276 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20279 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20281 return Py_BuildValue((char *)"");
20283 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20284 PyObject
*resultobj
;
20285 wxPrintDialogData
*result
;
20287 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20302 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20303 PyObject
*resultobj
;
20304 wxPrintData
*arg1
= 0 ;
20305 wxPrintDialogData
*result
;
20306 PyObject
* obj0
= 0 ;
20308 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20312 if (arg1
== NULL
) {
20313 PyErr_SetString(PyExc_TypeError
,"null reference");
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20330 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20335 argc
= PyObject_Length(args
);
20336 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20337 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20340 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20346 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20354 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20358 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20363 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20366 PyObject
* obj0
= 0 ;
20367 char *kwnames
[] = {
20368 (char *) "self", NULL
20371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 Py_INCREF(Py_None
); resultobj
= Py_None
;
20388 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
;
20390 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20392 PyObject
* obj0
= 0 ;
20393 char *kwnames
[] = {
20394 (char *) "self", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= SWIG_FromInt((int)result
);
20414 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
;
20416 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20418 PyObject
* obj0
= 0 ;
20419 char *kwnames
[] = {
20420 (char *) "self", NULL
20423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= SWIG_FromInt((int)result
);
20440 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20444 PyObject
* obj0
= 0 ;
20445 char *kwnames
[] = {
20446 (char *) "self", NULL
20449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= SWIG_FromInt((int)result
);
20466 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
;
20468 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20470 PyObject
* obj0
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 resultobj
= SWIG_FromInt((int)result
);
20492 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= SWIG_FromInt((int)result
);
20518 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
;
20520 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20522 PyObject
* obj0
= 0 ;
20523 char *kwnames
[] = {
20524 (char *) "self", NULL
20527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20546 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20560 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20574 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20602 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20606 PyObject
* obj0
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20630 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20634 PyObject
* obj0
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20646 wxPyEndAllowThreads(__tstate
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20658 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
;
20660 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self",(char *) "v", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 arg2
= (int) SWIG_AsInt(obj1
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 (arg1
)->SetFromPage(arg2
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 Py_INCREF(Py_None
); resultobj
= Py_None
;
20687 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self",(char *) "v", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 arg2
= (int) SWIG_AsInt(obj1
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 (arg1
)->SetToPage(arg2
);
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 Py_INCREF(Py_None
); resultobj
= Py_None
;
20716 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
;
20718 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 PyObject
* obj1
= 0 ;
20722 char *kwnames
[] = {
20723 (char *) "self",(char *) "v", NULL
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20729 arg2
= (int) SWIG_AsInt(obj1
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 (arg1
)->SetMinPage(arg2
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 Py_INCREF(Py_None
); resultobj
= Py_None
;
20745 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20751 char *kwnames
[] = {
20752 (char *) "self",(char *) "v", NULL
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20758 arg2
= (int) SWIG_AsInt(obj1
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 (arg1
)->SetMaxPage(arg2
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 Py_INCREF(Py_None
); resultobj
= Py_None
;
20774 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self",(char *) "v", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20787 arg2
= (int) SWIG_AsInt(obj1
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 (arg1
)->SetNoCopies(arg2
);
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 Py_INCREF(Py_None
); resultobj
= Py_None
;
20803 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
;
20805 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20807 PyObject
* obj0
= 0 ;
20808 PyObject
* obj1
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self",(char *) "flag", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20816 arg2
= (bool) SWIG_AsBool(obj1
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 (arg1
)->SetAllPages(arg2
);
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 Py_INCREF(Py_None
); resultobj
= Py_None
;
20832 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20836 PyObject
* obj0
= 0 ;
20837 PyObject
* obj1
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "self",(char *) "flag", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20845 arg2
= (bool) SWIG_AsBool(obj1
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 (arg1
)->SetSelection(arg2
);
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 Py_INCREF(Py_None
); resultobj
= Py_None
;
20861 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20863 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self",(char *) "flag", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20874 arg2
= (bool) SWIG_AsBool(obj1
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 (arg1
)->SetCollate(arg2
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 Py_INCREF(Py_None
); resultobj
= Py_None
;
20890 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20892 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20894 PyObject
* obj0
= 0 ;
20895 PyObject
* obj1
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self",(char *) "flag", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20903 arg2
= (bool) SWIG_AsBool(obj1
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 (arg1
)->SetPrintToFile(arg2
);
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 Py_INCREF(Py_None
); resultobj
= Py_None
;
20919 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20923 PyObject
* obj0
= 0 ;
20924 PyObject
* obj1
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "self",(char *) "flag", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20932 arg2
= (bool) SWIG_AsBool(obj1
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 (arg1
)->SetSetupDialog(arg2
);
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 Py_INCREF(Py_None
); resultobj
= Py_None
;
20948 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 PyObject
* obj1
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self",(char *) "flag", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 arg2
= (bool) SWIG_AsBool(obj1
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 (arg1
)->EnablePrintToFile(arg2
);
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20970 Py_INCREF(Py_None
); resultobj
= Py_None
;
20977 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20981 PyObject
* obj0
= 0 ;
20982 PyObject
* obj1
= 0 ;
20983 char *kwnames
[] = {
20984 (char *) "self",(char *) "flag", NULL
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20990 arg2
= (bool) SWIG_AsBool(obj1
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 (arg1
)->EnableSelection(arg2
);
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 Py_INCREF(Py_None
); resultobj
= Py_None
;
21006 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21008 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21010 PyObject
* obj0
= 0 ;
21011 PyObject
* obj1
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "self",(char *) "flag", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21019 arg2
= (bool) SWIG_AsBool(obj1
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 (arg1
)->EnablePageNumbers(arg2
);
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 Py_INCREF(Py_None
); resultobj
= Py_None
;
21035 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
;
21037 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 char *kwnames
[] = {
21042 (char *) "self",(char *) "flag", NULL
21045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21048 arg2
= (bool) SWIG_AsBool(obj1
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 (arg1
)->EnableHelp(arg2
);
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21057 Py_INCREF(Py_None
); resultobj
= Py_None
;
21064 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 char *kwnames
[] = {
21070 (char *) "self", NULL
21073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21092 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21093 PyObject
*resultobj
;
21094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21096 PyObject
* obj0
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "self", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21120 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21148 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21149 PyObject
*resultobj
;
21150 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 char *kwnames
[] = {
21154 (char *) "self", NULL
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21176 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21180 PyObject
* obj0
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21204 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21207 wxPrintData
*result
;
21208 PyObject
* obj0
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "self", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21219 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21220 result
= (wxPrintData
*) &_result_ref
;
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21233 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
;
21235 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21236 wxPrintData
*arg2
= 0 ;
21237 PyObject
* obj0
= 0 ;
21238 PyObject
* obj1
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self",(char *) "printData", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21249 if (arg2
== NULL
) {
21250 PyErr_SetString(PyExc_TypeError
,"null reference");
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 Py_INCREF(Py_None
); resultobj
= Py_None
;
21267 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21270 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21272 return Py_BuildValue((char *)"");
21274 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 wxWindow
*arg1
= (wxWindow
*) 0 ;
21277 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21278 wxPrintDialog
*result
;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "parent",(char *) "data", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21293 if (!wxPyCheckForApp()) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21307 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21310 wxPrintDialogData
*result
;
21311 PyObject
* obj0
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21323 result
= (wxPrintDialogData
*) &_result_ref
;
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21336 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= (wxDC
*)(arg1
)->GetPrintDC();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= wxPyMake_wxObject(result
);
21364 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21365 PyObject
*resultobj
;
21366 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21368 PyObject
* obj0
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= (int)(arg1
)->ShowModal();
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= SWIG_FromInt((int)result
);
21390 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21393 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21395 return Py_BuildValue((char *)"");
21397 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
;
21399 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21401 PyObject
* obj0
= 0 ;
21402 char *kwnames
[] = {
21403 (char *) "data", NULL
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21412 if (!wxPyCheckForApp()) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= (wxPrinter
*)new wxPrinter(arg1
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21426 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21429 PyObject
* obj0
= 0 ;
21430 char *kwnames
[] = {
21431 (char *) "self", NULL
21434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 Py_INCREF(Py_None
); resultobj
= Py_None
;
21451 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21453 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21454 wxWindow
*arg2
= (wxWindow
*) 0 ;
21455 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 PyObject
* obj2
= 0 ;
21459 char *kwnames
[] = {
21460 (char *) "self",(char *) "parent",(char *) "printout", NULL
21463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21468 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 Py_INCREF(Py_None
); resultobj
= Py_None
;
21484 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21487 wxPrintDialogData
*result
;
21488 PyObject
* obj0
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21500 result
= (wxPrintDialogData
*) &_result_ref
;
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21513 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
;
21515 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21516 wxWindow
*arg2
= (wxWindow
*) 0 ;
21517 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21518 int arg4
= (int) True
;
21520 PyObject
* obj0
= 0 ;
21521 PyObject
* obj1
= 0 ;
21522 PyObject
* obj2
= 0 ;
21523 PyObject
* obj3
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21533 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21536 arg4
= (int) SWIG_AsInt(obj3
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21555 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21558 wxWindow
*arg2
= (wxWindow
*) 0 ;
21560 PyObject
* obj0
= 0 ;
21561 PyObject
* obj1
= 0 ;
21562 char *kwnames
[] = {
21563 (char *) "self",(char *) "parent", NULL
21566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= wxPyMake_wxObject(result
);
21587 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21590 wxWindow
*arg2
= (wxWindow
*) 0 ;
21591 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21592 wxString
*arg4
= 0 ;
21593 bool temp4
= False
;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 PyObject
* obj2
= 0 ;
21597 PyObject
* obj3
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21607 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21610 arg4
= wxString_in_helper(obj3
);
21611 if (arg4
== NULL
) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 Py_INCREF(Py_None
); resultobj
= Py_None
;
21636 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
;
21638 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21639 wxWindow
*arg2
= (wxWindow
*) 0 ;
21641 PyObject
* obj0
= 0 ;
21642 PyObject
* obj1
= 0 ;
21643 char *kwnames
[] = {
21644 (char *) "self",(char *) "parent", NULL
21647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (bool)(arg1
)->Setup(arg2
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21668 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
;
21670 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21672 PyObject
* obj0
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= (bool)(arg1
)->GetAbort();
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21696 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21699 char *kwnames
[] = {
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (int)wxPrinter::GetLastError();
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= SWIG_FromInt((int)result
);
21718 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21721 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21723 return Py_BuildValue((char *)"");
21725 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
;
21727 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21728 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21729 wxPyPrintout
*result
;
21730 bool temp1
= False
;
21731 PyObject
* obj0
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "title", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21739 arg1
= wxString_in_helper(obj0
);
21740 if (arg1
== NULL
) SWIG_fail
;
21745 if (!wxPyCheckForApp()) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21753 resultobj
= wxPyMake_wxObject(result
);
21769 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21772 PyObject
*arg2
= (PyObject
*) 0 ;
21773 PyObject
*arg3
= (PyObject
*) 0 ;
21774 PyObject
* obj0
= 0 ;
21775 PyObject
* obj1
= 0 ;
21776 PyObject
* obj2
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self",(char *) "self",(char *) "_class", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21788 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21790 wxPyEndAllowThreads(__tstate
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 Py_INCREF(Py_None
); resultobj
= Py_None
;
21800 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21801 PyObject
*resultobj
;
21802 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21804 PyObject
* obj0
= 0 ;
21805 char *kwnames
[] = {
21806 (char *) "self", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21832 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= (wxDC
*)(arg1
)->GetDC();
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= wxPyMake_wxObject(result
);
21860 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21861 PyObject
*resultobj
;
21862 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21863 wxDC
*arg2
= (wxDC
*) 0 ;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 char *kwnames
[] = {
21867 (char *) "self",(char *) "dc", NULL
21870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 (arg1
)->SetDC(arg2
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 Py_INCREF(Py_None
); resultobj
= Py_None
;
21889 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21894 PyObject
* obj0
= 0 ;
21895 PyObject
* obj1
= 0 ;
21896 PyObject
* obj2
= 0 ;
21897 char *kwnames
[] = {
21898 (char *) "self",(char *) "w",(char *) "h", NULL
21901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21904 arg2
= (int) SWIG_AsInt(obj1
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21906 arg3
= (int) SWIG_AsInt(obj2
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 Py_INCREF(Py_None
); resultobj
= Py_None
;
21922 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
;
21924 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21925 int *arg2
= (int *) 0 ;
21926 int *arg3
= (int *) 0 ;
21929 PyObject
* obj0
= 0 ;
21930 char *kwnames
[] = {
21931 (char *) "self", NULL
21936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 Py_INCREF(Py_None
); resultobj
= Py_None
;
21948 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21949 resultobj
= t_output_helper(resultobj
,o
);
21952 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21953 resultobj
= t_output_helper(resultobj
,o
);
21961 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21966 PyObject
* obj0
= 0 ;
21967 PyObject
* obj1
= 0 ;
21968 PyObject
* obj2
= 0 ;
21969 char *kwnames
[] = {
21970 (char *) "self",(char *) "w",(char *) "h", NULL
21973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21976 arg2
= (int) SWIG_AsInt(obj1
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21978 arg3
= (int) SWIG_AsInt(obj2
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 Py_INCREF(Py_None
); resultobj
= Py_None
;
21994 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21997 int *arg2
= (int *) 0 ;
21998 int *arg3
= (int *) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self", NULL
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22018 Py_INCREF(Py_None
); resultobj
= Py_None
;
22020 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22021 resultobj
= t_output_helper(resultobj
,o
);
22024 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22025 resultobj
= t_output_helper(resultobj
,o
);
22033 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22038 PyObject
* obj0
= 0 ;
22039 PyObject
* obj1
= 0 ;
22040 PyObject
* obj2
= 0 ;
22041 char *kwnames
[] = {
22042 (char *) "self",(char *) "x",(char *) "y", NULL
22045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22048 arg2
= (int) SWIG_AsInt(obj1
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22050 arg3
= (int) SWIG_AsInt(obj2
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 (arg1
)->SetPPIScreen(arg2
,arg3
);
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 Py_INCREF(Py_None
); resultobj
= Py_None
;
22066 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22069 int *arg2
= (int *) 0 ;
22070 int *arg3
= (int *) 0 ;
22073 PyObject
* obj0
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 (arg1
)->GetPPIScreen(arg2
,arg3
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 Py_INCREF(Py_None
); resultobj
= Py_None
;
22092 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22093 resultobj
= t_output_helper(resultobj
,o
);
22096 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22097 resultobj
= t_output_helper(resultobj
,o
);
22105 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 PyObject
* obj2
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self",(char *) "x",(char *) "y", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22120 arg2
= (int) SWIG_AsInt(obj1
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22122 arg3
= (int) SWIG_AsInt(obj2
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 Py_INCREF(Py_None
); resultobj
= Py_None
;
22138 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22141 int *arg2
= (int *) 0 ;
22142 int *arg3
= (int *) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self", NULL
22152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 Py_INCREF(Py_None
); resultobj
= Py_None
;
22164 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22165 resultobj
= t_output_helper(resultobj
,o
);
22168 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22169 resultobj
= t_output_helper(resultobj
,o
);
22177 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 char *kwnames
[] = {
22183 (char *) "self", NULL
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (bool)(arg1
)->IsPreview();
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22205 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22207 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22209 PyObject
* obj0
= 0 ;
22210 PyObject
* obj1
= 0 ;
22211 char *kwnames
[] = {
22212 (char *) "self",(char *) "p", NULL
22215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22218 arg2
= (bool) SWIG_AsBool(obj1
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 (arg1
)->SetIsPreview(arg2
);
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22227 Py_INCREF(Py_None
); resultobj
= Py_None
;
22234 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 PyObject
* obj2
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 arg2
= (int) SWIG_AsInt(obj1
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22252 arg3
= (int) SWIG_AsInt(obj2
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22270 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22273 PyObject
* obj0
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 (arg1
)->base_OnEndDocument();
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 Py_INCREF(Py_None
); resultobj
= Py_None
;
22295 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22298 PyObject
* obj0
= 0 ;
22299 char *kwnames
[] = {
22300 (char *) "self", NULL
22303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 (arg1
)->base_OnBeginPrinting();
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 Py_INCREF(Py_None
); resultobj
= Py_None
;
22320 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
;
22322 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 (arg1
)->base_OnEndPrinting();
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22338 Py_INCREF(Py_None
); resultobj
= Py_None
;
22345 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22346 PyObject
*resultobj
;
22347 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22348 PyObject
* obj0
= 0 ;
22349 char *kwnames
[] = {
22350 (char *) "self", NULL
22353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 (arg1
)->base_OnPreparePrinting();
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22363 Py_INCREF(Py_None
); resultobj
= Py_None
;
22370 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 PyObject
* obj1
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self",(char *) "page", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 arg2
= (int) SWIG_AsInt(obj1
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (bool)(arg1
)->base_HasPage(arg2
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22402 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22405 int *arg2
= (int *) 0 ;
22406 int *arg3
= (int *) 0 ;
22407 int *arg4
= (int *) 0 ;
22408 int *arg5
= (int *) 0 ;
22413 PyObject
* obj0
= 0 ;
22414 char *kwnames
[] = {
22415 (char *) "self", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 Py_INCREF(Py_None
); resultobj
= Py_None
;
22434 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22435 resultobj
= t_output_helper(resultobj
,o
);
22438 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22439 resultobj
= t_output_helper(resultobj
,o
);
22442 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22443 resultobj
= t_output_helper(resultobj
,o
);
22446 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22447 resultobj
= t_output_helper(resultobj
,o
);
22455 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22458 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22460 return Py_BuildValue((char *)"");
22462 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22465 wxWindow
*arg2
= (wxWindow
*) 0 ;
22466 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22467 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22468 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22469 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22470 long arg5
= (long) 0 ;
22471 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22472 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22473 wxPreviewCanvas
*result
;
22476 bool temp6
= False
;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 PyObject
* obj2
= 0 ;
22480 PyObject
* obj3
= 0 ;
22481 PyObject
* obj4
= 0 ;
22482 PyObject
* obj5
= 0 ;
22483 char *kwnames
[] = {
22484 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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_wxWindow
,
22491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22495 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22501 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22505 arg5
= (long) SWIG_AsLong(obj4
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22510 arg6
= wxString_in_helper(obj5
);
22511 if (arg6
== NULL
) SWIG_fail
;
22516 if (!wxPyCheckForApp()) SWIG_fail
;
22517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22538 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22541 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22543 return Py_BuildValue((char *)"");
22545 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22546 PyObject
*resultobj
;
22547 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22548 wxFrame
*arg2
= (wxFrame
*) 0 ;
22549 wxString
*arg3
= 0 ;
22550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22554 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22555 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22556 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22557 wxPreviewFrame
*result
;
22558 bool temp3
= False
;
22561 bool temp7
= False
;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 PyObject
* obj2
= 0 ;
22565 PyObject
* obj3
= 0 ;
22566 PyObject
* obj4
= 0 ;
22567 PyObject
* obj5
= 0 ;
22568 PyObject
* obj6
= 0 ;
22569 char *kwnames
[] = {
22570 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22579 arg3
= wxString_in_helper(obj2
);
22580 if (arg3
== NULL
) SWIG_fail
;
22586 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22592 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22596 arg6
= (long) SWIG_AsLong(obj5
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22601 arg7
= wxString_in_helper(obj6
);
22602 if (arg7
== NULL
) SWIG_fail
;
22607 if (!wxPyCheckForApp()) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22637 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 (arg1
)->Initialize();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 Py_INCREF(Py_None
); resultobj
= Py_None
;
22662 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 (arg1
)->CreateControlBar();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 Py_INCREF(Py_None
); resultobj
= Py_None
;
22687 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22690 PyObject
* obj0
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 (arg1
)->CreateCanvas();
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 Py_INCREF(Py_None
); resultobj
= Py_None
;
22712 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
;
22714 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22715 wxPreviewControlBar
*result
;
22716 PyObject
* obj0
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22738 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22741 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22743 return Py_BuildValue((char *)"");
22745 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
;
22747 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22749 wxWindow
*arg3
= (wxWindow
*) 0 ;
22750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22754 long arg6
= (long) wxTAB_TRAVERSAL
;
22755 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22756 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22757 wxPreviewControlBar
*result
;
22760 bool temp7
= False
;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 PyObject
* obj2
= 0 ;
22764 PyObject
* obj3
= 0 ;
22765 PyObject
* obj4
= 0 ;
22766 PyObject
* obj5
= 0 ;
22767 PyObject
* obj6
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22775 arg2
= (long) SWIG_AsLong(obj1
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22777 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22782 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22788 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22792 arg6
= (long) SWIG_AsLong(obj5
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22797 arg7
= wxString_in_helper(obj6
);
22798 if (arg7
== NULL
) SWIG_fail
;
22803 if (!wxPyCheckForApp()) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22825 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
;
22827 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22829 PyObject
* obj0
= 0 ;
22830 char *kwnames
[] = {
22831 (char *) "self", NULL
22834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= (int)(arg1
)->GetZoomControl();
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_FromInt((int)result
);
22851 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 char *kwnames
[] = {
22858 (char *) "self",(char *) "zoom", NULL
22861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22864 arg2
= (int) SWIG_AsInt(obj1
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 (arg1
)->SetZoomControl(arg2
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 Py_INCREF(Py_None
); resultobj
= Py_None
;
22880 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22883 wxPrintPreview
*result
;
22884 PyObject
* obj0
= 0 ;
22885 char *kwnames
[] = {
22886 (char *) "self", NULL
22889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22906 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
;
22908 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22909 PyObject
* obj0
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 Py_INCREF(Py_None
); resultobj
= Py_None
;
22931 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 (arg1
)->OnPrevious();
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22949 Py_INCREF(Py_None
); resultobj
= Py_None
;
22956 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22957 PyObject
*resultobj
;
22958 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22959 PyObject
* obj0
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 Py_INCREF(Py_None
); resultobj
= Py_None
;
22981 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22984 PyObject
* obj0
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
22999 Py_INCREF(Py_None
); resultobj
= Py_None
;
23006 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23007 PyObject
*resultobj
;
23008 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23009 PyObject
* obj0
= 0 ;
23010 char *kwnames
[] = {
23011 (char *) "self", NULL
23014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 Py_INCREF(Py_None
); resultobj
= Py_None
;
23031 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23034 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23036 return Py_BuildValue((char *)"");
23038 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23039 PyObject
*resultobj
;
23040 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23041 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23042 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23043 wxPrintPreview
*result
;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 PyObject
* obj2
= 0 ;
23048 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23054 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23058 if (!wxPyCheckForApp()) SWIG_fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23072 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23073 PyObject
*resultobj
;
23074 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23075 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23076 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23077 wxPrintPreview
*result
;
23078 PyObject
* obj0
= 0 ;
23079 PyObject
* obj1
= 0 ;
23080 PyObject
* obj2
= 0 ;
23082 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23087 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23090 if (!wxPyCheckForApp()) SWIG_fail
;
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23104 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23109 argc
= PyObject_Length(args
);
23110 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23111 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23113 if ((argc
>= 2) && (argc
<= 3)) {
23117 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23127 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23136 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23140 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23148 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23157 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23167 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23177 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23185 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23191 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23196 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23198 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23201 PyObject
* obj0
= 0 ;
23202 PyObject
* obj1
= 0 ;
23203 char *kwnames
[] = {
23204 (char *) "self",(char *) "pageNum", NULL
23207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23210 arg2
= (int) SWIG_AsInt(obj1
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23228 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
;
23230 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23232 PyObject
* obj0
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= (int)(arg1
)->GetCurrentPage();
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 resultobj
= SWIG_FromInt((int)result
);
23254 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23257 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23258 PyObject
* obj0
= 0 ;
23259 PyObject
* obj1
= 0 ;
23260 char *kwnames
[] = {
23261 (char *) "self",(char *) "printout", NULL
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 (arg1
)->SetPrintout(arg2
);
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 Py_INCREF(Py_None
); resultobj
= Py_None
;
23283 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23286 wxPyPrintout
*result
;
23287 PyObject
* obj0
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "self", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= wxPyMake_wxObject(result
);
23311 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
;
23313 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23314 wxPyPrintout
*result
;
23315 PyObject
* obj0
= 0 ;
23316 char *kwnames
[] = {
23317 (char *) "self", NULL
23320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= wxPyMake_wxObject(result
);
23339 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23341 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23342 wxFrame
*arg2
= (wxFrame
*) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self",(char *) "frame", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->SetFrame(arg2
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 Py_INCREF(Py_None
); resultobj
= Py_None
;
23368 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23371 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23372 PyObject
* obj0
= 0 ;
23373 PyObject
* obj1
= 0 ;
23374 char *kwnames
[] = {
23375 (char *) "self",(char *) "canvas", NULL
23378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 (arg1
)->SetCanvas(arg2
);
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 Py_INCREF(Py_None
); resultobj
= Py_None
;
23397 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23401 PyObject
* obj0
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 result
= (wxFrame
*)(arg1
)->GetFrame();
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23417 resultobj
= wxPyMake_wxObject(result
);
23425 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23428 wxPreviewCanvas
*result
;
23429 PyObject
* obj0
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23451 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
;
23453 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23454 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23457 PyObject
* obj0
= 0 ;
23458 PyObject
* obj1
= 0 ;
23459 PyObject
* obj2
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23469 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23472 if (arg3
== NULL
) {
23473 PyErr_SetString(PyExc_TypeError
,"null reference");
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23492 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
;
23494 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23495 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 PyObject
* obj2
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23510 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23513 if (arg3
== NULL
) {
23514 PyErr_SetString(PyExc_TypeError
,"null reference");
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23533 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self",(char *) "pageNum", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23547 arg2
= (int) SWIG_AsInt(obj1
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= (bool)(arg1
)->RenderPage(arg2
);
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23565 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23568 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self",(char *) "canvas", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 (arg1
)->AdjustScrollbars(arg2
);
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 Py_INCREF(Py_None
); resultobj
= Py_None
;
23594 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23596 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23597 wxPrintDialogData
*result
;
23598 PyObject
* obj0
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23610 result
= (wxPrintDialogData
*) &_result_ref
;
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23623 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
;
23625 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23627 PyObject
* obj0
= 0 ;
23628 PyObject
* obj1
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self",(char *) "percent", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23636 arg2
= (int) SWIG_AsInt(obj1
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 (arg1
)->SetZoom(arg2
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 Py_INCREF(Py_None
); resultobj
= Py_None
;
23652 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23656 PyObject
* obj0
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 result
= (int)(arg1
)->GetZoom();
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_FromInt((int)result
);
23678 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23679 PyObject
*resultobj
;
23680 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23682 PyObject
* obj0
= 0 ;
23683 char *kwnames
[] = {
23684 (char *) "self", NULL
23687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= (int)(arg1
)->GetMaxPage();
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_FromInt((int)result
);
23704 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23706 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 char *kwnames
[] = {
23710 (char *) "self", NULL
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 result
= (int)(arg1
)->GetMinPage();
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= SWIG_FromInt((int)result
);
23730 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23732 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23734 PyObject
* obj0
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "self", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 result
= (bool)(arg1
)->Ok();
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23758 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23762 PyObject
* obj0
= 0 ;
23763 PyObject
* obj1
= 0 ;
23764 char *kwnames
[] = {
23765 (char *) "self",(char *) "ok", NULL
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23771 arg2
= (bool) SWIG_AsBool(obj1
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 (arg1
)->SetOk(arg2
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 Py_INCREF(Py_None
); resultobj
= Py_None
;
23787 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
;
23789 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self",(char *) "interactive", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23801 arg2
= (bool) SWIG_AsBool(obj1
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 result
= (bool)(arg1
)->Print(arg2
);
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23819 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23822 PyObject
* obj0
= 0 ;
23823 char *kwnames
[] = {
23824 (char *) "self", NULL
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 (arg1
)->DetermineScaling();
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 Py_INCREF(Py_None
); resultobj
= Py_None
;
23844 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23847 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23849 return Py_BuildValue((char *)"");
23851 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23852 PyObject
*resultobj
;
23853 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23854 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23855 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23856 wxPyPrintPreview
*result
;
23857 PyObject
* obj0
= 0 ;
23858 PyObject
* obj1
= 0 ;
23859 PyObject
* obj2
= 0 ;
23861 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23867 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23871 if (!wxPyCheckForApp()) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23885 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23886 PyObject
*resultobj
;
23887 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23888 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23889 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23890 wxPyPrintPreview
*result
;
23891 PyObject
* obj0
= 0 ;
23892 PyObject
* obj1
= 0 ;
23893 PyObject
* obj2
= 0 ;
23895 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23900 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23903 if (!wxPyCheckForApp()) SWIG_fail
;
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23917 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23922 argc
= PyObject_Length(args
);
23923 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23924 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23926 if ((argc
>= 2) && (argc
<= 3)) {
23930 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23940 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23949 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23953 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23961 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23970 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23980 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23990 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23998 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24004 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24009 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
;
24011 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24012 PyObject
*arg2
= (PyObject
*) 0 ;
24013 PyObject
*arg3
= (PyObject
*) 0 ;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 PyObject
* obj2
= 0 ;
24017 char *kwnames
[] = {
24018 (char *) "self",(char *) "self",(char *) "_class", NULL
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 Py_INCREF(Py_None
); resultobj
= Py_None
;
24040 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self",(char *) "pageNum", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24054 arg2
= (int) SWIG_AsInt(obj1
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24072 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24075 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24078 PyObject
* obj0
= 0 ;
24079 PyObject
* obj1
= 0 ;
24080 PyObject
* obj2
= 0 ;
24081 char *kwnames
[] = {
24082 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24090 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24093 if (arg3
== NULL
) {
24094 PyErr_SetString(PyExc_TypeError
,"null reference");
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24113 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24115 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24116 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24119 PyObject
* obj0
= 0 ;
24120 PyObject
* obj1
= 0 ;
24121 PyObject
* obj2
= 0 ;
24122 char *kwnames
[] = {
24123 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24131 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24134 if (arg3
== NULL
) {
24135 PyErr_SetString(PyExc_TypeError
,"null reference");
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24154 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24159 PyObject
* obj0
= 0 ;
24160 PyObject
* obj1
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self",(char *) "pageNum", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24168 arg2
= (int) SWIG_AsInt(obj1
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24186 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
;
24188 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24190 PyObject
* obj0
= 0 ;
24191 PyObject
* obj1
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self",(char *) "percent", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24199 arg2
= (int) SWIG_AsInt(obj1
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 (arg1
)->base_SetZoom(arg2
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 Py_INCREF(Py_None
); resultobj
= Py_None
;
24215 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24220 PyObject
* obj0
= 0 ;
24221 PyObject
* obj1
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self",(char *) "interactive", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24229 arg2
= (bool) SWIG_AsBool(obj1
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (bool)(arg1
)->base_Print(arg2
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24247 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24250 PyObject
* obj0
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 (arg1
)->base_DetermineScaling();
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 Py_INCREF(Py_None
); resultobj
= Py_None
;
24272 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24275 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24277 return Py_BuildValue((char *)"");
24279 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24282 wxFrame
*arg2
= (wxFrame
*) 0 ;
24283 wxString
*arg3
= 0 ;
24284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24288 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24289 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24290 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24291 wxPyPreviewFrame
*result
;
24292 bool temp3
= False
;
24295 bool temp7
= False
;
24296 PyObject
* obj0
= 0 ;
24297 PyObject
* obj1
= 0 ;
24298 PyObject
* obj2
= 0 ;
24299 PyObject
* obj3
= 0 ;
24300 PyObject
* obj4
= 0 ;
24301 PyObject
* obj5
= 0 ;
24302 PyObject
* obj6
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24313 arg3
= wxString_in_helper(obj2
);
24314 if (arg3
== NULL
) SWIG_fail
;
24320 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24326 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24330 arg6
= (long) SWIG_AsLong(obj5
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24335 arg7
= wxString_in_helper(obj6
);
24336 if (arg7
== NULL
) SWIG_fail
;
24341 if (!wxPyCheckForApp()) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24371 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24374 PyObject
*arg2
= (PyObject
*) 0 ;
24375 PyObject
*arg3
= (PyObject
*) 0 ;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 PyObject
* obj2
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "self",(char *) "self",(char *) "_class", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 Py_INCREF(Py_None
); resultobj
= Py_None
;
24402 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24404 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24405 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24406 PyObject
* obj0
= 0 ;
24407 PyObject
* obj1
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "self",(char *) "canvas", NULL
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 (arg1
)->SetPreviewCanvas(arg2
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 Py_INCREF(Py_None
); resultobj
= Py_None
;
24431 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24434 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self",(char *) "bar", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 (arg1
)->SetControlBar(arg2
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 Py_INCREF(Py_None
); resultobj
= Py_None
;
24460 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24461 PyObject
*resultobj
;
24462 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24463 PyObject
* obj0
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 (arg1
)->base_Initialize();
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 Py_INCREF(Py_None
); resultobj
= Py_None
;
24485 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24488 PyObject
* obj0
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 (arg1
)->base_CreateCanvas();
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 Py_INCREF(Py_None
); resultobj
= Py_None
;
24510 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
;
24512 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 (arg1
)->base_CreateControlBar();
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 Py_INCREF(Py_None
); resultobj
= Py_None
;
24535 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24538 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24540 return Py_BuildValue((char *)"");
24542 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
;
24544 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24546 wxWindow
*arg3
= (wxWindow
*) 0 ;
24547 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24548 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24549 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24550 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24551 long arg6
= (long) 0 ;
24552 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24553 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24554 wxPyPreviewControlBar
*result
;
24557 bool temp7
= False
;
24558 PyObject
* obj0
= 0 ;
24559 PyObject
* obj1
= 0 ;
24560 PyObject
* obj2
= 0 ;
24561 PyObject
* obj3
= 0 ;
24562 PyObject
* obj4
= 0 ;
24563 PyObject
* obj5
= 0 ;
24564 PyObject
* obj6
= 0 ;
24565 char *kwnames
[] = {
24566 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24572 arg2
= (long) SWIG_AsLong(obj1
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24574 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24589 arg6
= (long) SWIG_AsLong(obj5
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24594 arg7
= wxString_in_helper(obj6
);
24595 if (arg7
== NULL
) SWIG_fail
;
24600 if (!wxPyCheckForApp()) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24622 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24625 PyObject
*arg2
= (PyObject
*) 0 ;
24626 PyObject
*arg3
= (PyObject
*) 0 ;
24627 PyObject
* obj0
= 0 ;
24628 PyObject
* obj1
= 0 ;
24629 PyObject
* obj2
= 0 ;
24630 char *kwnames
[] = {
24631 (char *) "self",(char *) "self",(char *) "_class", NULL
24634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24643 wxPyEndAllowThreads(__tstate
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24646 Py_INCREF(Py_None
); resultobj
= Py_None
;
24653 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24654 PyObject
*resultobj
;
24655 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24656 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24657 PyObject
* obj0
= 0 ;
24658 PyObject
* obj1
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self",(char *) "preview", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 (arg1
)->SetPrintPreview(arg2
);
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24675 Py_INCREF(Py_None
); resultobj
= Py_None
;
24682 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
;
24684 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24685 PyObject
* obj0
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 (arg1
)->base_CreateButtons();
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 Py_INCREF(Py_None
); resultobj
= Py_None
;
24707 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self",(char *) "zoom", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24720 arg2
= (int) SWIG_AsInt(obj1
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 (arg1
)->base_SetZoomControl(arg2
);
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 Py_INCREF(Py_None
); resultobj
= Py_None
;
24736 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24739 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24741 return Py_BuildValue((char *)"");
24743 static PyMethodDef SwigMethods
[] = {
24744 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24750 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24765 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24766 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24774 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24790 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24814 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24826 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24830 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24834 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24839 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24855 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24883 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24890 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24913 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24921 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24933 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24939 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24948 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24954 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24957 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24960 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24964 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24982 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25008 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25016 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25020 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25022 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25031 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25034 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25041 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25059 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25063 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25068 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25072 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25088 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25091 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25093 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25097 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25106 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25115 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25121 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25133 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25140 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25144 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25170 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25196 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25222 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
},
25223 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25268 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
},
25269 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25300 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25304 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25305 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25338 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25343 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25354 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25377 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25379 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25385 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25395 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25396 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25419 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25420 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25429 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25430 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25437 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25447 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25449 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25450 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25452 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25453 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25455 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25456 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25458 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25459 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25461 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25462 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25464 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25465 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25467 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25468 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25470 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25471 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25473 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25474 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25476 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25477 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25479 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25480 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25482 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25483 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25485 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25486 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25488 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25489 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25491 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25492 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25494 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25495 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25497 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25498 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25500 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25501 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25503 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25504 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25506 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25507 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25509 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25510 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25512 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25513 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25515 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25516 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25518 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25519 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25521 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25522 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25524 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25525 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25527 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25528 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25530 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25531 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25533 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25534 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25536 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25537 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25539 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25540 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25542 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25543 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25545 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25546 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25548 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25549 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25551 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25552 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25554 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25555 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25557 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25558 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25560 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25561 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25563 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25564 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25566 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25567 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25569 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25570 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25572 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25573 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25575 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25576 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25578 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25581 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25584 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25587 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25588 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25590 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25591 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25593 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25594 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25596 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25597 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25599 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25602 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25605 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25608 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25611 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25614 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25617 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25620 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25621 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25623 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25624 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25626 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25629 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25632 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25635 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25636 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25638 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25641 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25642 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25644 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25645 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25647 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25648 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25650 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25651 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25653 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25656 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25657 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25659 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25660 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25662 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25665 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25666 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25668 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25671 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25674 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25677 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25678 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25680 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25683 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25684 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25686 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25689 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25692 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25695 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25698 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25701 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25702 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25704 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25707 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25710 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25713 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25716 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25717 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25719 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25722 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25725 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25728 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25729 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25731 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25732 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25734 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25735 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25737 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
25738 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
25740 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25741 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25743 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25744 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25746 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25747 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25749 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25750 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25752 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25753 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25755 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25756 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25758 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25759 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25761 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25764 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25767 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25768 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25770 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25771 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25773 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25776 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25777 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25779 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25780 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25782 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25783 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25785 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25786 return (void *)((wxObject
*) ((wxSizer
*) x
));
25788 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25789 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25791 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25794 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25797 static void *_p_wxEventTo_p_wxObject(void *x
) {
25798 return (void *)((wxObject
*) ((wxEvent
*) x
));
25800 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25801 return (void *)((wxObject
*) ((wxFontData
*) x
));
25803 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25804 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25806 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25807 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25809 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25810 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25812 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25813 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25815 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25816 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25818 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25819 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25821 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25824 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25825 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25827 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25828 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25830 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25831 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25833 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25834 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25836 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25837 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25839 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25840 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25842 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25845 static void *_p_wxControlTo_p_wxObject(void *x
) {
25846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25848 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25849 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25851 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25854 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25855 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25857 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25858 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25860 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25861 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25863 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25866 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25867 return (void *)((wxObject
*) ((wxColourData
*) x
));
25869 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25870 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25872 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25875 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25878 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25881 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25884 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25887 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25890 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25893 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25896 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25899 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25902 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25903 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25905 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25906 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25908 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25909 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25911 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25912 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25914 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25915 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25917 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25918 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25920 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25921 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25923 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25924 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25926 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25927 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25929 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25930 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25932 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25933 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25935 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25936 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25938 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25939 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25941 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25942 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25944 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25945 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25947 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25948 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25950 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25951 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25953 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25954 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25956 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25957 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25959 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25960 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25962 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25963 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25965 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25966 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25968 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25969 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25971 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25972 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25974 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25975 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25977 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25980 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25983 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25984 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25986 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25989 static void *_p_wxImageTo_p_wxObject(void *x
) {
25990 return (void *)((wxObject
*) ((wxImage
*) x
));
25992 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25995 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25996 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25998 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25999 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26001 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26002 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26004 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26007 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26010 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26013 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26014 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26016 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26017 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26019 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26020 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26022 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26023 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26025 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26028 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26031 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26034 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26037 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26040 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26043 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26046 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26049 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26052 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26055 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26058 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26061 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26064 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26065 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26067 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26068 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26070 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26071 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26073 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26076 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26079 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26082 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26085 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26088 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26091 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26094 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26095 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26097 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26100 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26101 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26103 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26104 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26106 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26107 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26109 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26110 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26112 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26113 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26115 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26118 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26119 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26121 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26124 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26127 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26128 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26130 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26131 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26133 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26134 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26136 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26139 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26140 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26142 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26143 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26145 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26148 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26149 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26151 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26152 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26154 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26155 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26157 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26158 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26160 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26161 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26163 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26164 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26166 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26167 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26169 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26170 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26172 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26173 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26175 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26176 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26178 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26179 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26181 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26182 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26184 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26185 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26187 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26188 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26190 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
26191 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
26193 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26194 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26196 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26197 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26199 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26200 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26202 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26203 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26205 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26206 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26208 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26209 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26211 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26212 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26214 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26215 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26217 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26218 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26220 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26221 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26223 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26224 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26226 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26227 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26229 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26230 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26232 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26233 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26235 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26236 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26238 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26239 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26241 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26242 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26244 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26245 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26247 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26248 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26250 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26251 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26253 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26254 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26256 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26257 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26259 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26260 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26262 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26263 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26265 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26266 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26268 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26269 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26271 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26272 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26274 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26275 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26277 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26278 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26280 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26281 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26283 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26284 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26286 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26287 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26289 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26290 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26292 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26293 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26295 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26296 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26298 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26299 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26301 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26302 return (void *)((wxWindow
*) ((wxControl
*) x
));
26304 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26305 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26307 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26308 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26310 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26311 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26313 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26314 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26316 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26317 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26319 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26320 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26322 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26323 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26325 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26326 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26328 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26329 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26331 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26332 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26334 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26335 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26337 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26338 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26340 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26341 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26343 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26344 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26346 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26347 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26349 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26350 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26352 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26353 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26355 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26356 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26358 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26359 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26361 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26362 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26364 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26365 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26367 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26368 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26370 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26371 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26373 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26374 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26376 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26377 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26379 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26380 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26382 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26383 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26385 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26386 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26388 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26389 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26391 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26392 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26394 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26395 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26397 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26398 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26400 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26401 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26403 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26404 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26406 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26407 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26409 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26410 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26412 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26413 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26415 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26416 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26418 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26419 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26421 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26422 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26424 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26425 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26427 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26428 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26430 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26431 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26433 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26434 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26436 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26437 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26439 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26440 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26442 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26443 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26445 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26446 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26448 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26449 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26451 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26452 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26454 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26455 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26457 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26458 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26460 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26461 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26463 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}};
26464 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}};
26465 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}};
26466 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}};
26467 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}};
26468 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}};
26469 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}};
26470 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}};
26471 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}};
26472 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}};
26473 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}};
26474 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}};
26475 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}};
26476 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}};
26477 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}};
26478 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}};
26479 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}};
26480 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}};
26481 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}};
26482 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}};
26483 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}};
26484 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26485 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}};
26486 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}};
26487 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}};
26488 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}};
26489 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}};
26490 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}};
26491 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}};
26492 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}};
26493 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}};
26494 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}};
26495 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}};
26496 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}};
26497 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}};
26498 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}};
26499 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}};
26500 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}};
26501 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}};
26502 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}};
26503 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}};
26504 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}};
26505 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}};
26506 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}};
26507 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}};
26508 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}};
26509 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}};
26510 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}};
26511 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}};
26512 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}};
26513 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}};
26514 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}};
26515 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}};
26516 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}};
26517 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}};
26518 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}};
26519 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}};
26520 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}};
26521 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}};
26522 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}};
26523 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}};
26524 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}};
26525 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}};
26526 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}};
26527 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}};
26528 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}};
26529 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}};
26530 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}};
26531 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}};
26532 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}};
26533 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}};
26534 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}};
26535 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}};
26536 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}};
26537 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}};
26538 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}};
26539 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}};
26540 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26541 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}};
26542 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}};
26543 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}};
26544 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}};
26545 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}};
26546 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}};
26547 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}};
26548 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}};
26550 static swig_type_info
*swig_types_initial
[] = {
26551 _swigt__p_wxQueryLayoutInfoEvent
,
26552 _swigt__p_wxPreviewFrame
,
26553 _swigt__p_wxPyPreviewFrame
,
26554 _swigt__p_wxPyPanel
,
26556 _swigt__p_wxPrintData
,
26557 _swigt__p_wxFontData
,
26559 _swigt__p_wxTaskBarIcon
,
26560 _swigt__p_wxIconBundle
,
26561 _swigt__p_wxLayoutAlgorithm
,
26562 _swigt__p_wxFindDialogEvent
,
26563 _swigt__p_wxPreviewCanvas
,
26565 _swigt__p_wxSplitterEvent
,
26566 _swigt__p_wxRegion
,
26567 _swigt__p_wxFindReplaceData
,
26572 _swigt__p_wxVisualAttributes
,
26573 _swigt__p_wxMDIChildFrame
,
26574 _swigt__p_wxColourData
,
26575 _swigt__p_wxNotifyEvent
,
26576 _swigt__p_wxPyWindow
,
26577 _swigt__p_wxSplashScreen
,
26578 _swigt__p_wxFindReplaceDialog
,
26579 _swigt__p_wxProgressDialog
,
26580 _swigt__p_wxMessageDialog
,
26581 _swigt__p_wxTextEntryDialog
,
26582 _swigt__p_wxSingleChoiceDialog
,
26583 _swigt__p_wxMultiChoiceDialog
,
26584 _swigt__p_wxFileDialog
,
26585 _swigt__p_wxPrinter
,
26586 _swigt__p_wxArrayInt
,
26587 _swigt__p_wxEvtHandler
,
26588 _swigt__p_wxCalculateLayoutEvent
,
26589 _swigt__p_wxPyHtmlListBox
,
26590 _swigt__p_wxPyVListBox
,
26593 _swigt__p_wxMiniFrame
,
26595 _swigt__p_wxPyPrintout
,
26596 _swigt__p_wxTaskBarIconEvent
,
26597 _swigt__p_wxScrollWinEvent
,
26598 _swigt__p_wxStatusBar
,
26599 _swigt__p_wxMDIParentFrame
,
26601 _swigt__p_wxObject
,
26602 _swigt__p_wxOutputStream
,
26603 _swigt__p_wxPyScrolledWindow
,
26604 _swigt__p_wxMDIClientWindow
,
26605 _swigt__p_wxTipWindow
,
26606 _swigt__p_wxPyPopupTransientWindow
,
26607 _swigt__p_wxSashLayoutWindow
,
26608 _swigt__p_wxSplitterWindow
,
26609 _swigt__p_wxPyVScrolledWindow
,
26610 _swigt__p_wxPopupWindow
,
26611 _swigt__p_wxSashWindow
,
26612 _swigt__p_wxTopLevelWindow
,
26613 _swigt__p_wxWindow
,
26614 _swigt__p_wxScrolledWindow
,
26615 _swigt__p_wxSplashScreenWindow
,
26616 _swigt__p_wxMenuBar
,
26617 _swigt__p_wxPrintPreview
,
26618 _swigt__p_wxSashEvent
,
26619 _swigt__p_wxString
,
26620 _swigt__p_wxPyPrintPreview
,
26621 _swigt__p_wxFontDialog
,
26622 _swigt__p_wxDirDialog
,
26623 _swigt__p_wxColourDialog
,
26624 _swigt__p_wxDialog
,
26626 _swigt__p_wxPageSetupDialog
,
26627 _swigt__p_wxPrintDialog
,
26628 _swigt__p_wxFileSystem
,
26629 _swigt__p_wxBitmap
,
26630 _swigt__p_wxCommandEvent
,
26631 _swigt__p_wxPreviewControlBar
,
26632 _swigt__p_wxPyPreviewControlBar
,
26633 _swigt__p_wxColour
,
26634 _swigt__p_wxToolBar
,
26635 _swigt__p_wxPageSetupDialogData
,
26636 _swigt__p_wxPrintDialogData
,
26641 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26643 static swig_const_info swig_const_table
[] = {
26653 SWIGEXPORT(void) SWIG_init(void) {
26654 static PyObject
*SWIG_globals
= 0;
26655 static int typeinit
= 0;
26658 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26659 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26660 d
= PyModule_GetDict(m
);
26663 for (i
= 0; swig_types_initial
[i
]; i
++) {
26664 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26668 SWIG_InstallConstants(d
,swig_const_table
);
26670 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26671 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26672 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26673 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26674 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26675 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26676 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26677 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26678 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26679 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26680 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26681 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26682 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26683 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26684 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26685 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26686 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26687 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26688 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26689 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26690 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26691 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26692 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26693 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26694 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26695 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26696 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26697 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26698 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26699 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26700 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26701 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26702 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26703 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26704 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26705 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26706 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26707 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26708 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26709 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26710 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26711 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26712 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26713 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26714 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26715 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26716 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26717 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26718 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26719 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26720 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26721 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26722 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26723 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26724 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26725 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26726 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26727 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26728 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26729 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26730 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26731 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26732 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26733 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26734 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26735 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26736 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26737 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26738 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26739 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26740 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26741 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26742 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26743 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26744 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26745 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26746 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26747 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26748 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26749 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26750 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26751 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26752 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26753 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26754 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26755 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26756 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26757 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26758 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26759 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26760 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26761 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26762 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26764 // Map renamed classes back to their common name for OOR
26765 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26766 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26767 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26769 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26770 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26771 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26772 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26773 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26774 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26775 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26776 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26777 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26778 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26779 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26780 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26781 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26782 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26783 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26784 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26785 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26786 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26787 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26788 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26789 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26790 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26791 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26792 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26793 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26794 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26795 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26796 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26797 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26798 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26799 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26800 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26801 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26802 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26803 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26804 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26805 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26806 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26807 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26808 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26809 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26810 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26811 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26812 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26813 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26814 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26815 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26816 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26817 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26818 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26819 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26820 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26821 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26822 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26823 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26824 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26825 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26826 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26827 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26828 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26830 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");