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,false); \
1214 PyObject* dc = wxPyMake_wxObject(&b,false); \
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
, 1);
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
, 1);
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
;
1651 resultobj
= wxPyMake_wxObject(result
, 1);
1667 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
*resultobj
;
1669 wxScrolledWindow
*result
;
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1676 if (!wxPyCheckForApp()) SWIG_fail
;
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) SWIG_fail
;
1684 resultobj
= wxPyMake_wxObject(result
, 1);
1692 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
*resultobj
;
1694 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1695 wxWindow
*arg2
= (wxWindow
*) 0 ;
1696 int arg3
= (int) (int)-1 ;
1697 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1698 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1699 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1700 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1701 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1702 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1703 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1707 bool temp7
= False
;
1708 PyObject
* obj0
= 0 ;
1709 PyObject
* obj1
= 0 ;
1710 PyObject
* obj2
= 0 ;
1711 PyObject
* obj3
= 0 ;
1712 PyObject
* obj4
= 0 ;
1713 PyObject
* obj5
= 0 ;
1714 PyObject
* obj6
= 0 ;
1716 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1725 arg3
= (int const) SWIG_AsInt(obj2
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1731 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1737 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1741 arg6
= (long) SWIG_AsLong(obj5
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1746 arg7
= wxString_in_helper(obj6
);
1747 if (arg7
== NULL
) SWIG_fail
;
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1775 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
*resultobj
;
1777 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1782 int arg6
= (int) 0 ;
1783 int arg7
= (int) 0 ;
1784 bool arg8
= (bool) False
;
1785 PyObject
* obj0
= 0 ;
1786 PyObject
* obj1
= 0 ;
1787 PyObject
* obj2
= 0 ;
1788 PyObject
* obj3
= 0 ;
1789 PyObject
* obj4
= 0 ;
1790 PyObject
* obj5
= 0 ;
1791 PyObject
* obj6
= 0 ;
1792 PyObject
* obj7
= 0 ;
1794 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1800 arg2
= (int) SWIG_AsInt(obj1
);
1801 if (PyErr_Occurred()) SWIG_fail
;
1802 arg3
= (int) SWIG_AsInt(obj2
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1804 arg4
= (int) SWIG_AsInt(obj3
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1806 arg5
= (int) SWIG_AsInt(obj4
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 arg6
= (int) SWIG_AsInt(obj5
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1813 arg7
= (int) SWIG_AsInt(obj6
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1817 arg8
= (bool) SWIG_AsBool(obj7
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1827 Py_INCREF(Py_None
); resultobj
= Py_None
;
1834 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1836 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1839 PyObject
* obj0
= 0 ;
1840 PyObject
* obj1
= 0 ;
1841 PyObject
* obj2
= 0 ;
1843 (char *) "self",(char *) "x",(char *) "y", NULL
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1849 arg2
= (int) SWIG_AsInt(obj1
);
1850 if (PyErr_Occurred()) SWIG_fail
;
1851 arg3
= (int) SWIG_AsInt(obj2
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 (arg1
)->Scroll(arg2
,arg3
);
1857 wxPyEndAllowThreads(__tstate
);
1858 if (PyErr_Occurred()) SWIG_fail
;
1860 Py_INCREF(Py_None
); resultobj
= Py_None
;
1867 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1872 PyObject
* obj0
= 0 ;
1873 PyObject
* obj1
= 0 ;
1875 (char *) "self",(char *) "orient", NULL
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1881 arg2
= (int) SWIG_AsInt(obj1
);
1882 if (PyErr_Occurred()) SWIG_fail
;
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1890 resultobj
= SWIG_FromInt((int)result
);
1897 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
*resultobj
;
1899 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1902 PyObject
* obj0
= 0 ;
1903 PyObject
* obj1
= 0 ;
1904 PyObject
* obj2
= 0 ;
1906 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1912 arg2
= (int) SWIG_AsInt(obj1
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1914 arg3
= (int) SWIG_AsInt(obj2
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1923 Py_INCREF(Py_None
); resultobj
= Py_None
;
1930 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
*resultobj
;
1932 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1935 PyObject
* obj0
= 0 ;
1936 PyObject
* obj1
= 0 ;
1937 PyObject
* obj2
= 0 ;
1939 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 arg2
= (int) SWIG_AsInt(obj1
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1947 arg3
= (int) SWIG_AsInt(obj2
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1951 (arg1
)->SetScrollRate(arg2
,arg3
);
1953 wxPyEndAllowThreads(__tstate
);
1954 if (PyErr_Occurred()) SWIG_fail
;
1956 Py_INCREF(Py_None
); resultobj
= Py_None
;
1963 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
*resultobj
;
1965 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1966 int *arg2
= (int *) 0 ;
1967 int *arg3
= (int *) 0 ;
1970 PyObject
* obj0
= 0 ;
1972 (char *) "self", NULL
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 Py_INCREF(Py_None
); resultobj
= Py_None
;
1989 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1990 resultobj
= t_output_helper(resultobj
,o
);
1993 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1994 resultobj
= t_output_helper(resultobj
,o
);
2002 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2007 PyObject
* obj0
= 0 ;
2008 PyObject
* obj1
= 0 ;
2009 PyObject
* obj2
= 0 ;
2011 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2017 arg2
= (bool) SWIG_AsBool(obj1
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2019 arg3
= (bool) SWIG_AsBool(obj2
);
2020 if (PyErr_Occurred()) SWIG_fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 (arg1
)->EnableScrolling(arg2
,arg3
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 Py_INCREF(Py_None
); resultobj
= Py_None
;
2035 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
*resultobj
;
2037 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2038 int *arg2
= (int *) 0 ;
2039 int *arg3
= (int *) 0 ;
2042 PyObject
* obj0
= 0 ;
2044 (char *) "self", NULL
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2059 Py_INCREF(Py_None
); resultobj
= Py_None
;
2061 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2062 resultobj
= t_output_helper(resultobj
,o
);
2065 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2066 resultobj
= t_output_helper(resultobj
,o
);
2074 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
*resultobj
;
2076 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2079 PyObject
* obj0
= 0 ;
2080 PyObject
* obj1
= 0 ;
2081 PyObject
* obj2
= 0 ;
2083 (char *) "self",(char *) "xs",(char *) "ys", NULL
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2089 arg2
= (double) SWIG_AsDouble(obj1
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2091 arg3
= (double) SWIG_AsDouble(obj2
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 (arg1
)->SetScale(arg2
,arg3
);
2097 wxPyEndAllowThreads(__tstate
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2100 Py_INCREF(Py_None
); resultobj
= Py_None
;
2107 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
*resultobj
;
2109 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2111 PyObject
* obj0
= 0 ;
2113 (char *) "self", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 resultobj
= SWIG_FromDouble((double)result
);
2133 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
*resultobj
;
2135 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2137 PyObject
* obj0
= 0 ;
2139 (char *) "self", NULL
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2147 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2152 resultobj
= SWIG_FromDouble((double)result
);
2159 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2160 PyObject
*resultobj
;
2161 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2165 PyObject
* obj0
= 0 ;
2166 PyObject
* obj1
= 0 ;
2168 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2173 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2183 wxPoint
* resultptr
;
2184 resultptr
= new wxPoint((wxPoint
&) result
);
2185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2193 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2194 PyObject
*resultobj
;
2195 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2198 int *arg4
= (int *) 0 ;
2199 int *arg5
= (int *) 0 ;
2202 PyObject
* obj0
= 0 ;
2203 PyObject
* obj1
= 0 ;
2204 PyObject
* obj2
= 0 ;
2208 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2211 arg2
= (int) SWIG_AsInt(obj1
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2213 arg3
= (int) SWIG_AsInt(obj2
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2222 Py_INCREF(Py_None
); resultobj
= Py_None
;
2224 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2225 resultobj
= t_output_helper(resultobj
,o
);
2228 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2229 resultobj
= t_output_helper(resultobj
,o
);
2237 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2242 argc
= PyObject_Length(args
);
2243 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2244 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2250 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2259 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2262 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2270 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2278 _v
= SWIG_CheckInt(argv
[1]);
2280 _v
= SWIG_CheckInt(argv
[2]);
2282 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2288 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2293 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2294 PyObject
*resultobj
;
2295 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2299 PyObject
* obj0
= 0 ;
2300 PyObject
* obj1
= 0 ;
2302 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2307 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2317 wxPoint
* resultptr
;
2318 resultptr
= new wxPoint((wxPoint
&) result
);
2319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2327 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2328 PyObject
*resultobj
;
2329 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2332 int *arg4
= (int *) 0 ;
2333 int *arg5
= (int *) 0 ;
2336 PyObject
* obj0
= 0 ;
2337 PyObject
* obj1
= 0 ;
2338 PyObject
* obj2
= 0 ;
2342 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2345 arg2
= (int) SWIG_AsInt(obj1
);
2346 if (PyErr_Occurred()) SWIG_fail
;
2347 arg3
= (int) SWIG_AsInt(obj2
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 Py_INCREF(Py_None
); resultobj
= Py_None
;
2358 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2359 resultobj
= t_output_helper(resultobj
,o
);
2362 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2363 resultobj
= t_output_helper(resultobj
,o
);
2371 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2376 argc
= PyObject_Length(args
);
2377 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2378 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2384 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2393 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2396 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2404 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2412 _v
= SWIG_CheckInt(argv
[1]);
2414 _v
= SWIG_CheckInt(argv
[2]);
2416 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2422 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2427 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2430 PyObject
* obj0
= 0 ;
2432 (char *) "self", NULL
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 (arg1
)->AdjustScrollbars();
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2445 Py_INCREF(Py_None
); resultobj
= Py_None
;
2452 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
;
2454 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2455 wxScrollWinEvent
*arg2
= 0 ;
2457 PyObject
* obj0
= 0 ;
2458 PyObject
* obj1
= 0 ;
2460 (char *) "self",(char *) "event", NULL
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2470 PyErr_SetString(PyExc_TypeError
,"null reference");
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2480 resultobj
= SWIG_FromInt((int)result
);
2487 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2490 wxWindow
*arg2
= (wxWindow
*) 0 ;
2491 PyObject
* obj0
= 0 ;
2492 PyObject
* obj1
= 0 ;
2494 (char *) "self",(char *) "target", NULL
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 (arg1
)->SetTargetWindow(arg2
);
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2509 Py_INCREF(Py_None
); resultobj
= Py_None
;
2516 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
*resultobj
;
2518 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2520 PyObject
* obj0
= 0 ;
2522 (char *) "self", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) SWIG_fail
;
2536 resultobj
= wxPyMake_wxObject(result
, 0);
2544 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2546 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2549 PyObject
* obj0
= 0 ;
2550 PyObject
* obj1
= 0 ;
2552 (char *) "self",(char *) "rect", NULL
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2560 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2569 Py_INCREF(Py_None
); resultobj
= Py_None
;
2576 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
*resultobj
;
2578 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2580 PyObject
* obj0
= 0 ;
2582 (char *) "self", NULL
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2597 resultptr
= new wxRect((wxRect
&) result
);
2598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2606 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2609 wxVisualAttributes result
;
2610 PyObject
* obj0
= 0 ;
2612 (char *) "variant", NULL
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2617 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2621 if (!wxPyCheckForApp()) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2629 wxVisualAttributes
* resultptr
;
2630 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2639 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2642 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2644 return Py_BuildValue((char *)"");
2646 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2647 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2652 static PyObject
*_wrap_FrameNameStr_get() {
2657 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2659 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2666 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2667 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2672 static PyObject
*_wrap_DialogNameStr_get() {
2677 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2679 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2686 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2687 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2692 static PyObject
*_wrap_StatusLineNameStr_get() {
2697 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2699 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2706 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2707 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2712 static PyObject
*_wrap_ToolBarNameStr_get() {
2717 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2719 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2726 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2729 bool arg2
= (bool) True
;
2730 PyObject
* obj0
= 0 ;
2731 PyObject
* obj1
= 0 ;
2733 (char *) "self",(char *) "maximize", NULL
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2740 arg2
= (bool) SWIG_AsBool(obj1
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 (arg1
)->Maximize(arg2
);
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) SWIG_fail
;
2750 Py_INCREF(Py_None
); resultobj
= Py_None
;
2757 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
*resultobj
;
2759 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2760 PyObject
* obj0
= 0 ;
2762 (char *) "self", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 Py_INCREF(Py_None
); resultobj
= Py_None
;
2782 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2785 bool arg2
= (bool) True
;
2786 PyObject
* obj0
= 0 ;
2787 PyObject
* obj1
= 0 ;
2789 (char *) "self",(char *) "iconize", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2796 arg2
= (bool) SWIG_AsBool(obj1
);
2797 if (PyErr_Occurred()) SWIG_fail
;
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 (arg1
)->Iconize(arg2
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2806 Py_INCREF(Py_None
); resultobj
= Py_None
;
2813 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
*resultobj
;
2815 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2817 PyObject
* obj0
= 0 ;
2819 (char *) "self", NULL
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2841 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2843 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2845 PyObject
* obj0
= 0 ;
2847 (char *) "self", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2869 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2871 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2873 PyObject
* obj0
= 0 ;
2875 (char *) "self", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2890 resultptr
= new wxIcon((wxIcon
&) result
);
2891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2899 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
*resultobj
;
2901 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2903 PyObject
* obj0
= 0 ;
2904 PyObject
* obj1
= 0 ;
2906 (char *) "self",(char *) "icon", NULL
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2916 PyErr_SetString(PyExc_TypeError
,"null reference");
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2926 Py_INCREF(Py_None
); resultobj
= Py_None
;
2933 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
*resultobj
;
2935 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2936 wxIconBundle
*arg2
= 0 ;
2937 PyObject
* obj0
= 0 ;
2938 PyObject
* obj1
= 0 ;
2940 (char *) "self",(char *) "icons", NULL
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2950 PyErr_SetString(PyExc_TypeError
,"null reference");
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2960 Py_INCREF(Py_None
); resultobj
= Py_None
;
2967 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2971 long arg3
= (long) wxFULLSCREEN_ALL
;
2973 PyObject
* obj0
= 0 ;
2974 PyObject
* obj1
= 0 ;
2975 PyObject
* obj2
= 0 ;
2977 (char *) "self",(char *) "show",(char *) "style", NULL
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 arg2
= (bool) SWIG_AsBool(obj1
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2986 arg3
= (long) SWIG_AsLong(obj2
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3005 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
*resultobj
;
3007 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3009 PyObject
* obj0
= 0 ;
3011 (char *) "self", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3033 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3036 wxString
*arg2
= 0 ;
3037 bool temp2
= False
;
3038 PyObject
* obj0
= 0 ;
3039 PyObject
* obj1
= 0 ;
3041 (char *) "self",(char *) "title", NULL
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3048 arg2
= wxString_in_helper(obj1
);
3049 if (arg2
== NULL
) SWIG_fail
;
3053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 (arg1
)->SetTitle((wxString
const &)*arg2
);
3056 wxPyEndAllowThreads(__tstate
);
3057 if (PyErr_Occurred()) SWIG_fail
;
3059 Py_INCREF(Py_None
); resultobj
= Py_None
;
3074 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3078 PyObject
* obj0
= 0 ;
3080 (char *) "self", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3106 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3109 wxRegion
*arg2
= 0 ;
3111 PyObject
* obj0
= 0 ;
3112 PyObject
* obj1
= 0 ;
3114 (char *) "self",(char *) "region", NULL
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3124 PyErr_SetString(PyExc_TypeError
,"null reference");
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) SWIG_fail
;
3135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3143 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
*resultobj
;
3145 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3147 PyObject
* obj0
= 0 ;
3148 PyObject
* obj1
= 0 ;
3150 (char *) "self",(char *) "on", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3156 arg2
= (bool) SWIG_AsBool(obj1
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 (arg1
)->MacSetMetalAppearance(arg2
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3165 Py_INCREF(Py_None
); resultobj
= Py_None
;
3172 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3176 PyObject
* obj0
= 0 ;
3178 (char *) "self", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3200 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3203 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3205 return Py_BuildValue((char *)"");
3207 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxWindow
*arg1
= (wxWindow
*) 0 ;
3210 int arg2
= (int) (int)-1 ;
3211 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3212 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3213 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3214 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3215 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3216 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3217 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3218 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3219 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3221 bool temp3
= False
;
3224 bool temp7
= False
;
3225 PyObject
* obj0
= 0 ;
3226 PyObject
* obj1
= 0 ;
3227 PyObject
* obj2
= 0 ;
3228 PyObject
* obj3
= 0 ;
3229 PyObject
* obj4
= 0 ;
3230 PyObject
* obj5
= 0 ;
3231 PyObject
* obj6
= 0 ;
3233 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3240 arg2
= (int const) SWIG_AsInt(obj1
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3245 arg3
= wxString_in_helper(obj2
);
3246 if (arg3
== NULL
) SWIG_fail
;
3253 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3259 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3263 arg6
= (long) SWIG_AsLong(obj5
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3268 arg7
= wxString_in_helper(obj6
);
3269 if (arg7
== NULL
) SWIG_fail
;
3274 if (!wxPyCheckForApp()) SWIG_fail
;
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3282 resultobj
= wxPyMake_wxObject(result
, 1);
3306 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3315 if (!wxPyCheckForApp()) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 result
= (wxFrame
*)new wxFrame();
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= wxPyMake_wxObject(result
, 1);
3331 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxFrame
*arg1
= (wxFrame
*) 0 ;
3334 wxWindow
*arg2
= (wxWindow
*) 0 ;
3335 int arg3
= (int) (int)-1 ;
3336 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3337 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3338 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3339 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3340 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3341 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3342 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3343 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3344 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3346 bool temp4
= False
;
3349 bool temp8
= False
;
3350 PyObject
* obj0
= 0 ;
3351 PyObject
* obj1
= 0 ;
3352 PyObject
* obj2
= 0 ;
3353 PyObject
* obj3
= 0 ;
3354 PyObject
* obj4
= 0 ;
3355 PyObject
* obj5
= 0 ;
3356 PyObject
* obj6
= 0 ;
3357 PyObject
* obj7
= 0 ;
3359 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3368 arg3
= (int const) SWIG_AsInt(obj2
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3373 arg4
= wxString_in_helper(obj3
);
3374 if (arg4
== NULL
) SWIG_fail
;
3381 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3387 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3391 arg7
= (long) SWIG_AsLong(obj6
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3396 arg8
= wxString_in_helper(obj7
);
3397 if (arg8
== NULL
) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3433 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxFrame
*arg1
= (wxFrame
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3439 (char *) "self", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3453 wxPoint
* resultptr
;
3454 resultptr
= new wxPoint((wxPoint
&) result
);
3455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3463 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxFrame
*arg1
= (wxFrame
*) 0 ;
3466 PyObject
* obj0
= 0 ;
3468 (char *) "self", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 (arg1
)->SendSizeEvent();
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 Py_INCREF(Py_None
); resultobj
= Py_None
;
3488 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxFrame
*arg1
= (wxFrame
*) 0 ;
3491 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3493 PyObject
* obj1
= 0 ;
3495 (char *) "self",(char *) "menubar", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 (arg1
)->SetMenuBar(arg2
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 Py_INCREF(Py_None
); resultobj
= Py_None
;
3517 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxFrame
*arg1
= (wxFrame
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3523 (char *) "self", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3537 resultobj
= wxPyMake_wxObject(result
, 0);
3545 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 wxFrame
*arg1
= (wxFrame
*) 0 ;
3550 PyObject
* obj0
= 0 ;
3551 PyObject
* obj1
= 0 ;
3553 (char *) "self",(char *) "winid", NULL
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3559 arg2
= (int) SWIG_AsInt(obj1
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3577 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
*resultobj
;
3579 wxFrame
*arg1
= (wxFrame
*) 0 ;
3580 int arg2
= (int) 1 ;
3581 long arg3
= (long) wxST_SIZEGRIP
;
3582 int arg4
= (int) 0 ;
3583 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3584 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3585 wxStatusBar
*result
;
3586 bool temp5
= False
;
3587 PyObject
* obj0
= 0 ;
3588 PyObject
* obj1
= 0 ;
3589 PyObject
* obj2
= 0 ;
3590 PyObject
* obj3
= 0 ;
3591 PyObject
* obj4
= 0 ;
3593 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3600 arg2
= (int) SWIG_AsInt(obj1
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 arg3
= (long) SWIG_AsLong(obj2
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3608 arg4
= (int) SWIG_AsInt(obj3
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3613 arg5
= wxString_in_helper(obj4
);
3614 if (arg5
== NULL
) SWIG_fail
;
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3626 resultobj
= wxPyMake_wxObject(result
, 0);
3642 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 wxFrame
*arg1
= (wxFrame
*) 0 ;
3645 wxStatusBar
*result
;
3646 PyObject
* obj0
= 0 ;
3648 (char *) "self", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3662 resultobj
= wxPyMake_wxObject(result
, 0);
3670 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxFrame
*arg1
= (wxFrame
*) 0 ;
3673 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3674 PyObject
* obj0
= 0 ;
3675 PyObject
* obj1
= 0 ;
3677 (char *) "self",(char *) "statBar", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 (arg1
)->SetStatusBar(arg2
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 Py_INCREF(Py_None
); resultobj
= Py_None
;
3699 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3701 wxFrame
*arg1
= (wxFrame
*) 0 ;
3702 wxString
*arg2
= 0 ;
3703 int arg3
= (int) 0 ;
3704 bool temp2
= False
;
3705 PyObject
* obj0
= 0 ;
3706 PyObject
* obj1
= 0 ;
3707 PyObject
* obj2
= 0 ;
3709 (char *) "self",(char *) "text",(char *) "number", NULL
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3716 arg2
= wxString_in_helper(obj1
);
3717 if (arg2
== NULL
) SWIG_fail
;
3721 arg3
= (int) SWIG_AsInt(obj2
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 Py_INCREF(Py_None
); resultobj
= Py_None
;
3746 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxFrame
*arg1
= (wxFrame
*) 0 ;
3750 int *arg3
= (int *) 0 ;
3751 PyObject
* obj0
= 0 ;
3752 PyObject
* obj1
= 0 ;
3754 (char *) "self",(char *) "widths", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3761 arg2
= PyList_Size(obj1
);
3762 arg3
= int_LIST_helper(obj1
);
3763 if (arg3
== NULL
) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 if (arg3
) delete [] arg3
;
3779 if (arg3
) delete [] arg3
;
3785 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3787 wxFrame
*arg1
= (wxFrame
*) 0 ;
3788 wxString
*arg2
= 0 ;
3789 int arg3
= (int) 0 ;
3790 bool temp2
= False
;
3791 PyObject
* obj0
= 0 ;
3792 PyObject
* obj1
= 0 ;
3793 PyObject
* obj2
= 0 ;
3795 (char *) "self",(char *) "text",(char *) "number", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3802 arg2
= wxString_in_helper(obj1
);
3803 if (arg2
== NULL
) SWIG_fail
;
3807 arg3
= (int) SWIG_AsInt(obj2
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 Py_INCREF(Py_None
); resultobj
= Py_None
;
3832 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
*resultobj
;
3834 wxFrame
*arg1
= (wxFrame
*) 0 ;
3835 int arg2
= (int) 0 ;
3836 PyObject
* obj0
= 0 ;
3837 PyObject
* obj1
= 0 ;
3839 (char *) "self",(char *) "number", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3846 arg2
= (int) SWIG_AsInt(obj1
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 (arg1
)->PopStatusText(arg2
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 Py_INCREF(Py_None
); resultobj
= Py_None
;
3863 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxFrame
*arg1
= (wxFrame
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3868 PyObject
* obj1
= 0 ;
3870 (char *) "self",(char *) "n", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 arg2
= (int) SWIG_AsInt(obj1
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 (arg1
)->SetStatusBarPane(arg2
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 Py_INCREF(Py_None
); resultobj
= Py_None
;
3892 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxFrame
*arg1
= (wxFrame
*) 0 ;
3896 PyObject
* obj0
= 0 ;
3898 (char *) "self", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= SWIG_FromInt((int)result
);
3918 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxFrame
*arg1
= (wxFrame
*) 0 ;
3921 long arg2
= (long) -1 ;
3922 int arg3
= (int) -1 ;
3923 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3924 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3926 bool temp4
= False
;
3927 PyObject
* obj0
= 0 ;
3928 PyObject
* obj1
= 0 ;
3929 PyObject
* obj2
= 0 ;
3930 PyObject
* obj3
= 0 ;
3932 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3939 arg2
= (long) SWIG_AsLong(obj1
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3943 arg3
= (int) SWIG_AsInt(obj2
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3948 arg4
= wxString_in_helper(obj3
);
3949 if (arg4
== NULL
) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3961 resultobj
= wxPyMake_wxObject(result
, 0);
3977 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
*resultobj
;
3979 wxFrame
*arg1
= (wxFrame
*) 0 ;
3981 PyObject
* obj0
= 0 ;
3983 (char *) "self", NULL
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= wxPyMake_wxObject(result
, 0);
4005 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4007 wxFrame
*arg1
= (wxFrame
*) 0 ;
4008 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4009 PyObject
* obj0
= 0 ;
4010 PyObject
* obj1
= 0 ;
4012 (char *) "self",(char *) "toolbar", NULL
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 (arg1
)->SetToolBar(arg2
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4027 Py_INCREF(Py_None
); resultobj
= Py_None
;
4034 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 wxFrame
*arg1
= (wxFrame
*) 0 ;
4037 wxString
*arg2
= 0 ;
4039 bool temp2
= False
;
4040 PyObject
* obj0
= 0 ;
4041 PyObject
* obj1
= 0 ;
4042 PyObject
* obj2
= 0 ;
4044 (char *) "self",(char *) "text",(char *) "show", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4051 arg2
= wxString_in_helper(obj1
);
4052 if (arg2
== NULL
) SWIG_fail
;
4055 arg3
= (bool) SWIG_AsBool(obj2
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxFrame
*arg1
= (wxFrame
*) 0 ;
4082 wxMenu
*arg2
= (wxMenu
*) NULL
;
4083 PyObject
* obj0
= 0 ;
4084 PyObject
* obj1
= 0 ;
4086 (char *) "self",(char *) "menu", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 (arg1
)->DoMenuUpdates(arg2
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 Py_INCREF(Py_None
); resultobj
= Py_None
;
4110 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4113 wxVisualAttributes result
;
4114 PyObject
* obj0
= 0 ;
4116 (char *) "variant", NULL
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4121 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4125 if (!wxPyCheckForApp()) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4133 wxVisualAttributes
* resultptr
;
4134 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4143 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4146 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4148 return Py_BuildValue((char *)"");
4150 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 wxWindow
*arg1
= (wxWindow
*) 0 ;
4153 int arg2
= (int) (int)-1 ;
4154 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4155 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4156 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4157 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4158 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4159 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4160 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4161 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4162 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4164 bool temp3
= False
;
4167 bool temp7
= False
;
4168 PyObject
* obj0
= 0 ;
4169 PyObject
* obj1
= 0 ;
4170 PyObject
* obj2
= 0 ;
4171 PyObject
* obj3
= 0 ;
4172 PyObject
* obj4
= 0 ;
4173 PyObject
* obj5
= 0 ;
4174 PyObject
* obj6
= 0 ;
4176 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4183 arg2
= (int const) SWIG_AsInt(obj1
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4188 arg3
= wxString_in_helper(obj2
);
4189 if (arg3
== NULL
) SWIG_fail
;
4196 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4202 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4206 arg6
= (long) SWIG_AsLong(obj5
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4211 arg7
= wxString_in_helper(obj6
);
4212 if (arg7
== NULL
) SWIG_fail
;
4217 if (!wxPyCheckForApp()) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= wxPyMake_wxObject(result
, 1);
4249 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
;
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4258 if (!wxPyCheckForApp()) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= (wxDialog
*)new wxDialog();
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= wxPyMake_wxObject(result
, 1);
4274 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxDialog
*arg1
= (wxDialog
*) 0 ;
4277 wxWindow
*arg2
= (wxWindow
*) 0 ;
4278 int arg3
= (int) (int)-1 ;
4279 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4280 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4281 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4282 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4283 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4284 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4285 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4286 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4287 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4289 bool temp4
= False
;
4292 bool temp8
= False
;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4295 PyObject
* obj2
= 0 ;
4296 PyObject
* obj3
= 0 ;
4297 PyObject
* obj4
= 0 ;
4298 PyObject
* obj5
= 0 ;
4299 PyObject
* obj6
= 0 ;
4300 PyObject
* obj7
= 0 ;
4302 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4311 arg3
= (int const) SWIG_AsInt(obj2
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4316 arg4
= wxString_in_helper(obj3
);
4317 if (arg4
== NULL
) SWIG_fail
;
4324 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4330 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4334 arg7
= (long) SWIG_AsLong(obj6
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4339 arg8
= wxString_in_helper(obj7
);
4340 if (arg8
== NULL
) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4376 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxDialog
*arg1
= (wxDialog
*) 0 ;
4380 PyObject
* obj0
= 0 ;
4381 PyObject
* obj1
= 0 ;
4383 (char *) "self",(char *) "returnCode", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4389 arg2
= (int) SWIG_AsInt(obj1
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 (arg1
)->SetReturnCode(arg2
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 Py_INCREF(Py_None
); resultobj
= Py_None
;
4405 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxDialog
*arg1
= (wxDialog
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4411 (char *) "self", NULL
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_FromInt((int)result
);
4431 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxDialog
*arg1
= (wxDialog
*) 0 ;
4434 wxString
*arg2
= 0 ;
4436 bool temp2
= False
;
4437 PyObject
* obj0
= 0 ;
4438 PyObject
* obj1
= 0 ;
4440 (char *) "self",(char *) "message", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4447 arg2
= wxString_in_helper(obj1
);
4448 if (arg2
== NULL
) SWIG_fail
;
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= wxPyMake_wxSizer(result
, 0);
4475 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 wxDialog
*arg1
= (wxDialog
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4483 (char *) "self",(char *) "flags", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4489 arg2
= (long) SWIG_AsLong(obj1
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4499 resultobj
= wxPyMake_wxSizer(result
, 0);
4507 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxDialog
*arg1
= (wxDialog
*) 0 ;
4511 PyObject
* obj0
= 0 ;
4513 (char *) "self", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4535 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
;
4537 wxDialog
*arg1
= (wxDialog
*) 0 ;
4539 PyObject
* obj0
= 0 ;
4541 (char *) "self", NULL
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 result
= (int)(arg1
)->ShowModal();
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_FromInt((int)result
);
4561 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxDialog
*arg1
= (wxDialog
*) 0 ;
4565 PyObject
* obj0
= 0 ;
4566 PyObject
* obj1
= 0 ;
4568 (char *) "self",(char *) "retCode", NULL
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4574 arg2
= (int) SWIG_AsInt(obj1
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 (arg1
)->EndModal(arg2
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4583 Py_INCREF(Py_None
); resultobj
= Py_None
;
4590 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4593 wxVisualAttributes result
;
4594 PyObject
* obj0
= 0 ;
4596 (char *) "variant", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4601 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4605 if (!wxPyCheckForApp()) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4613 wxVisualAttributes
* resultptr
;
4614 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4623 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4626 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4628 return Py_BuildValue((char *)"");
4630 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 wxWindow
*arg1
= (wxWindow
*) 0 ;
4633 int arg2
= (int) (int)-1 ;
4634 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4635 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4640 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4641 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4642 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4643 wxMiniFrame
*result
;
4644 bool temp3
= False
;
4647 bool temp7
= False
;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4650 PyObject
* obj2
= 0 ;
4651 PyObject
* obj3
= 0 ;
4652 PyObject
* obj4
= 0 ;
4653 PyObject
* obj5
= 0 ;
4654 PyObject
* obj6
= 0 ;
4656 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4663 arg2
= (int const) SWIG_AsInt(obj1
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4668 arg3
= wxString_in_helper(obj2
);
4669 if (arg3
== NULL
) SWIG_fail
;
4676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4686 arg6
= (long) SWIG_AsLong(obj5
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4691 arg7
= wxString_in_helper(obj6
);
4692 if (arg7
== NULL
) SWIG_fail
;
4697 if (!wxPyCheckForApp()) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4727 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxMiniFrame
*result
;
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4736 if (!wxPyCheckForApp()) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (wxMiniFrame
*)new wxMiniFrame();
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4750 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4753 wxWindow
*arg2
= (wxWindow
*) 0 ;
4754 int arg3
= (int) (int)-1 ;
4755 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4756 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4757 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4758 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4759 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4760 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4761 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4762 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4763 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4765 bool temp4
= False
;
4768 bool temp8
= False
;
4769 PyObject
* obj0
= 0 ;
4770 PyObject
* obj1
= 0 ;
4771 PyObject
* obj2
= 0 ;
4772 PyObject
* obj3
= 0 ;
4773 PyObject
* obj4
= 0 ;
4774 PyObject
* obj5
= 0 ;
4775 PyObject
* obj6
= 0 ;
4776 PyObject
* obj7
= 0 ;
4778 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4787 arg3
= (int const) SWIG_AsInt(obj2
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4792 arg4
= wxString_in_helper(obj3
);
4793 if (arg4
== NULL
) SWIG_fail
;
4800 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4806 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4810 arg7
= (long) SWIG_AsLong(obj6
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4815 arg8
= wxString_in_helper(obj7
);
4816 if (arg8
== NULL
) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4852 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4855 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4857 return Py_BuildValue((char *)"");
4859 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
;
4861 wxBitmap
*arg1
= 0 ;
4862 wxWindow
*arg2
= (wxWindow
*) 0 ;
4864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4868 long arg6
= (long) wxNO_BORDER
;
4869 wxSplashScreenWindow
*result
;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4874 PyObject
* obj2
= 0 ;
4875 PyObject
* obj3
= 0 ;
4876 PyObject
* obj4
= 0 ;
4877 PyObject
* obj5
= 0 ;
4879 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4887 PyErr_SetString(PyExc_TypeError
,"null reference");
4890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 arg3
= (int) SWIG_AsInt(obj2
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4907 arg6
= (long) SWIG_AsLong(obj5
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4911 if (!wxPyCheckForApp()) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4925 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4928 wxBitmap
*arg2
= 0 ;
4929 PyObject
* obj0
= 0 ;
4930 PyObject
* obj1
= 0 ;
4932 (char *) "self",(char *) "bitmap", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4942 PyErr_SetString(PyExc_TypeError
,"null reference");
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 Py_INCREF(Py_None
); resultobj
= Py_None
;
4959 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4963 PyObject
* obj0
= 0 ;
4965 (char *) "self", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4975 result
= (wxBitmap
*) &_result_ref
;
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4982 wxBitmap
* resultptr
= new wxBitmap(*result
);
4983 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4991 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4994 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4996 return Py_BuildValue((char *)"");
4998 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxBitmap
*arg1
= 0 ;
5003 wxWindow
*arg4
= (wxWindow
*) 0 ;
5004 int arg5
= (int) -1 ;
5005 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5006 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5007 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5008 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5009 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5010 wxSplashScreen
*result
;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5015 PyObject
* obj2
= 0 ;
5016 PyObject
* obj3
= 0 ;
5017 PyObject
* obj4
= 0 ;
5018 PyObject
* obj5
= 0 ;
5019 PyObject
* obj6
= 0 ;
5020 PyObject
* obj7
= 0 ;
5022 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5030 PyErr_SetString(PyExc_TypeError
,"null reference");
5033 arg2
= (long) SWIG_AsLong(obj1
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5035 arg3
= (int) SWIG_AsInt(obj2
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5037 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5040 arg5
= (int) SWIG_AsInt(obj4
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5046 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5052 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5056 arg8
= (long) SWIG_AsLong(obj7
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5060 if (!wxPyCheckForApp()) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5074 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5080 (char *) "self", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_FromLong((long)result
);
5100 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5103 wxSplashScreenWindow
*result
;
5104 PyObject
* obj0
= 0 ;
5106 (char *) "self", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5126 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5130 PyObject
* obj0
= 0 ;
5132 (char *) "self", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_FromInt((int)result
);
5152 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5155 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5157 return Py_BuildValue((char *)"");
5159 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxWindow
*arg1
= (wxWindow
*) 0 ;
5162 int arg2
= (int) -1 ;
5163 long arg3
= (long) wxST_SIZEGRIP
;
5164 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5165 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5166 wxStatusBar
*result
;
5167 bool temp4
= False
;
5168 PyObject
* obj0
= 0 ;
5169 PyObject
* obj1
= 0 ;
5170 PyObject
* obj2
= 0 ;
5171 PyObject
* obj3
= 0 ;
5173 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5180 arg2
= (int) SWIG_AsInt(obj1
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5184 arg3
= (long) SWIG_AsLong(obj2
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5189 arg4
= wxString_in_helper(obj3
);
5190 if (arg4
== NULL
) SWIG_fail
;
5195 if (!wxPyCheckForApp()) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= wxPyMake_wxObject(result
, 1);
5219 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxStatusBar
*result
;
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5228 if (!wxPyCheckForApp()) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 result
= (wxStatusBar
*)new wxStatusBar();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= wxPyMake_wxObject(result
, 1);
5244 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
;
5246 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5247 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 int arg3
= (int) -1 ;
5249 long arg4
= (long) wxST_SIZEGRIP
;
5250 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5251 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5253 bool temp5
= False
;
5254 PyObject
* obj0
= 0 ;
5255 PyObject
* obj1
= 0 ;
5256 PyObject
* obj2
= 0 ;
5257 PyObject
* obj3
= 0 ;
5258 PyObject
* obj4
= 0 ;
5260 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5269 arg3
= (int) SWIG_AsInt(obj2
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5273 arg4
= (long) SWIG_AsLong(obj3
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5278 arg5
= wxString_in_helper(obj4
);
5279 if (arg5
== NULL
) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5307 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5310 int arg2
= (int) 1 ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5314 (char *) "self",(char *) "number", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5321 arg2
= (int) SWIG_AsInt(obj1
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 (arg1
)->SetFieldsCount(arg2
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 Py_INCREF(Py_None
); resultobj
= Py_None
;
5338 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5342 PyObject
* obj0
= 0 ;
5344 (char *) "self", NULL
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= SWIG_FromInt((int)result
);
5364 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5367 wxString
*arg2
= 0 ;
5368 int arg3
= (int) 0 ;
5369 bool temp2
= False
;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5372 PyObject
* obj2
= 0 ;
5374 (char *) "self",(char *) "text",(char *) "number", NULL
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5381 arg2
= wxString_in_helper(obj1
);
5382 if (arg2
== NULL
) SWIG_fail
;
5386 arg3
= (int) SWIG_AsInt(obj2
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 Py_INCREF(Py_None
); resultobj
= Py_None
;
5411 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5414 int arg2
= (int) 0 ;
5416 PyObject
* obj0
= 0 ;
5417 PyObject
* obj1
= 0 ;
5419 (char *) "self",(char *) "number", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5426 arg2
= (int) SWIG_AsInt(obj1
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5449 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5452 wxString
*arg2
= 0 ;
5453 int arg3
= (int) 0 ;
5454 bool temp2
= False
;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5457 PyObject
* obj2
= 0 ;
5459 (char *) "self",(char *) "text",(char *) "number", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 arg2
= wxString_in_helper(obj1
);
5467 if (arg2
== NULL
) SWIG_fail
;
5471 arg3
= (int) SWIG_AsInt(obj2
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 Py_INCREF(Py_None
); resultobj
= Py_None
;
5496 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5499 int arg2
= (int) 0 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5503 (char *) "self",(char *) "number", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5510 arg2
= (int) SWIG_AsInt(obj1
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 (arg1
)->PopStatusText(arg2
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5520 Py_INCREF(Py_None
); resultobj
= Py_None
;
5527 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
;
5529 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5531 int *arg3
= (int *) 0 ;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5535 (char *) "self",(char *) "widths", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5542 arg2
= PyList_Size(obj1
);
5543 arg3
= int_LIST_helper(obj1
);
5544 if (arg3
== NULL
) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 Py_INCREF(Py_None
); resultobj
= Py_None
;
5555 if (arg3
) delete [] arg3
;
5560 if (arg3
) delete [] arg3
;
5566 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5574 (char *) "self",(char *) "i", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5580 arg2
= (int) SWIG_AsInt(obj1
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5591 resultptr
= new wxRect((wxRect
&) result
);
5592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5600 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5607 (char *) "self",(char *) "height", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5613 arg2
= (int) SWIG_AsInt(obj1
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 (arg1
)->SetMinHeight(arg2
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 Py_INCREF(Py_None
); resultobj
= Py_None
;
5629 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5633 PyObject
* obj0
= 0 ;
5635 (char *) "self", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_FromInt((int)result
);
5655 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5659 PyObject
* obj0
= 0 ;
5661 (char *) "self", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= SWIG_FromInt((int)result
);
5681 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5684 wxVisualAttributes result
;
5685 PyObject
* obj0
= 0 ;
5687 (char *) "variant", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5692 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5696 if (!wxPyCheckForApp()) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5704 wxVisualAttributes
* resultptr
;
5705 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5714 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5717 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5719 return Py_BuildValue((char *)"");
5721 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5722 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5727 static PyObject
*_wrap_SplitterNameStr_get() {
5732 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5734 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5741 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5743 wxWindow
*arg1
= (wxWindow
*) 0 ;
5744 int arg2
= (int) -1 ;
5745 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5746 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5747 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5748 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5749 long arg5
= (long) wxSP_3D
;
5750 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5751 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5752 wxSplitterWindow
*result
;
5755 bool temp6
= False
;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5758 PyObject
* obj2
= 0 ;
5759 PyObject
* obj3
= 0 ;
5760 PyObject
* obj4
= 0 ;
5761 PyObject
* obj5
= 0 ;
5763 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5770 arg2
= (int) SWIG_AsInt(obj1
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5776 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5782 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5786 arg5
= (long) SWIG_AsLong(obj4
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5791 arg6
= wxString_in_helper(obj5
);
5792 if (arg6
== NULL
) SWIG_fail
;
5797 if (!wxPyCheckForApp()) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5819 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 wxSplitterWindow
*result
;
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5828 if (!wxPyCheckForApp()) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5842 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5845 wxWindow
*arg2
= (wxWindow
*) 0 ;
5846 int arg3
= (int) -1 ;
5847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5851 long arg6
= (long) wxSP_3D
;
5852 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5853 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5857 bool temp7
= False
;
5858 PyObject
* obj0
= 0 ;
5859 PyObject
* obj1
= 0 ;
5860 PyObject
* obj2
= 0 ;
5861 PyObject
* obj3
= 0 ;
5862 PyObject
* obj4
= 0 ;
5863 PyObject
* obj5
= 0 ;
5864 PyObject
* obj6
= 0 ;
5866 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 arg3
= (int) SWIG_AsInt(obj2
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5881 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5887 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5891 arg6
= (long) SWIG_AsLong(obj5
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5896 arg7
= wxString_in_helper(obj6
);
5897 if (arg7
== NULL
) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5925 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5931 (char *) "self", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= wxPyMake_wxObject(result
, 0);
5953 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5957 PyObject
* obj0
= 0 ;
5959 (char *) "self", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= wxPyMake_wxObject(result
, 0);
5981 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5988 (char *) "self",(char *) "mode", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5994 arg2
= (int) SWIG_AsInt(obj1
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 (arg1
)->SetSplitMode(arg2
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 Py_INCREF(Py_None
); resultobj
= Py_None
;
6010 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6016 (char *) "self", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_FromInt((int)result
);
6036 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6039 wxWindow
*arg2
= (wxWindow
*) 0 ;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6043 (char *) "self",(char *) "window", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 (arg1
)->Initialize(arg2
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 Py_INCREF(Py_None
); resultobj
= Py_None
;
6065 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6068 wxWindow
*arg2
= (wxWindow
*) 0 ;
6069 wxWindow
*arg3
= (wxWindow
*) 0 ;
6070 int arg4
= (int) 0 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6074 PyObject
* obj2
= 0 ;
6075 PyObject
* obj3
= 0 ;
6077 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6088 arg4
= (int) SWIG_AsInt(obj3
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6107 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
;
6109 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6110 wxWindow
*arg2
= (wxWindow
*) 0 ;
6111 wxWindow
*arg3
= (wxWindow
*) 0 ;
6112 int arg4
= (int) 0 ;
6114 PyObject
* obj0
= 0 ;
6115 PyObject
* obj1
= 0 ;
6116 PyObject
* obj2
= 0 ;
6117 PyObject
* obj3
= 0 ;
6119 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6130 arg4
= (int) SWIG_AsInt(obj3
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6149 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6152 wxWindow
*arg2
= (wxWindow
*) NULL
;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6157 (char *) "self",(char *) "toRemove", NULL
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (bool)(arg1
)->Unsplit(arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6183 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6186 wxWindow
*arg2
= (wxWindow
*) 0 ;
6187 wxWindow
*arg3
= (wxWindow
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6190 PyObject
* obj1
= 0 ;
6191 PyObject
* obj2
= 0 ;
6193 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6201 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6219 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6222 PyObject
* obj0
= 0 ;
6224 (char *) "self", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 (arg1
)->UpdateSize();
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 Py_INCREF(Py_None
); resultobj
= Py_None
;
6244 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6272 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6277 PyObject
* obj1
= 0 ;
6279 (char *) "self",(char *) "width", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6285 arg2
= (int) SWIG_AsInt(obj1
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 (arg1
)->SetSashSize(arg2
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 Py_INCREF(Py_None
); resultobj
= Py_None
;
6301 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6308 (char *) "self",(char *) "width", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6314 arg2
= (int) SWIG_AsInt(obj1
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 (arg1
)->SetBorderSize(arg2
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 Py_INCREF(Py_None
); resultobj
= Py_None
;
6330 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6336 (char *) "self", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= SWIG_FromInt((int)result
);
6356 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
;
6358 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6360 PyObject
* obj0
= 0 ;
6362 (char *) "self", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_FromInt((int)result
);
6382 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6386 bool arg3
= (bool) True
;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6391 (char *) "self",(char *) "position",(char *) "redraw", NULL
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6397 arg2
= (int) SWIG_AsInt(obj1
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 arg3
= (bool) SWIG_AsBool(obj2
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 (arg1
)->SetSashPosition(arg2
,arg3
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 Py_INCREF(Py_None
); resultobj
= Py_None
;
6417 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6421 PyObject
* obj0
= 0 ;
6423 (char *) "self", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_FromInt((int)result
);
6443 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6448 PyObject
* obj1
= 0 ;
6450 (char *) "self",(char *) "min", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 arg2
= (int) SWIG_AsInt(obj1
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 (arg1
)->SetMinimumPaneSize(arg2
);
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 Py_INCREF(Py_None
); resultobj
= Py_None
;
6472 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6478 (char *) "self", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= SWIG_FromInt((int)result
);
6498 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6503 int arg4
= (int) 5 ;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6507 PyObject
* obj2
= 0 ;
6508 PyObject
* obj3
= 0 ;
6510 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6516 arg2
= (int) SWIG_AsInt(obj1
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6518 arg3
= (int) SWIG_AsInt(obj2
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 arg4
= (int) SWIG_AsInt(obj3
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6540 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
;
6542 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 (arg1
)->SizeWindows();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 Py_INCREF(Py_None
); resultobj
= Py_None
;
6565 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6572 (char *) "self",(char *) "needUpdating", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 arg2
= (bool) SWIG_AsBool(obj1
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 (arg1
)->SetNeedUpdating(arg2
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 Py_INCREF(Py_None
); resultobj
= Py_None
;
6594 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6598 PyObject
* obj0
= 0 ;
6600 (char *) "self", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6622 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6625 wxVisualAttributes result
;
6626 PyObject
* obj0
= 0 ;
6628 (char *) "variant", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6633 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 if (!wxPyCheckForApp()) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6645 wxVisualAttributes
* resultptr
;
6646 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6655 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6658 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6660 return Py_BuildValue((char *)"");
6662 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6665 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6666 wxSplitterEvent
*result
;
6667 PyObject
* obj0
= 0 ;
6668 PyObject
* obj1
= 0 ;
6670 (char *) "type",(char *) "splitter", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6675 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6696 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
*resultobj
;
6698 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6703 (char *) "self",(char *) "pos", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6709 arg2
= (int) SWIG_AsInt(obj1
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 (arg1
)->SetSashPosition(arg2
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 Py_INCREF(Py_None
); resultobj
= Py_None
;
6725 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6729 PyObject
* obj0
= 0 ;
6731 (char *) "self", NULL
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= SWIG_FromInt((int)result
);
6751 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= wxPyMake_wxObject(result
, 0);
6779 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6785 (char *) "self", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= SWIG_FromInt((int)result
);
6805 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6809 PyObject
* obj0
= 0 ;
6811 (char *) "self", NULL
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= SWIG_FromInt((int)result
);
6831 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6834 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6836 return Py_BuildValue((char *)"");
6838 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6839 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6844 static PyObject
*_wrap_SashNameStr_get() {
6849 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6851 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6858 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6859 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6864 static PyObject
*_wrap_SashLayoutNameStr_get() {
6869 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6871 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6878 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxWindow
*arg1
= (wxWindow
*) 0 ;
6881 int arg2
= (int) -1 ;
6882 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6883 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6884 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6885 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6886 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6887 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6888 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6889 wxSashWindow
*result
;
6892 bool temp6
= False
;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 PyObject
* obj2
= 0 ;
6896 PyObject
* obj3
= 0 ;
6897 PyObject
* obj4
= 0 ;
6898 PyObject
* obj5
= 0 ;
6900 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 arg2
= (int) SWIG_AsInt(obj1
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6913 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6919 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6923 arg5
= (long) SWIG_AsLong(obj4
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6928 arg6
= wxString_in_helper(obj5
);
6929 if (arg6
== NULL
) SWIG_fail
;
6934 if (!wxPyCheckForApp()) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6956 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
;
6958 wxSashWindow
*result
;
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6965 if (!wxPyCheckForApp()) SWIG_fail
;
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 result
= (wxSashWindow
*)new wxSashWindow();
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6979 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
;
6981 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6982 wxWindow
*arg2
= (wxWindow
*) 0 ;
6983 int arg3
= (int) -1 ;
6984 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6985 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6986 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6987 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6988 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6989 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6990 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6994 bool temp7
= False
;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6997 PyObject
* obj2
= 0 ;
6998 PyObject
* obj3
= 0 ;
6999 PyObject
* obj4
= 0 ;
7000 PyObject
* obj5
= 0 ;
7001 PyObject
* obj6
= 0 ;
7003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 arg3
= (int) SWIG_AsInt(obj2
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7028 arg6
= (long) SWIG_AsLong(obj5
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7033 arg7
= wxString_in_helper(obj6
);
7034 if (arg7
== NULL
) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7062 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7067 PyObject
* obj0
= 0 ;
7068 PyObject
* obj1
= 0 ;
7069 PyObject
* obj2
= 0 ;
7071 (char *) "self",(char *) "edge",(char *) "sash", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7077 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7079 arg3
= (bool) SWIG_AsBool(obj2
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 Py_INCREF(Py_None
); resultobj
= Py_None
;
7095 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
*resultobj
;
7097 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7100 PyObject
* obj0
= 0 ;
7101 PyObject
* obj1
= 0 ;
7103 (char *) "self",(char *) "edge", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7109 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7127 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7132 PyObject
* obj0
= 0 ;
7133 PyObject
* obj1
= 0 ;
7134 PyObject
* obj2
= 0 ;
7136 (char *) "self",(char *) "edge",(char *) "border", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7142 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7144 arg3
= (bool) SWIG_AsBool(obj2
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 Py_INCREF(Py_None
); resultobj
= Py_None
;
7160 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7165 PyObject
* obj0
= 0 ;
7166 PyObject
* obj1
= 0 ;
7168 (char *) "self",(char *) "edge", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7174 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7192 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7200 (char *) "self",(char *) "edge", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7206 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_FromInt((int)result
);
7222 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7229 (char *) "self",(char *) "width", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7235 arg2
= (int) SWIG_AsInt(obj1
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 (arg1
)->SetDefaultBorderSize(arg2
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 Py_INCREF(Py_None
); resultobj
= Py_None
;
7251 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7255 PyObject
* obj0
= 0 ;
7257 (char *) "self", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_FromInt((int)result
);
7277 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7282 PyObject
* obj1
= 0 ;
7284 (char *) "self",(char *) "width", NULL
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7290 arg2
= (int) SWIG_AsInt(obj1
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 (arg1
)->SetExtraBorderSize(arg2
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 Py_INCREF(Py_None
); resultobj
= Py_None
;
7306 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7310 PyObject
* obj0
= 0 ;
7312 (char *) "self", NULL
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= SWIG_FromInt((int)result
);
7332 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7336 PyObject
* obj0
= 0 ;
7337 PyObject
* obj1
= 0 ;
7339 (char *) "self",(char *) "min", NULL
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7345 arg2
= (int) SWIG_AsInt(obj1
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 (arg1
)->SetMinimumSizeX(arg2
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 Py_INCREF(Py_None
); resultobj
= Py_None
;
7361 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7366 PyObject
* obj1
= 0 ;
7368 (char *) "self",(char *) "min", NULL
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7374 arg2
= (int) SWIG_AsInt(obj1
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 (arg1
)->SetMinimumSizeY(arg2
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 Py_INCREF(Py_None
); resultobj
= Py_None
;
7390 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7394 PyObject
* obj0
= 0 ;
7396 (char *) "self", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= SWIG_FromInt((int)result
);
7416 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "self", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_FromInt((int)result
);
7442 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "max", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 arg2
= (int) SWIG_AsInt(obj1
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 (arg1
)->SetMaximumSizeX(arg2
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 Py_INCREF(Py_None
); resultobj
= Py_None
;
7471 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7476 PyObject
* obj1
= 0 ;
7478 (char *) "self",(char *) "max", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7484 arg2
= (int) SWIG_AsInt(obj1
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 (arg1
)->SetMaximumSizeY(arg2
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 Py_INCREF(Py_None
); resultobj
= Py_None
;
7500 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7504 PyObject
* obj0
= 0 ;
7506 (char *) "self", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= SWIG_FromInt((int)result
);
7526 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7530 PyObject
* obj0
= 0 ;
7532 (char *) "self", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= SWIG_FromInt((int)result
);
7552 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7557 int arg4
= (int) 2 ;
7559 PyObject
* obj0
= 0 ;
7560 PyObject
* obj1
= 0 ;
7561 PyObject
* obj2
= 0 ;
7562 PyObject
* obj3
= 0 ;
7564 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7570 arg2
= (int) SWIG_AsInt(obj1
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7572 arg3
= (int) SWIG_AsInt(obj2
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 arg4
= (int) SWIG_AsInt(obj3
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_FromInt((int)result
);
7592 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7595 PyObject
* obj0
= 0 ;
7597 (char *) "self", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 (arg1
)->SizeWindows();
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 Py_INCREF(Py_None
); resultobj
= Py_None
;
7617 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7620 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7622 return Py_BuildValue((char *)"");
7624 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 int arg1
= (int) 0 ;
7627 int arg2
= (int) wxSASH_NONE
;
7628 wxSashEvent
*result
;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7632 (char *) "id",(char *) "edge", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7637 arg1
= (int) SWIG_AsInt(obj0
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7641 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7658 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7665 (char *) "self",(char *) "edge", NULL
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7671 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 Py_INCREF(Py_None
); resultobj
= Py_None
;
7687 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "self", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= SWIG_FromInt((int)result
);
7713 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7718 PyObject
* obj0
= 0 ;
7719 PyObject
* obj1
= 0 ;
7721 (char *) "self",(char *) "rect", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7729 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 Py_INCREF(Py_None
); resultobj
= Py_None
;
7745 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7749 PyObject
* obj0
= 0 ;
7751 (char *) "self", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7766 resultptr
= new wxRect((wxRect
&) result
);
7767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7775 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7779 PyObject
* obj0
= 0 ;
7780 PyObject
* obj1
= 0 ;
7782 (char *) "self",(char *) "status", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7788 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 Py_INCREF(Py_None
); resultobj
= Py_None
;
7804 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7808 PyObject
* obj0
= 0 ;
7810 (char *) "self", NULL
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= SWIG_FromInt((int)result
);
7830 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7833 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7835 return Py_BuildValue((char *)"");
7837 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 int arg1
= (int) 0 ;
7840 wxQueryLayoutInfoEvent
*result
;
7841 PyObject
* obj0
= 0 ;
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7848 arg1
= (int) SWIG_AsInt(obj0
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7865 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7872 (char *) "self",(char *) "length", NULL
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7878 arg2
= (int) SWIG_AsInt(obj1
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 (arg1
)->SetRequestedLength(arg2
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 Py_INCREF(Py_None
); resultobj
= Py_None
;
7894 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7900 (char *) "self", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_FromInt((int)result
);
7920 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7925 PyObject
* obj1
= 0 ;
7927 (char *) "self",(char *) "flags", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7933 arg2
= (int) SWIG_AsInt(obj1
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 (arg1
)->SetFlags(arg2
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 Py_INCREF(Py_None
); resultobj
= Py_None
;
7949 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7955 (char *) "self", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_FromInt((int)result
);
7975 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7980 PyObject
* obj0
= 0 ;
7981 PyObject
* obj1
= 0 ;
7983 (char *) "self",(char *) "size", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7991 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 (arg1
)->SetSize((wxSize
const &)*arg2
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 Py_INCREF(Py_None
); resultobj
= Py_None
;
8007 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8013 (char *) "self", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8028 resultptr
= new wxSize((wxSize
&) result
);
8029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8037 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8044 (char *) "self",(char *) "orient", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8050 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 Py_INCREF(Py_None
); resultobj
= Py_None
;
8066 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8070 PyObject
* obj0
= 0 ;
8072 (char *) "self", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 resultobj
= SWIG_FromInt((int)result
);
8092 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8097 PyObject
* obj1
= 0 ;
8099 (char *) "self",(char *) "align", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8105 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 Py_INCREF(Py_None
); resultobj
= Py_None
;
8121 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "self", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_FromInt((int)result
);
8147 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8150 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8152 return Py_BuildValue((char *)"");
8154 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 int arg1
= (int) 0 ;
8157 wxCalculateLayoutEvent
*result
;
8158 PyObject
* obj0
= 0 ;
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8165 arg1
= (int) SWIG_AsInt(obj0
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8182 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8186 PyObject
* obj0
= 0 ;
8187 PyObject
* obj1
= 0 ;
8189 (char *) "self",(char *) "flags", NULL
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8195 arg2
= (int) SWIG_AsInt(obj1
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 (arg1
)->SetFlags(arg2
);
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 Py_INCREF(Py_None
); resultobj
= Py_None
;
8211 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8215 PyObject
* obj0
= 0 ;
8217 (char *) "self", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= SWIG_FromInt((int)result
);
8237 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8242 PyObject
* obj0
= 0 ;
8243 PyObject
* obj1
= 0 ;
8245 (char *) "self",(char *) "rect", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8253 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 (arg1
)->SetRect((wxRect
const &)*arg2
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 Py_INCREF(Py_None
); resultobj
= Py_None
;
8269 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8273 PyObject
* obj0
= 0 ;
8275 (char *) "self", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8290 resultptr
= new wxRect((wxRect
&) result
);
8291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8299 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8302 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8304 return Py_BuildValue((char *)"");
8306 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxWindow
*arg1
= (wxWindow
*) 0 ;
8309 int arg2
= (int) -1 ;
8310 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8311 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8312 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8313 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8314 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8315 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8316 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8317 wxSashLayoutWindow
*result
;
8320 bool temp6
= False
;
8321 PyObject
* obj0
= 0 ;
8322 PyObject
* obj1
= 0 ;
8323 PyObject
* obj2
= 0 ;
8324 PyObject
* obj3
= 0 ;
8325 PyObject
* obj4
= 0 ;
8326 PyObject
* obj5
= 0 ;
8328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8335 arg2
= (int) SWIG_AsInt(obj1
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8341 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8347 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8351 arg5
= (long) SWIG_AsLong(obj4
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8356 arg6
= wxString_in_helper(obj5
);
8357 if (arg6
== NULL
) SWIG_fail
;
8362 if (!wxPyCheckForApp()) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8384 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
*resultobj
;
8386 wxSashLayoutWindow
*result
;
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8393 if (!wxPyCheckForApp()) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8407 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8410 wxWindow
*arg2
= (wxWindow
*) 0 ;
8411 int arg3
= (int) -1 ;
8412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8416 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8417 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8418 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8422 bool temp7
= False
;
8423 PyObject
* obj0
= 0 ;
8424 PyObject
* obj1
= 0 ;
8425 PyObject
* obj2
= 0 ;
8426 PyObject
* obj3
= 0 ;
8427 PyObject
* obj4
= 0 ;
8428 PyObject
* obj5
= 0 ;
8429 PyObject
* obj6
= 0 ;
8431 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8440 arg3
= (int) SWIG_AsInt(obj2
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8446 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8452 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8456 arg6
= (long) SWIG_AsLong(obj5
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8461 arg7
= wxString_in_helper(obj6
);
8462 if (arg7
== NULL
) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8490 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8494 PyObject
* obj0
= 0 ;
8496 (char *) "self", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= (int)(arg1
)->GetAlignment();
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= SWIG_FromInt((int)result
);
8516 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
;
8518 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8520 PyObject
* obj0
= 0 ;
8522 (char *) "self", NULL
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= (int)(arg1
)->GetOrientation();
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= SWIG_FromInt((int)result
);
8542 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8549 (char *) "self",(char *) "alignment", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8555 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 Py_INCREF(Py_None
); resultobj
= Py_None
;
8571 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8579 (char *) "self",(char *) "size", NULL
8582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 Py_INCREF(Py_None
); resultobj
= Py_None
;
8603 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8607 PyObject
* obj0
= 0 ;
8608 PyObject
* obj1
= 0 ;
8610 (char *) "self",(char *) "orientation", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8616 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 Py_INCREF(Py_None
); resultobj
= Py_None
;
8632 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8635 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8637 return Py_BuildValue((char *)"");
8639 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxLayoutAlgorithm
*result
;
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8661 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
;
8663 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8666 (char *) "self", NULL
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8689 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8690 wxRect
*arg3
= (wxRect
*) NULL
;
8692 PyObject
* obj0
= 0 ;
8693 PyObject
* obj1
= 0 ;
8694 PyObject
* obj2
= 0 ;
8696 (char *) "self",(char *) "frame",(char *) "rect", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8705 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8724 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8727 wxFrame
*arg2
= (wxFrame
*) 0 ;
8728 wxWindow
*arg3
= (wxWindow
*) NULL
;
8730 PyObject
* obj0
= 0 ;
8731 PyObject
* obj1
= 0 ;
8732 PyObject
* obj2
= 0 ;
8734 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8743 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8762 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8765 wxWindow
*arg2
= (wxWindow
*) 0 ;
8766 wxWindow
*arg3
= (wxWindow
*) NULL
;
8768 PyObject
* obj0
= 0 ;
8769 PyObject
* obj1
= 0 ;
8770 PyObject
* obj2
= 0 ;
8772 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8781 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8800 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8803 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8805 return Py_BuildValue((char *)"");
8807 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxWindow
*arg1
= (wxWindow
*) 0 ;
8810 int arg2
= (int) wxBORDER_NONE
;
8811 wxPopupWindow
*result
;
8812 PyObject
* obj0
= 0 ;
8813 PyObject
* obj1
= 0 ;
8815 (char *) "parent",(char *) "flags", NULL
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8822 arg2
= (int) SWIG_AsInt(obj1
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8839 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxPopupWindow
*result
;
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 result
= (wxPopupWindow
*)new wxPopupWindow();
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8861 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8864 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8866 return Py_BuildValue((char *)"");
8868 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
;
8870 wxWindow
*arg1
= (wxWindow
*) 0 ;
8871 int arg2
= (int) wxBORDER_NONE
;
8872 wxPyPopupTransientWindow
*result
;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8876 (char *) "parent",(char *) "style", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8883 arg2
= (int) SWIG_AsInt(obj1
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8888 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8900 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
*resultobj
;
8902 wxPyPopupTransientWindow
*result
;
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8922 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8925 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8927 return Py_BuildValue((char *)"");
8929 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
;
8931 wxWindow
*arg1
= (wxWindow
*) 0 ;
8932 wxString
*arg2
= 0 ;
8933 int arg3
= (int) 100 ;
8934 wxRect
*arg4
= (wxRect
*) NULL
;
8935 wxTipWindow
*result
;
8936 bool temp2
= False
;
8937 PyObject
* obj0
= 0 ;
8938 PyObject
* obj1
= 0 ;
8939 PyObject
* obj2
= 0 ;
8940 PyObject
* obj3
= 0 ;
8942 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8949 arg2
= wxString_in_helper(obj1
);
8950 if (arg2
== NULL
) SWIG_fail
;
8954 arg3
= (int) SWIG_AsInt(obj2
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8958 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8962 if (!wxPyCheckForApp()) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8984 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8989 PyObject
* obj0
= 0 ;
8990 PyObject
* obj1
= 0 ;
8992 (char *) "self",(char *) "rectBound", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9000 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 Py_INCREF(Py_None
); resultobj
= Py_None
;
9016 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9021 (char *) "self", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9044 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9046 return Py_BuildValue((char *)"");
9048 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxWindow
*arg1
= (wxWindow
*) 0 ;
9051 int arg2
= (int) wxID_ANY
;
9052 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9053 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9054 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9055 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9056 long arg5
= (long) 0 ;
9057 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9058 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9059 wxPyVScrolledWindow
*result
;
9062 bool temp6
= False
;
9063 PyObject
* obj0
= 0 ;
9064 PyObject
* obj1
= 0 ;
9065 PyObject
* obj2
= 0 ;
9066 PyObject
* obj3
= 0 ;
9067 PyObject
* obj4
= 0 ;
9068 PyObject
* obj5
= 0 ;
9070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9077 arg2
= (int) SWIG_AsInt(obj1
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9083 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9089 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9093 arg5
= (long) SWIG_AsLong(obj4
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9098 arg6
= wxString_in_helper(obj5
);
9099 if (arg6
== NULL
) SWIG_fail
;
9104 if (!wxPyCheckForApp()) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9126 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxPyVScrolledWindow
*result
;
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9135 if (!wxPyCheckForApp()) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9149 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9152 PyObject
*arg2
= (PyObject
*) 0 ;
9153 PyObject
*arg3
= (PyObject
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9156 PyObject
* obj2
= 0 ;
9158 (char *) "self",(char *) "self",(char *) "_class", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 Py_INCREF(Py_None
); resultobj
= Py_None
;
9180 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9183 wxWindow
*arg2
= (wxWindow
*) 0 ;
9184 int arg3
= (int) wxID_ANY
;
9185 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9186 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9187 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9188 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9189 long arg6
= (long) 0 ;
9190 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9191 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9195 bool temp7
= False
;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 PyObject
* obj2
= 0 ;
9199 PyObject
* obj3
= 0 ;
9200 PyObject
* obj4
= 0 ;
9201 PyObject
* obj5
= 0 ;
9202 PyObject
* obj6
= 0 ;
9204 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9213 arg3
= (int) SWIG_AsInt(obj2
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9219 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9225 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9229 arg6
= (long) SWIG_AsLong(obj5
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9234 arg7
= wxString_in_helper(obj6
);
9235 if (arg7
== NULL
) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9263 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9267 PyObject
* obj0
= 0 ;
9268 PyObject
* obj1
= 0 ;
9270 (char *) "self",(char *) "count", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9276 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 (arg1
)->SetLineCount(arg2
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 Py_INCREF(Py_None
); resultobj
= Py_None
;
9292 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9300 (char *) "self",(char *) "line", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9306 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9324 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9330 PyObject
* obj1
= 0 ;
9332 (char *) "self",(char *) "lines", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9338 arg2
= (int) SWIG_AsInt(obj1
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (bool)(arg1
)->ScrollLines(arg2
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9356 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
;
9358 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9362 PyObject
* obj1
= 0 ;
9364 (char *) "self",(char *) "pages", NULL
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9370 arg2
= (int) SWIG_AsInt(obj1
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (bool)(arg1
)->ScrollPages(arg2
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9388 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9395 (char *) "self",(char *) "line", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 (arg1
)->RefreshLine(arg2
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 Py_INCREF(Py_None
); resultobj
= Py_None
;
9417 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9422 PyObject
* obj0
= 0 ;
9423 PyObject
* obj1
= 0 ;
9424 PyObject
* obj2
= 0 ;
9426 (char *) "self",(char *) "from",(char *) "to", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9432 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9434 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 (arg1
)->RefreshLines(arg2
,arg3
);
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 Py_INCREF(Py_None
); resultobj
= Py_None
;
9450 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 PyObject
* obj2
= 0 ;
9460 (char *) "self",(char *) "x",(char *) "y", NULL
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9466 arg2
= (int) SWIG_AsInt(obj1
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9468 arg3
= (int) SWIG_AsInt(obj2
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_FromInt((int)result
);
9484 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
;
9486 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9493 (char *) "self",(char *) "pt", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= SWIG_FromInt((int)result
);
9517 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9522 (char *) "self", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 (arg1
)->RefreshAll();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 Py_INCREF(Py_None
); resultobj
= Py_None
;
9542 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9546 PyObject
* obj0
= 0 ;
9548 (char *) "self", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9568 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9570 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9574 (char *) "self", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9594 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9600 (char *) "self", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9620 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
;
9622 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9625 PyObject
* obj0
= 0 ;
9626 PyObject
* obj1
= 0 ;
9628 (char *) "self",(char *) "line", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9634 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9652 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9655 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9657 return Py_BuildValue((char *)"");
9659 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9660 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9665 static PyObject
*_wrap_VListBoxNameStr_get() {
9670 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9672 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9679 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxWindow
*arg1
= (wxWindow
*) 0 ;
9682 int arg2
= (int) wxID_ANY
;
9683 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9684 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9685 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9686 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9687 long arg5
= (long) 0 ;
9688 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9689 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9690 wxPyVListBox
*result
;
9693 bool temp6
= False
;
9694 PyObject
* obj0
= 0 ;
9695 PyObject
* obj1
= 0 ;
9696 PyObject
* obj2
= 0 ;
9697 PyObject
* obj3
= 0 ;
9698 PyObject
* obj4
= 0 ;
9699 PyObject
* obj5
= 0 ;
9701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9708 arg2
= (int) SWIG_AsInt(obj1
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9714 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9720 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9724 arg5
= (long) SWIG_AsLong(obj4
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9729 arg6
= wxString_in_helper(obj5
);
9730 if (arg6
== NULL
) SWIG_fail
;
9735 if (!wxPyCheckForApp()) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9757 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
;
9759 wxPyVListBox
*result
;
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9766 if (!wxPyCheckForApp()) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (wxPyVListBox
*)new wxPyVListBox();
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9780 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
;
9782 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9783 PyObject
*arg2
= (PyObject
*) 0 ;
9784 PyObject
*arg3
= (PyObject
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9787 PyObject
* obj2
= 0 ;
9789 (char *) "self",(char *) "self",(char *) "_class", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 Py_INCREF(Py_None
); resultobj
= Py_None
;
9811 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9814 wxWindow
*arg2
= (wxWindow
*) 0 ;
9815 int arg3
= (int) wxID_ANY
;
9816 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9817 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9818 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9819 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9820 long arg6
= (long) 0 ;
9821 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9822 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9826 bool temp7
= False
;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9830 PyObject
* obj3
= 0 ;
9831 PyObject
* obj4
= 0 ;
9832 PyObject
* obj5
= 0 ;
9833 PyObject
* obj6
= 0 ;
9835 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9844 arg3
= (int) SWIG_AsInt(obj2
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9850 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9856 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9860 arg6
= (long) SWIG_AsLong(obj5
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9865 arg7
= wxString_in_helper(obj6
);
9866 if (arg7
== NULL
) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9894 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
;
9896 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9900 (char *) "self", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9920 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
;
9922 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9924 PyObject
* obj0
= 0 ;
9926 (char *) "self", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9948 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9954 (char *) "self", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= SWIG_FromInt((int)result
);
9974 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9979 PyObject
* obj0
= 0 ;
9980 PyObject
* obj1
= 0 ;
9982 (char *) "self",(char *) "item", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9988 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10006 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10011 PyObject
* obj0
= 0 ;
10012 PyObject
* obj1
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self",(char *) "item", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10038 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10064 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= result
;
10090 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10093 unsigned long arg2
;
10095 PyObject
* obj0
= 0 ;
10096 PyObject
* obj1
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "self",(char *) "cookie", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10104 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= result
;
10120 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10124 PyObject
* obj0
= 0 ;
10125 char *kwnames
[] = {
10126 (char *) "self", NULL
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10140 wxPoint
* resultptr
;
10141 resultptr
= new wxPoint((wxPoint
&) result
);
10142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10150 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10154 PyObject
* obj0
= 0 ;
10155 char *kwnames
[] = {
10156 (char *) "self", NULL
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10166 result
= (wxColour
*) &_result_ref
;
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10179 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self",(char *) "count", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10192 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 (arg1
)->SetItemCount(arg2
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 Py_INCREF(Py_None
); resultobj
= Py_None
;
10208 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10211 PyObject
* obj0
= 0 ;
10212 char *kwnames
[] = {
10213 (char *) "self", NULL
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 Py_INCREF(Py_None
); resultobj
= Py_None
;
10233 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
;
10235 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self",(char *) "selection", NULL
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10246 arg2
= (int) SWIG_AsInt(obj1
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 (arg1
)->SetSelection(arg2
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 Py_INCREF(Py_None
); resultobj
= Py_None
;
10262 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10266 bool arg3
= (bool) True
;
10268 PyObject
* obj0
= 0 ;
10269 PyObject
* obj1
= 0 ;
10270 PyObject
* obj2
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self",(char *) "item",(char *) "select", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10278 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 arg3
= (bool) SWIG_AsBool(obj2
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10300 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 PyObject
* obj2
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self",(char *) "from",(char *) "to", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10316 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10318 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10336 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10340 PyObject
* obj0
= 0 ;
10341 PyObject
* obj1
= 0 ;
10342 char *kwnames
[] = {
10343 (char *) "self",(char *) "item", NULL
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10349 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 (arg1
)->Toggle(arg2
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 Py_INCREF(Py_None
); resultobj
= Py_None
;
10365 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= (bool)(arg1
)->SelectAll();
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10393 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10397 PyObject
* obj0
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (bool)(arg1
)->DeselectAll();
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10421 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10424 wxPoint
*arg2
= 0 ;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self",(char *) "pt", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 Py_INCREF(Py_None
); resultobj
= Py_None
;
10453 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 PyObject
* obj2
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self",(char *) "x",(char *) "y", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10468 arg2
= (int) SWIG_AsInt(obj1
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10470 arg3
= (int) SWIG_AsInt(obj2
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 (arg1
)->SetMargins(arg2
,arg3
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 Py_INCREF(Py_None
); resultobj
= Py_None
;
10486 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
;
10488 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10489 wxColour
*arg2
= 0 ;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 char *kwnames
[] = {
10494 (char *) "self",(char *) "col", NULL
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 Py_INCREF(Py_None
); resultobj
= Py_None
;
10518 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10521 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10523 return Py_BuildValue((char *)"");
10525 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxWindow
*arg1
= (wxWindow
*) 0 ;
10528 int arg2
= (int) wxID_ANY
;
10529 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10530 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10531 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10532 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10533 long arg5
= (long) 0 ;
10534 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10535 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10536 wxPyHtmlListBox
*result
;
10539 bool temp6
= False
;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj1
= 0 ;
10542 PyObject
* obj2
= 0 ;
10543 PyObject
* obj3
= 0 ;
10544 PyObject
* obj4
= 0 ;
10545 PyObject
* obj5
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10554 arg2
= (int) SWIG_AsInt(obj1
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10566 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10570 arg5
= (long) SWIG_AsLong(obj4
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10575 arg6
= wxString_in_helper(obj5
);
10576 if (arg6
== NULL
) SWIG_fail
;
10581 if (!wxPyCheckForApp()) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10603 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxPyHtmlListBox
*result
;
10606 char *kwnames
[] = {
10610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10612 if (!wxPyCheckForApp()) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10626 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10629 PyObject
*arg2
= (PyObject
*) 0 ;
10630 PyObject
*arg3
= (PyObject
*) 0 ;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 PyObject
* obj2
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "self",(char *) "self",(char *) "_class", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 Py_INCREF(Py_None
); resultobj
= Py_None
;
10657 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10659 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10660 wxWindow
*arg2
= (wxWindow
*) 0 ;
10661 int arg3
= (int) wxID_ANY
;
10662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10666 long arg6
= (long) 0 ;
10667 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10668 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10672 bool temp7
= False
;
10673 PyObject
* obj0
= 0 ;
10674 PyObject
* obj1
= 0 ;
10675 PyObject
* obj2
= 0 ;
10676 PyObject
* obj3
= 0 ;
10677 PyObject
* obj4
= 0 ;
10678 PyObject
* obj5
= 0 ;
10679 PyObject
* obj6
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10690 arg3
= (int) SWIG_AsInt(obj2
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10696 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10702 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10706 arg6
= (long) SWIG_AsLong(obj5
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10711 arg7
= wxString_in_helper(obj6
);
10712 if (arg7
== NULL
) SWIG_fail
;
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10740 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 (arg1
)->RefreshAll();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 Py_INCREF(Py_None
); resultobj
= Py_None
;
10765 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "count", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 (arg1
)->SetItemCount(arg2
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 Py_INCREF(Py_None
); resultobj
= Py_None
;
10794 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10797 wxFileSystem
*result
;
10798 PyObject
* obj0
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10810 result
= (wxFileSystem
*) &_result_ref
;
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10823 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10826 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10828 return Py_BuildValue((char *)"");
10830 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxTaskBarIcon
*result
;
10833 char *kwnames
[] = {
10837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10839 if (!wxPyCheckForApp()) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10853 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 Py_INCREF(Py_None
); resultobj
= Py_None
;
10878 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "self", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 wxTaskBarIcon_Destroy(arg1
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 Py_INCREF(Py_None
); resultobj
= Py_None
;
10903 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10906 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10908 return Py_BuildValue((char *)"");
10910 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10913 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10914 wxTaskBarIconEvent
*result
;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "evtType",(char *) "tbIcon", NULL
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10922 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10940 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10943 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10945 return Py_BuildValue((char *)"");
10947 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10948 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10953 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10958 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10960 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10967 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10968 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10973 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10978 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10980 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10987 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10988 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10993 static PyObject
*_wrap_DirDialogNameStr_get() {
10998 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11000 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11007 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11008 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11013 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11018 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11020 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11027 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11028 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11033 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11038 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11040 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11047 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11048 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11053 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11058 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11060 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11067 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxColourData
*result
;
11070 char *kwnames
[] = {
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (wxColourData
*)new wxColourData();
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11089 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxColourData
*arg1
= (wxColourData
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 Py_INCREF(Py_None
); resultobj
= Py_None
;
11114 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
;
11116 wxColourData
*arg1
= (wxColourData
*) 0 ;
11118 PyObject
* obj0
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (bool)(arg1
)->GetChooseFull();
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11142 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxColourData
*arg1
= (wxColourData
*) 0 ;
11146 PyObject
* obj0
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (arg1
)->GetColour();
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 wxColour
* resultptr
;
11163 resultptr
= new wxColour((wxColour
&) result
);
11164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11172 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxColourData
*arg1
= (wxColourData
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self",(char *) "i", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11186 arg2
= (int) SWIG_AsInt(obj1
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (arg1
)->GetCustomColour(arg2
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11196 wxColour
* resultptr
;
11197 resultptr
= new wxColour((wxColour
&) result
);
11198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11206 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxColourData
*arg1
= (wxColourData
*) 0 ;
11210 PyObject
* obj0
= 0 ;
11211 PyObject
* obj1
= 0 ;
11212 char *kwnames
[] = {
11213 (char *) "self",(char *) "flag", NULL
11216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11219 arg2
= (int) SWIG_AsInt(obj1
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 (arg1
)->SetChooseFull(arg2
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11228 Py_INCREF(Py_None
); resultobj
= Py_None
;
11235 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11236 PyObject
*resultobj
;
11237 wxColourData
*arg1
= (wxColourData
*) 0 ;
11238 wxColour
*arg2
= 0 ;
11240 PyObject
* obj0
= 0 ;
11241 PyObject
* obj1
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self",(char *) "colour", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11251 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 (arg1
)->SetColour((wxColour
const &)*arg2
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 Py_INCREF(Py_None
); resultobj
= Py_None
;
11267 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxColourData
*arg1
= (wxColourData
*) 0 ;
11271 wxColour
*arg3
= 0 ;
11273 PyObject
* obj0
= 0 ;
11274 PyObject
* obj1
= 0 ;
11275 PyObject
* obj2
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self",(char *) "i",(char *) "colour", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11283 arg2
= (int) SWIG_AsInt(obj1
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11287 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 Py_INCREF(Py_None
); resultobj
= Py_None
;
11303 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11306 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11308 return Py_BuildValue((char *)"");
11310 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxWindow
*arg1
= (wxWindow
*) 0 ;
11313 wxColourData
*arg2
= (wxColourData
*) NULL
;
11314 wxColourDialog
*result
;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "parent",(char *) "data", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11329 if (!wxPyCheckForApp()) SWIG_fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11343 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11346 wxColourData
*result
;
11347 PyObject
* obj0
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "self", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11359 result
= (wxColourData
*) &_result_ref
;
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11372 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11375 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11377 return Py_BuildValue((char *)"");
11379 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxWindow
*arg1
= (wxWindow
*) 0 ;
11382 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11383 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11384 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11385 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11386 long arg4
= (long) 0 ;
11387 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11388 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11389 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11390 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11391 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11392 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11393 wxDirDialog
*result
;
11394 bool temp2
= False
;
11395 bool temp3
= False
;
11398 bool temp7
= False
;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 PyObject
* obj2
= 0 ;
11402 PyObject
* obj3
= 0 ;
11403 PyObject
* obj4
= 0 ;
11404 PyObject
* obj5
= 0 ;
11405 PyObject
* obj6
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11415 arg2
= wxString_in_helper(obj1
);
11416 if (arg2
== NULL
) SWIG_fail
;
11422 arg3
= wxString_in_helper(obj2
);
11423 if (arg3
== NULL
) SWIG_fail
;
11428 arg4
= (long) SWIG_AsLong(obj3
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11434 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11440 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11445 arg7
= wxString_in_helper(obj6
);
11446 if (arg7
== NULL
) SWIG_fail
;
11451 if (!wxPyCheckForApp()) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11489 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11493 PyObject
* obj0
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "self", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (arg1
)->GetPath();
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11521 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (arg1
)->GetMessage();
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11553 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
;
11555 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11557 PyObject
* obj0
= 0 ;
11558 char *kwnames
[] = {
11559 (char *) "self", NULL
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (long)(arg1
)->GetStyle();
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= SWIG_FromLong((long)result
);
11579 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11582 wxString
*arg2
= 0 ;
11583 bool temp2
= False
;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self",(char *) "message", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11594 arg2
= wxString_in_helper(obj1
);
11595 if (arg2
== NULL
) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 (arg1
)->SetMessage((wxString
const &)*arg2
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 Py_INCREF(Py_None
); resultobj
= Py_None
;
11620 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11623 wxString
*arg2
= 0 ;
11624 bool temp2
= False
;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self",(char *) "path", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11635 arg2
= wxString_in_helper(obj1
);
11636 if (arg2
== NULL
) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 (arg1
)->SetPath((wxString
const &)*arg2
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 Py_INCREF(Py_None
); resultobj
= Py_None
;
11661 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11664 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11666 return Py_BuildValue((char *)"");
11668 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 wxWindow
*arg1
= (wxWindow
*) 0 ;
11671 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11672 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11673 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11674 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11675 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11676 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11677 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11678 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11679 long arg6
= (long) 0 ;
11680 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11681 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11682 wxFileDialog
*result
;
11683 bool temp2
= False
;
11684 bool temp3
= False
;
11685 bool temp4
= False
;
11686 bool temp5
= False
;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11690 PyObject
* obj2
= 0 ;
11691 PyObject
* obj3
= 0 ;
11692 PyObject
* obj4
= 0 ;
11693 PyObject
* obj5
= 0 ;
11694 PyObject
* obj6
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11704 arg2
= wxString_in_helper(obj1
);
11705 if (arg2
== NULL
) SWIG_fail
;
11711 arg3
= wxString_in_helper(obj2
);
11712 if (arg3
== NULL
) SWIG_fail
;
11718 arg4
= wxString_in_helper(obj3
);
11719 if (arg4
== NULL
) SWIG_fail
;
11725 arg5
= wxString_in_helper(obj4
);
11726 if (arg5
== NULL
) SWIG_fail
;
11731 arg6
= (long) SWIG_AsLong(obj5
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11737 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11741 if (!wxPyCheckForApp()) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11787 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
;
11789 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11790 wxString
*arg2
= 0 ;
11791 bool temp2
= False
;
11792 PyObject
* obj0
= 0 ;
11793 PyObject
* obj1
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "self",(char *) "message", NULL
11798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11802 arg2
= wxString_in_helper(obj1
);
11803 if (arg2
== NULL
) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 (arg1
)->SetMessage((wxString
const &)*arg2
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 Py_INCREF(Py_None
); resultobj
= Py_None
;
11828 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
;
11830 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11831 wxString
*arg2
= 0 ;
11832 bool temp2
= False
;
11833 PyObject
* obj0
= 0 ;
11834 PyObject
* obj1
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "self",(char *) "path", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11843 arg2
= wxString_in_helper(obj1
);
11844 if (arg2
== NULL
) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 (arg1
)->SetPath((wxString
const &)*arg2
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 Py_INCREF(Py_None
); resultobj
= Py_None
;
11869 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
;
11871 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11872 wxString
*arg2
= 0 ;
11873 bool temp2
= False
;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 char *kwnames
[] = {
11877 (char *) "self",(char *) "dir", NULL
11880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11884 arg2
= wxString_in_helper(obj1
);
11885 if (arg2
== NULL
) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 Py_INCREF(Py_None
); resultobj
= Py_None
;
11910 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11913 wxString
*arg2
= 0 ;
11914 bool temp2
= False
;
11915 PyObject
* obj0
= 0 ;
11916 PyObject
* obj1
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "self",(char *) "name", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11925 arg2
= wxString_in_helper(obj1
);
11926 if (arg2
== NULL
) SWIG_fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 (arg1
)->SetFilename((wxString
const &)*arg2
);
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 Py_INCREF(Py_None
); resultobj
= Py_None
;
11951 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11954 wxString
*arg2
= 0 ;
11955 bool temp2
= False
;
11956 PyObject
* obj0
= 0 ;
11957 PyObject
* obj1
= 0 ;
11958 char *kwnames
[] = {
11959 (char *) "self",(char *) "wildCard", NULL
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11966 arg2
= wxString_in_helper(obj1
);
11967 if (arg2
== NULL
) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 Py_INCREF(Py_None
); resultobj
= Py_None
;
11992 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "style", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12005 arg2
= (long) SWIG_AsLong(obj1
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 (arg1
)->SetStyle(arg2
);
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 Py_INCREF(Py_None
); resultobj
= Py_None
;
12021 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self",(char *) "filterIndex", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12034 arg2
= (int) SWIG_AsInt(obj1
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 (arg1
)->SetFilterIndex(arg2
);
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 Py_INCREF(Py_None
); resultobj
= Py_None
;
12050 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12054 PyObject
* obj0
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12082 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12086 PyObject
* obj0
= 0 ;
12087 char *kwnames
[] = {
12088 (char *) "self", NULL
12091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12114 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12146 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12150 PyObject
* obj0
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12178 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12210 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 char *kwnames
[] = {
12216 (char *) "self", NULL
12219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= SWIG_FromLong((long)result
);
12236 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12240 PyObject
* obj0
= 0 ;
12241 char *kwnames
[] = {
12242 (char *) "self", NULL
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= SWIG_FromInt((int)result
);
12262 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12266 PyObject
* obj0
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= result
;
12288 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
;
12290 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12292 PyObject
* obj0
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= result
;
12314 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12317 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12319 return Py_BuildValue((char *)"");
12321 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxWindow
*arg1
= (wxWindow
*) 0 ;
12324 wxString
*arg2
= 0 ;
12325 wxString
*arg3
= 0 ;
12326 int arg4
= (int) 0 ;
12327 wxString
*arg5
= (wxString
*) NULL
;
12328 long arg6
= (long) wxCHOICEDLG_STYLE
;
12329 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12330 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12331 wxMultiChoiceDialog
*result
;
12332 bool temp2
= False
;
12333 bool temp3
= False
;
12335 PyObject
* obj0
= 0 ;
12336 PyObject
* obj1
= 0 ;
12337 PyObject
* obj2
= 0 ;
12338 PyObject
* obj3
= 0 ;
12339 PyObject
* obj4
= 0 ;
12340 PyObject
* obj5
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12349 arg2
= wxString_in_helper(obj1
);
12350 if (arg2
== NULL
) SWIG_fail
;
12354 arg3
= wxString_in_helper(obj2
);
12355 if (arg3
== NULL
) SWIG_fail
;
12360 arg4
= PyList_Size(obj3
);
12361 arg5
= wxString_LIST_helper(obj3
);
12362 if (arg5
== NULL
) SWIG_fail
;
12366 arg6
= (long) SWIG_AsLong(obj4
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12372 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12376 if (!wxPyCheckForApp()) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12393 if (arg5
) delete [] arg5
;
12406 if (arg5
) delete [] arg5
;
12412 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
;
12414 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12415 wxArrayInt
*arg2
= 0 ;
12416 bool temp2
= False
;
12417 PyObject
* obj0
= 0 ;
12418 PyObject
* obj1
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self",(char *) "selections", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12427 if (! PySequence_Check(obj1
)) {
12428 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12431 arg2
= new wxArrayInt
;
12433 int i
, len
=PySequence_Length(obj1
);
12434 for (i
=0; i
<len
; i
++) {
12435 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12436 PyObject
* number
= PyNumber_Int(item
);
12437 arg2
->Add(PyInt_AS_LONG(number
));
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 Py_INCREF(Py_None
); resultobj
= Py_None
;
12451 if (temp2
) delete arg2
;
12456 if (temp2
) delete arg2
;
12462 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12466 PyObject
* obj0
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= result
;
12488 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12491 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12493 return Py_BuildValue((char *)"");
12495 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxWindow
*arg1
= (wxWindow
*) 0 ;
12498 wxString
*arg2
= 0 ;
12499 wxString
*arg3
= 0 ;
12501 wxString
*arg5
= (wxString
*) 0 ;
12502 long arg6
= (long) wxCHOICEDLG_STYLE
;
12503 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12504 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12505 wxSingleChoiceDialog
*result
;
12506 bool temp2
= False
;
12507 bool temp3
= False
;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 PyObject
* obj2
= 0 ;
12512 PyObject
* obj3
= 0 ;
12513 PyObject
* obj4
= 0 ;
12514 PyObject
* obj5
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 arg2
= wxString_in_helper(obj1
);
12524 if (arg2
== NULL
) SWIG_fail
;
12528 arg3
= wxString_in_helper(obj2
);
12529 if (arg3
== NULL
) SWIG_fail
;
12533 arg4
= PyList_Size(obj3
);
12534 arg5
= wxString_LIST_helper(obj3
);
12535 if (arg5
== NULL
) SWIG_fail
;
12538 arg6
= (long) SWIG_AsLong(obj4
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12544 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12548 if (!wxPyCheckForApp()) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12565 if (arg5
) delete [] arg5
;
12578 if (arg5
) delete [] arg5
;
12584 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12588 PyObject
* obj0
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (int)(arg1
)->GetSelection();
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_FromInt((int)result
);
12610 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (arg1
)->GetStringSelection();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12642 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 PyObject
* obj1
= 0 ;
12648 char *kwnames
[] = {
12649 (char *) "self",(char *) "sel", NULL
12652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12655 arg2
= (int) SWIG_AsInt(obj1
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 (arg1
)->SetSelection(arg2
);
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 Py_INCREF(Py_None
); resultobj
= Py_None
;
12671 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12674 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12676 return Py_BuildValue((char *)"");
12678 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxWindow
*arg1
= (wxWindow
*) 0 ;
12681 wxString
*arg2
= 0 ;
12682 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12683 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12684 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12685 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12686 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12687 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12688 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12689 wxTextEntryDialog
*result
;
12690 bool temp2
= False
;
12691 bool temp3
= False
;
12692 bool temp4
= False
;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 PyObject
* obj3
= 0 ;
12698 PyObject
* obj4
= 0 ;
12699 PyObject
* obj5
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12708 arg2
= wxString_in_helper(obj1
);
12709 if (arg2
== NULL
) SWIG_fail
;
12714 arg3
= wxString_in_helper(obj2
);
12715 if (arg3
== NULL
) SWIG_fail
;
12721 arg4
= wxString_in_helper(obj3
);
12722 if (arg4
== NULL
) SWIG_fail
;
12727 arg5
= (long) SWIG_AsLong(obj4
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12733 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12737 if (!wxPyCheckForApp()) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12775 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12779 PyObject
* obj0
= 0 ;
12780 char *kwnames
[] = {
12781 (char *) "self", NULL
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (arg1
)->GetValue();
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12807 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12810 wxString
*arg2
= 0 ;
12811 bool temp2
= False
;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self",(char *) "value", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12822 arg2
= wxString_in_helper(obj1
);
12823 if (arg2
== NULL
) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 (arg1
)->SetValue((wxString
const &)*arg2
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 Py_INCREF(Py_None
); resultobj
= Py_None
;
12848 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12851 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12853 return Py_BuildValue((char *)"");
12855 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxFontData
*result
;
12858 char *kwnames
[] = {
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 result
= (wxFontData
*)new wxFontData();
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12877 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxFontData
*arg1
= (wxFontData
*) 0 ;
12880 PyObject
* obj0
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 Py_INCREF(Py_None
); resultobj
= Py_None
;
12902 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
;
12904 wxFontData
*arg1
= (wxFontData
*) 0 ;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self",(char *) "enable", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12915 arg2
= (bool) SWIG_AsBool(obj1
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 (arg1
)->EnableEffects(arg2
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 Py_INCREF(Py_None
); resultobj
= Py_None
;
12931 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxFontData
*arg1
= (wxFontData
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (bool)(arg1
)->GetAllowSymbols();
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12959 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxFontData
*arg1
= (wxFontData
*) 0 ;
12963 PyObject
* obj0
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (arg1
)->GetColour();
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12979 wxColour
* resultptr
;
12980 resultptr
= new wxColour((wxColour
&) result
);
12981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12989 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxFontData
*arg1
= (wxFontData
*) 0 ;
12993 PyObject
* obj0
= 0 ;
12994 char *kwnames
[] = {
12995 (char *) "self", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (arg1
)->GetChosenFont();
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13009 wxFont
* resultptr
;
13010 resultptr
= new wxFont((wxFont
&) result
);
13011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13019 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxFontData
*arg1
= (wxFontData
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 result
= (bool)(arg1
)->GetEnableEffects();
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13047 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
;
13049 wxFontData
*arg1
= (wxFontData
*) 0 ;
13051 PyObject
* obj0
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (arg1
)->GetInitialFont();
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 wxFont
* resultptr
;
13068 resultptr
= new wxFont((wxFont
&) result
);
13069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13077 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxFontData
*arg1
= (wxFontData
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (bool)(arg1
)->GetShowHelp();
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13105 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
;
13107 wxFontData
*arg1
= (wxFontData
*) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 PyObject
* obj1
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "self",(char *) "allowSymbols", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13118 arg2
= (bool) SWIG_AsBool(obj1
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 (arg1
)->SetAllowSymbols(arg2
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 Py_INCREF(Py_None
); resultobj
= Py_None
;
13134 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
;
13136 wxFontData
*arg1
= (wxFontData
*) 0 ;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self",(char *) "font", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13150 if (arg2
== NULL
) {
13151 PyErr_SetString(PyExc_TypeError
,"null reference");
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 Py_INCREF(Py_None
); resultobj
= Py_None
;
13168 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13169 PyObject
*resultobj
;
13170 wxFontData
*arg1
= (wxFontData
*) 0 ;
13171 wxColour
*arg2
= 0 ;
13173 PyObject
* obj0
= 0 ;
13174 PyObject
* obj1
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self",(char *) "colour", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 (arg1
)->SetColour((wxColour
const &)*arg2
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 Py_INCREF(Py_None
); resultobj
= Py_None
;
13200 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxFontData
*arg1
= (wxFontData
*) 0 ;
13204 PyObject
* obj0
= 0 ;
13205 PyObject
* obj1
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self",(char *) "font", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13216 if (arg2
== NULL
) {
13217 PyErr_SetString(PyExc_TypeError
,"null reference");
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 Py_INCREF(Py_None
); resultobj
= Py_None
;
13234 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxFontData
*arg1
= (wxFontData
*) 0 ;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 PyObject
* obj2
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self",(char *) "min",(char *) "max", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13249 arg2
= (int) SWIG_AsInt(obj1
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13251 arg3
= (int) SWIG_AsInt(obj2
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 (arg1
)->SetRange(arg2
,arg3
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 Py_INCREF(Py_None
); resultobj
= Py_None
;
13267 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxFontData
*arg1
= (wxFontData
*) 0 ;
13271 PyObject
* obj0
= 0 ;
13272 PyObject
* obj1
= 0 ;
13273 char *kwnames
[] = {
13274 (char *) "self",(char *) "showHelp", NULL
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13280 arg2
= (bool) SWIG_AsBool(obj1
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 (arg1
)->SetShowHelp(arg2
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 Py_INCREF(Py_None
); resultobj
= Py_None
;
13296 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13299 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13301 return Py_BuildValue((char *)"");
13303 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxWindow
*arg1
= (wxWindow
*) 0 ;
13306 wxFontData
*arg2
= 0 ;
13307 wxFontDialog
*result
;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "parent",(char *) "data", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13320 if (arg2
== NULL
) {
13321 PyErr_SetString(PyExc_TypeError
,"null reference");
13325 if (!wxPyCheckForApp()) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13339 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13342 wxFontData
*result
;
13343 PyObject
* obj0
= 0 ;
13344 char *kwnames
[] = {
13345 (char *) "self", NULL
13348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13355 result
= (wxFontData
*) &_result_ref
;
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13368 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13371 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13373 return Py_BuildValue((char *)"");
13375 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxWindow
*arg1
= (wxWindow
*) 0 ;
13378 wxString
*arg2
= 0 ;
13379 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13380 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13381 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13382 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13383 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13384 wxMessageDialog
*result
;
13385 bool temp2
= False
;
13386 bool temp3
= False
;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13390 PyObject
* obj2
= 0 ;
13391 PyObject
* obj3
= 0 ;
13392 PyObject
* obj4
= 0 ;
13393 char *kwnames
[] = {
13394 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13401 arg2
= wxString_in_helper(obj1
);
13402 if (arg2
== NULL
) SWIG_fail
;
13407 arg3
= wxString_in_helper(obj2
);
13408 if (arg3
== NULL
) SWIG_fail
;
13413 arg4
= (long) SWIG_AsLong(obj3
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13419 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13423 if (!wxPyCheckForApp()) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13453 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13456 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13458 return Py_BuildValue((char *)"");
13460 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxString
*arg1
= 0 ;
13463 wxString
*arg2
= 0 ;
13464 int arg3
= (int) 100 ;
13465 wxWindow
*arg4
= (wxWindow
*) NULL
;
13466 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13467 wxProgressDialog
*result
;
13468 bool temp1
= False
;
13469 bool temp2
= False
;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 PyObject
* obj2
= 0 ;
13473 PyObject
* obj3
= 0 ;
13474 PyObject
* obj4
= 0 ;
13475 char *kwnames
[] = {
13476 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13481 arg1
= wxString_in_helper(obj0
);
13482 if (arg1
== NULL
) SWIG_fail
;
13486 arg2
= wxString_in_helper(obj1
);
13487 if (arg2
== NULL
) SWIG_fail
;
13491 arg3
= (int) SWIG_AsInt(obj2
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13495 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13499 arg5
= (int) SWIG_AsInt(obj4
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13503 if (!wxPyCheckForApp()) SWIG_fail
;
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13533 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13537 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13538 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13540 bool temp3
= False
;
13541 PyObject
* obj0
= 0 ;
13542 PyObject
* obj1
= 0 ;
13543 PyObject
* obj2
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13551 arg2
= (int) SWIG_AsInt(obj1
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13555 arg3
= wxString_in_helper(obj2
);
13556 if (arg3
== NULL
) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13584 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 char *kwnames
[] = {
13589 (char *) "self", NULL
13592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13602 Py_INCREF(Py_None
); resultobj
= Py_None
;
13609 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13612 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13614 return Py_BuildValue((char *)"");
13616 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13619 int arg2
= (int) 0 ;
13620 wxFindDialogEvent
*result
;
13621 PyObject
* obj0
= 0 ;
13622 PyObject
* obj1
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "commandType",(char *) "id", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13629 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 arg2
= (int) SWIG_AsInt(obj1
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13650 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 char *kwnames
[] = {
13656 (char *) "self", NULL
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (int)(arg1
)->GetFlags();
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= SWIG_FromInt((int)result
);
13676 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "self", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 wxString
const &_result_ref
= (arg1
)->GetFindString();
13692 result
= (wxString
*) &_result_ref
;
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13702 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13711 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
;
13713 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13715 PyObject
* obj0
= 0 ;
13716 char *kwnames
[] = {
13717 (char *) "self", NULL
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13727 result
= (wxString
*) &_result_ref
;
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13737 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13746 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13749 wxFindReplaceDialog
*result
;
13750 PyObject
* obj0
= 0 ;
13751 char *kwnames
[] = {
13752 (char *) "self", NULL
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13772 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
;
13774 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13776 PyObject
* obj0
= 0 ;
13777 PyObject
* obj1
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self",(char *) "flags", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13785 arg2
= (int) SWIG_AsInt(obj1
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 (arg1
)->SetFlags(arg2
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 Py_INCREF(Py_None
); resultobj
= Py_None
;
13801 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13804 wxString
*arg2
= 0 ;
13805 bool temp2
= False
;
13806 PyObject
* obj0
= 0 ;
13807 PyObject
* obj1
= 0 ;
13808 char *kwnames
[] = {
13809 (char *) "self",(char *) "str", NULL
13812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13816 arg2
= wxString_in_helper(obj1
);
13817 if (arg2
== NULL
) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 (arg1
)->SetFindString((wxString
const &)*arg2
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 Py_INCREF(Py_None
); resultobj
= Py_None
;
13842 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13845 wxString
*arg2
= 0 ;
13846 bool temp2
= False
;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self",(char *) "str", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13857 arg2
= wxString_in_helper(obj1
);
13858 if (arg2
== NULL
) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 Py_INCREF(Py_None
); resultobj
= Py_None
;
13883 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13886 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13888 return Py_BuildValue((char *)"");
13890 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
;
13892 int arg1
= (int) 0 ;
13893 wxFindReplaceData
*result
;
13894 PyObject
* obj0
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "flags", NULL
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13901 arg1
= (int) SWIG_AsInt(obj0
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13918 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
;
13920 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13921 PyObject
* obj0
= 0 ;
13922 char *kwnames
[] = {
13923 (char *) "self", NULL
13926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 Py_INCREF(Py_None
); resultobj
= Py_None
;
13943 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13947 PyObject
* obj0
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "self", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 wxString
const &_result_ref
= (arg1
)->GetFindString();
13959 result
= (wxString
*) &_result_ref
;
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13969 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13978 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13982 PyObject
* obj0
= 0 ;
13983 char *kwnames
[] = {
13984 (char *) "self", NULL
13987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13994 result
= (wxString
*) &_result_ref
;
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14004 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14013 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
;
14015 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14017 PyObject
* obj0
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= (int)(arg1
)->GetFlags();
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= SWIG_FromInt((int)result
);
14039 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
;
14041 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14043 PyObject
* obj0
= 0 ;
14044 PyObject
* obj1
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self",(char *) "flags", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14052 arg2
= (int) SWIG_AsInt(obj1
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 (arg1
)->SetFlags(arg2
);
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 Py_INCREF(Py_None
); resultobj
= Py_None
;
14068 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
;
14070 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14071 wxString
*arg2
= 0 ;
14072 bool temp2
= False
;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self",(char *) "str", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14083 arg2
= wxString_in_helper(obj1
);
14084 if (arg2
== NULL
) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 (arg1
)->SetFindString((wxString
const &)*arg2
);
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 Py_INCREF(Py_None
); resultobj
= Py_None
;
14109 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
;
14111 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14112 wxString
*arg2
= 0 ;
14113 bool temp2
= False
;
14114 PyObject
* obj0
= 0 ;
14115 PyObject
* obj1
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self",(char *) "str", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14124 arg2
= wxString_in_helper(obj1
);
14125 if (arg2
== NULL
) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 Py_INCREF(Py_None
); resultobj
= Py_None
;
14150 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14153 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14155 return Py_BuildValue((char *)"");
14157 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxWindow
*arg1
= (wxWindow
*) 0 ;
14160 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14161 wxString
*arg3
= 0 ;
14162 int arg4
= (int) 0 ;
14163 wxFindReplaceDialog
*result
;
14164 bool temp3
= False
;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 PyObject
* obj2
= 0 ;
14168 PyObject
* obj3
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14179 arg3
= wxString_in_helper(obj2
);
14180 if (arg3
== NULL
) SWIG_fail
;
14184 arg4
= (int) SWIG_AsInt(obj3
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14188 if (!wxPyCheckForApp()) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14210 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxFindReplaceDialog
*result
;
14213 char *kwnames
[] = {
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14219 if (!wxPyCheckForApp()) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14233 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14234 PyObject
*resultobj
;
14235 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14236 wxWindow
*arg2
= (wxWindow
*) 0 ;
14237 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14238 wxString
*arg4
= 0 ;
14239 int arg5
= (int) 0 ;
14241 bool temp4
= False
;
14242 PyObject
* obj0
= 0 ;
14243 PyObject
* obj1
= 0 ;
14244 PyObject
* obj2
= 0 ;
14245 PyObject
* obj3
= 0 ;
14246 PyObject
* obj4
= 0 ;
14247 char *kwnames
[] = {
14248 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14256 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14259 arg4
= wxString_in_helper(obj3
);
14260 if (arg4
== NULL
) SWIG_fail
;
14264 arg5
= (int) SWIG_AsInt(obj4
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14291 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14294 wxFindReplaceData
*result
;
14295 PyObject
* obj0
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14317 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
;
14319 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14320 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "self",(char *) "data", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 (arg1
)->SetData(arg2
);
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 Py_INCREF(Py_None
); resultobj
= Py_None
;
14346 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14349 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14351 return Py_BuildValue((char *)"");
14353 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxWindow
*arg1
= (wxWindow
*) 0 ;
14356 int arg2
= (int) (int)-1 ;
14357 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14358 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14359 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14360 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14361 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14362 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14363 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14364 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14365 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14366 wxMDIParentFrame
*result
;
14367 bool temp3
= False
;
14370 bool temp7
= False
;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 PyObject
* obj2
= 0 ;
14374 PyObject
* obj3
= 0 ;
14375 PyObject
* obj4
= 0 ;
14376 PyObject
* obj5
= 0 ;
14377 PyObject
* obj6
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14386 arg2
= (int const) SWIG_AsInt(obj1
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14391 arg3
= wxString_in_helper(obj2
);
14392 if (arg3
== NULL
) SWIG_fail
;
14399 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14405 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14409 arg6
= (long) SWIG_AsLong(obj5
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14414 arg7
= wxString_in_helper(obj6
);
14415 if (arg7
== NULL
) SWIG_fail
;
14420 if (!wxPyCheckForApp()) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14450 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxMDIParentFrame
*result
;
14453 char *kwnames
[] = {
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14459 if (!wxPyCheckForApp()) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14473 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14476 wxWindow
*arg2
= (wxWindow
*) 0 ;
14477 int arg3
= (int) (int)-1 ;
14478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14480 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14481 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14482 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14483 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14484 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14485 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14486 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14488 bool temp4
= False
;
14491 bool temp8
= False
;
14492 PyObject
* obj0
= 0 ;
14493 PyObject
* obj1
= 0 ;
14494 PyObject
* obj2
= 0 ;
14495 PyObject
* obj3
= 0 ;
14496 PyObject
* obj4
= 0 ;
14497 PyObject
* obj5
= 0 ;
14498 PyObject
* obj6
= 0 ;
14499 PyObject
* obj7
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14510 arg3
= (int const) SWIG_AsInt(obj2
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14515 arg4
= wxString_in_helper(obj3
);
14516 if (arg4
== NULL
) SWIG_fail
;
14523 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14529 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14533 arg7
= (long) SWIG_AsLong(obj6
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14538 arg8
= wxString_in_helper(obj7
);
14539 if (arg8
== NULL
) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14575 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 (arg1
)->ActivateNext();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 Py_INCREF(Py_None
); resultobj
= Py_None
;
14600 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 (arg1
)->ActivatePrevious();
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 Py_INCREF(Py_None
); resultobj
= Py_None
;
14625 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14628 PyObject
* obj0
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 (arg1
)->ArrangeIcons();
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 Py_INCREF(Py_None
); resultobj
= Py_None
;
14650 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
;
14652 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14653 PyObject
* obj0
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14668 Py_INCREF(Py_None
); resultobj
= Py_None
;
14675 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14678 wxMDIChildFrame
*result
;
14679 PyObject
* obj0
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= wxPyMake_wxObject(result
, 0);
14703 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14706 wxMDIClientWindow
*result
;
14707 PyObject
* obj0
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= wxPyMake_wxObject(result
, 0);
14731 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (wxWindow
*)(arg1
)->GetToolBar();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= wxPyMake_wxObject(result
, 0);
14759 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 Py_INCREF(Py_None
); resultobj
= Py_None
;
14784 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14787 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14789 return Py_BuildValue((char *)"");
14791 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14794 int arg2
= (int) (int)-1 ;
14795 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14796 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14797 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14798 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14799 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14800 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14801 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14802 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14803 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14804 wxMDIChildFrame
*result
;
14805 bool temp3
= False
;
14808 bool temp7
= False
;
14809 PyObject
* obj0
= 0 ;
14810 PyObject
* obj1
= 0 ;
14811 PyObject
* obj2
= 0 ;
14812 PyObject
* obj3
= 0 ;
14813 PyObject
* obj4
= 0 ;
14814 PyObject
* obj5
= 0 ;
14815 PyObject
* obj6
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14824 arg2
= (int const) SWIG_AsInt(obj1
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14829 arg3
= wxString_in_helper(obj2
);
14830 if (arg3
== NULL
) SWIG_fail
;
14837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14847 arg6
= (long) SWIG_AsLong(obj5
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14852 arg7
= wxString_in_helper(obj6
);
14853 if (arg7
== NULL
) SWIG_fail
;
14858 if (!wxPyCheckForApp()) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= wxPyMake_wxObject(result
, 1);
14890 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxMDIChildFrame
*result
;
14893 char *kwnames
[] = {
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14899 if (!wxPyCheckForApp()) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= wxPyMake_wxObject(result
, 1);
14915 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14918 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14919 int arg3
= (int) (int)-1 ;
14920 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14921 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14922 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14923 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14924 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14925 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14926 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14927 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14928 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14930 bool temp4
= False
;
14933 bool temp8
= False
;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 PyObject
* obj2
= 0 ;
14937 PyObject
* obj3
= 0 ;
14938 PyObject
* obj4
= 0 ;
14939 PyObject
* obj5
= 0 ;
14940 PyObject
* obj6
= 0 ;
14941 PyObject
* obj7
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14952 arg3
= (int const) SWIG_AsInt(obj2
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14957 arg4
= wxString_in_helper(obj3
);
14958 if (arg4
== NULL
) SWIG_fail
;
14965 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14971 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14975 arg7
= (long) SWIG_AsLong(obj6
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14980 arg8
= wxString_in_helper(obj7
);
14981 if (arg8
== NULL
) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15017 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15020 PyObject
* obj0
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "self", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 (arg1
)->Activate();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 Py_INCREF(Py_None
); resultobj
= Py_None
;
15042 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15046 PyObject
* obj0
= 0 ;
15047 PyObject
* obj1
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self",(char *) "maximize", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15055 arg2
= (bool) SWIG_AsBool(obj1
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 (arg1
)->Maximize(arg2
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 Py_INCREF(Py_None
); resultobj
= Py_None
;
15071 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15074 PyObject
* obj0
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 Py_INCREF(Py_None
); resultobj
= Py_None
;
15096 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15099 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15101 return Py_BuildValue((char *)"");
15103 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15106 long arg2
= (long) 0 ;
15107 wxMDIClientWindow
*result
;
15108 PyObject
* obj0
= 0 ;
15109 PyObject
* obj1
= 0 ;
15110 char *kwnames
[] = {
15111 (char *) "parent",(char *) "style", NULL
15114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15118 arg2
= (long) SWIG_AsLong(obj1
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15122 if (!wxPyCheckForApp()) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15130 resultobj
= wxPyMake_wxObject(result
, 1);
15138 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
;
15140 wxMDIClientWindow
*result
;
15141 char *kwnames
[] = {
15145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15147 if (!wxPyCheckForApp()) SWIG_fail
;
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= wxPyMake_wxObject(result
, 1);
15163 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15166 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15167 long arg3
= (long) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 PyObject
* obj1
= 0 ;
15171 PyObject
* obj2
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self",(char *) "parent",(char *) "style", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15182 arg3
= (long) SWIG_AsLong(obj2
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15201 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15204 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15206 return Py_BuildValue((char *)"");
15208 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxWindow
*arg1
= (wxWindow
*) 0 ;
15211 int arg2
= (int) (int)-1 ;
15212 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15213 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15214 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15215 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15216 long arg5
= (long) 0 ;
15217 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15218 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15219 wxPyWindow
*result
;
15222 bool temp6
= False
;
15223 PyObject
* obj0
= 0 ;
15224 PyObject
* obj1
= 0 ;
15225 PyObject
* obj2
= 0 ;
15226 PyObject
* obj3
= 0 ;
15227 PyObject
* obj4
= 0 ;
15228 PyObject
* obj5
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15237 arg2
= (int const) SWIG_AsInt(obj1
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15243 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15249 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15253 arg5
= (long) SWIG_AsLong(obj4
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15258 arg6
= wxString_in_helper(obj5
);
15259 if (arg6
== NULL
) SWIG_fail
;
15264 if (!wxPyCheckForApp()) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15286 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxPyWindow
*result
;
15289 char *kwnames
[] = {
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15295 if (!wxPyCheckForApp()) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 result
= (wxPyWindow
*)new wxPyWindow();
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15309 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15312 PyObject
*arg2
= (PyObject
*) 0 ;
15313 PyObject
*arg3
= (PyObject
*) 0 ;
15314 PyObject
* obj0
= 0 ;
15315 PyObject
* obj1
= 0 ;
15316 PyObject
* obj2
= 0 ;
15317 char *kwnames
[] = {
15318 (char *) "self",(char *) "self",(char *) "_class", NULL
15321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 Py_INCREF(Py_None
); resultobj
= Py_None
;
15340 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 PyObject
* obj1
= 0 ;
15347 char *kwnames
[] = {
15348 (char *) "self",(char *) "size", NULL
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15356 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 Py_INCREF(Py_None
); resultobj
= Py_None
;
15372 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 PyObject
* obj2
= 0 ;
15382 PyObject
* obj3
= 0 ;
15383 PyObject
* obj4
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15391 arg2
= (int) SWIG_AsInt(obj1
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15393 arg3
= (int) SWIG_AsInt(obj2
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15395 arg4
= (int) SWIG_AsInt(obj3
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15397 arg5
= (int) SWIG_AsInt(obj4
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 Py_INCREF(Py_None
); resultobj
= Py_None
;
15413 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15420 int arg6
= (int) wxSIZE_AUTO
;
15421 PyObject
* obj0
= 0 ;
15422 PyObject
* obj1
= 0 ;
15423 PyObject
* obj2
= 0 ;
15424 PyObject
* obj3
= 0 ;
15425 PyObject
* obj4
= 0 ;
15426 PyObject
* obj5
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15434 arg2
= (int) SWIG_AsInt(obj1
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15436 arg3
= (int) SWIG_AsInt(obj2
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15438 arg4
= (int) SWIG_AsInt(obj3
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15440 arg5
= (int) SWIG_AsInt(obj4
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 arg6
= (int) SWIG_AsInt(obj5
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 Py_INCREF(Py_None
); resultobj
= Py_None
;
15460 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 PyObject
* obj2
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self",(char *) "width",(char *) "height", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 arg2
= (int) SWIG_AsInt(obj1
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15477 arg3
= (int) SWIG_AsInt(obj2
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 Py_INCREF(Py_None
); resultobj
= Py_None
;
15493 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 PyObject
* obj1
= 0 ;
15500 PyObject
* obj2
= 0 ;
15501 char *kwnames
[] = {
15502 (char *) "self",(char *) "x",(char *) "y", NULL
15505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15508 arg2
= (int) SWIG_AsInt(obj1
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15510 arg3
= (int) SWIG_AsInt(obj2
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 Py_INCREF(Py_None
); resultobj
= Py_None
;
15526 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15529 int *arg2
= (int *) 0 ;
15530 int *arg3
= (int *) 0 ;
15533 PyObject
* obj0
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 Py_INCREF(Py_None
); resultobj
= Py_None
;
15552 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15553 resultobj
= t_output_helper(resultobj
,o
);
15556 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15557 resultobj
= t_output_helper(resultobj
,o
);
15565 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15568 int *arg2
= (int *) 0 ;
15569 int *arg3
= (int *) 0 ;
15572 PyObject
* obj0
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "self", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 Py_INCREF(Py_None
); resultobj
= Py_None
;
15591 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15592 resultobj
= t_output_helper(resultobj
,o
);
15595 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15596 resultobj
= t_output_helper(resultobj
,o
);
15604 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15607 int *arg2
= (int *) 0 ;
15608 int *arg3
= (int *) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15628 Py_INCREF(Py_None
); resultobj
= Py_None
;
15630 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15631 resultobj
= t_output_helper(resultobj
,o
);
15634 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15635 resultobj
= t_output_helper(resultobj
,o
);
15643 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15647 PyObject
* obj0
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15663 wxSize
* resultptr
;
15664 resultptr
= new wxSize((wxSize
&) result
);
15665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15673 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
;
15675 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15693 wxSize
* resultptr
;
15694 resultptr
= new wxSize((wxSize
&) result
);
15695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15703 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 (arg1
)->base_InitDialog();
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 Py_INCREF(Py_None
); resultobj
= Py_None
;
15728 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (bool)(arg1
)->base_TransferDataToWindow();
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15756 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15784 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15788 PyObject
* obj0
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 result
= (bool)(arg1
)->base_Validate();
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15812 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15816 PyObject
* obj0
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "self", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15840 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
;
15842 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15844 PyObject
* obj0
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15868 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15888 wxSize
* resultptr
;
15889 resultptr
= new wxSize((wxSize
&) result
);
15890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15898 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15899 PyObject
*resultobj
;
15900 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15901 wxWindow
*arg2
= (wxWindow
*) 0 ;
15902 PyObject
* obj0
= 0 ;
15903 PyObject
* obj1
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self",(char *) "child", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 (arg1
)->base_AddChild(arg2
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 Py_INCREF(Py_None
); resultobj
= Py_None
;
15927 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
;
15929 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15930 wxWindow
*arg2
= (wxWindow
*) 0 ;
15931 PyObject
* obj0
= 0 ;
15932 PyObject
* obj1
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self",(char *) "child", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 (arg1
)->base_RemoveChild(arg2
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 Py_INCREF(Py_None
); resultobj
= Py_None
;
15956 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15984 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15987 wxColour
*arg2
= 0 ;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self",(char *) "c", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16000 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16009 Py_INCREF(Py_None
); resultobj
= Py_None
;
16016 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16019 wxVisualAttributes result
;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (arg1
)->base_GetDefaultAttributes();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16036 wxVisualAttributes
* resultptr
;
16037 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16046 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16049 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16051 return Py_BuildValue((char *)"");
16053 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxWindow
*arg1
= (wxWindow
*) 0 ;
16056 int arg2
= (int) (int)-1 ;
16057 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16058 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16059 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16060 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16061 long arg5
= (long) 0 ;
16062 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16063 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16067 bool temp6
= False
;
16068 PyObject
* obj0
= 0 ;
16069 PyObject
* obj1
= 0 ;
16070 PyObject
* obj2
= 0 ;
16071 PyObject
* obj3
= 0 ;
16072 PyObject
* obj4
= 0 ;
16073 PyObject
* obj5
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 arg2
= (int const) SWIG_AsInt(obj1
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16088 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16094 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16098 arg5
= (long) SWIG_AsLong(obj4
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16103 arg6
= wxString_in_helper(obj5
);
16104 if (arg6
== NULL
) SWIG_fail
;
16109 if (!wxPyCheckForApp()) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16131 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
;
16134 char *kwnames
[] = {
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16140 if (!wxPyCheckForApp()) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 result
= (wxPyPanel
*)new wxPyPanel();
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16154 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16157 PyObject
*arg2
= (PyObject
*) 0 ;
16158 PyObject
*arg3
= (PyObject
*) 0 ;
16159 PyObject
* obj0
= 0 ;
16160 PyObject
* obj1
= 0 ;
16161 PyObject
* obj2
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self",(char *) "self",(char *) "_class", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 Py_INCREF(Py_None
); resultobj
= Py_None
;
16185 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16190 PyObject
* obj0
= 0 ;
16191 PyObject
* obj1
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self",(char *) "size", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16205 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16207 wxPyEndAllowThreads(__tstate
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16210 Py_INCREF(Py_None
); resultobj
= Py_None
;
16217 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16224 PyObject
* obj0
= 0 ;
16225 PyObject
* obj1
= 0 ;
16226 PyObject
* obj2
= 0 ;
16227 PyObject
* obj3
= 0 ;
16228 PyObject
* obj4
= 0 ;
16229 char *kwnames
[] = {
16230 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16236 arg2
= (int) SWIG_AsInt(obj1
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16238 arg3
= (int) SWIG_AsInt(obj2
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16240 arg4
= (int) SWIG_AsInt(obj3
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16242 arg5
= (int) SWIG_AsInt(obj4
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 Py_INCREF(Py_None
); resultobj
= Py_None
;
16258 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
;
16260 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16265 int arg6
= (int) wxSIZE_AUTO
;
16266 PyObject
* obj0
= 0 ;
16267 PyObject
* obj1
= 0 ;
16268 PyObject
* obj2
= 0 ;
16269 PyObject
* obj3
= 0 ;
16270 PyObject
* obj4
= 0 ;
16271 PyObject
* obj5
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 arg2
= (int) SWIG_AsInt(obj1
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16281 arg3
= (int) SWIG_AsInt(obj2
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16283 arg4
= (int) SWIG_AsInt(obj3
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16285 arg5
= (int) SWIG_AsInt(obj4
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 arg6
= (int) SWIG_AsInt(obj5
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 Py_INCREF(Py_None
); resultobj
= Py_None
;
16305 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16310 PyObject
* obj0
= 0 ;
16311 PyObject
* obj1
= 0 ;
16312 PyObject
* obj2
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "self",(char *) "width",(char *) "height", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16320 arg2
= (int) SWIG_AsInt(obj1
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16322 arg3
= (int) SWIG_AsInt(obj2
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 Py_INCREF(Py_None
); resultobj
= Py_None
;
16338 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 PyObject
* obj2
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self",(char *) "x",(char *) "y", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16353 arg2
= (int) SWIG_AsInt(obj1
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16355 arg3
= (int) SWIG_AsInt(obj2
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16364 Py_INCREF(Py_None
); resultobj
= Py_None
;
16371 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16374 int *arg2
= (int *) 0 ;
16375 int *arg3
= (int *) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 Py_INCREF(Py_None
); resultobj
= Py_None
;
16397 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16398 resultobj
= t_output_helper(resultobj
,o
);
16401 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16402 resultobj
= t_output_helper(resultobj
,o
);
16410 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16411 PyObject
*resultobj
;
16412 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16413 int *arg2
= (int *) 0 ;
16414 int *arg3
= (int *) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16434 Py_INCREF(Py_None
); resultobj
= Py_None
;
16436 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16437 resultobj
= t_output_helper(resultobj
,o
);
16440 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16441 resultobj
= t_output_helper(resultobj
,o
);
16449 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16452 int *arg2
= (int *) 0 ;
16453 int *arg3
= (int *) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 char *kwnames
[] = {
16458 (char *) "self", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 Py_INCREF(Py_None
); resultobj
= Py_None
;
16475 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16476 resultobj
= t_output_helper(resultobj
,o
);
16479 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16480 resultobj
= t_output_helper(resultobj
,o
);
16488 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
;
16490 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16492 PyObject
* obj0
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "self", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16508 wxSize
* resultptr
;
16509 resultptr
= new wxSize((wxSize
&) result
);
16510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16518 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16522 PyObject
* obj0
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16538 wxSize
* resultptr
;
16539 resultptr
= new wxSize((wxSize
&) result
);
16540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16548 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 (arg1
)->base_InitDialog();
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 Py_INCREF(Py_None
); resultobj
= Py_None
;
16573 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
;
16575 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= (bool)(arg1
)->base_TransferDataToWindow();
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16601 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16629 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 result
= (bool)(arg1
)->base_Validate();
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16657 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16685 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16687 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16713 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16717 PyObject
* obj0
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "self", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16733 wxSize
* resultptr
;
16734 resultptr
= new wxSize((wxSize
&) result
);
16735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16743 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16746 wxWindow
*arg2
= (wxWindow
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self",(char *) "child", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 (arg1
)->base_AddChild(arg2
);
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 Py_INCREF(Py_None
); resultobj
= Py_None
;
16772 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16775 wxWindow
*arg2
= (wxWindow
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "child", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 (arg1
)->base_RemoveChild(arg2
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 Py_INCREF(Py_None
); resultobj
= Py_None
;
16801 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16829 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16832 wxColour
*arg2
= 0 ;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 char *kwnames
[] = {
16837 (char *) "self",(char *) "c", NULL
16840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16845 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 Py_INCREF(Py_None
); resultobj
= Py_None
;
16861 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16864 wxVisualAttributes result
;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (arg1
)->base_GetDefaultAttributes();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16881 wxVisualAttributes
* resultptr
;
16882 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16891 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16894 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16896 return Py_BuildValue((char *)"");
16898 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxWindow
*arg1
= (wxWindow
*) 0 ;
16901 int arg2
= (int) (int)-1 ;
16902 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16903 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16904 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16905 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16906 long arg5
= (long) 0 ;
16907 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16908 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16909 wxPyScrolledWindow
*result
;
16912 bool temp6
= False
;
16913 PyObject
* obj0
= 0 ;
16914 PyObject
* obj1
= 0 ;
16915 PyObject
* obj2
= 0 ;
16916 PyObject
* obj3
= 0 ;
16917 PyObject
* obj4
= 0 ;
16918 PyObject
* obj5
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16927 arg2
= (int const) SWIG_AsInt(obj1
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16933 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16939 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16943 arg5
= (long) SWIG_AsLong(obj4
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16948 arg6
= wxString_in_helper(obj5
);
16949 if (arg6
== NULL
) SWIG_fail
;
16954 if (!wxPyCheckForApp()) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16976 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxPyScrolledWindow
*result
;
16979 char *kwnames
[] = {
16983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16985 if (!wxPyCheckForApp()) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16999 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17002 PyObject
*arg2
= (PyObject
*) 0 ;
17003 PyObject
*arg3
= (PyObject
*) 0 ;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 PyObject
* obj2
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self",(char *) "self",(char *) "_class", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 Py_INCREF(Py_None
); resultobj
= Py_None
;
17030 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
;
17032 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17035 PyObject
* obj0
= 0 ;
17036 PyObject
* obj1
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self",(char *) "size", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17046 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 Py_INCREF(Py_None
); resultobj
= Py_None
;
17062 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17069 PyObject
* obj0
= 0 ;
17070 PyObject
* obj1
= 0 ;
17071 PyObject
* obj2
= 0 ;
17072 PyObject
* obj3
= 0 ;
17073 PyObject
* obj4
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17081 arg2
= (int) SWIG_AsInt(obj1
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17083 arg3
= (int) SWIG_AsInt(obj2
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17085 arg4
= (int) SWIG_AsInt(obj3
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17087 arg5
= (int) SWIG_AsInt(obj4
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 Py_INCREF(Py_None
); resultobj
= Py_None
;
17103 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17110 int arg6
= (int) wxSIZE_AUTO
;
17111 PyObject
* obj0
= 0 ;
17112 PyObject
* obj1
= 0 ;
17113 PyObject
* obj2
= 0 ;
17114 PyObject
* obj3
= 0 ;
17115 PyObject
* obj4
= 0 ;
17116 PyObject
* obj5
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17124 arg2
= (int) SWIG_AsInt(obj1
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17126 arg3
= (int) SWIG_AsInt(obj2
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17128 arg4
= (int) SWIG_AsInt(obj3
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17130 arg5
= (int) SWIG_AsInt(obj4
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 arg6
= (int) SWIG_AsInt(obj5
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 Py_INCREF(Py_None
); resultobj
= Py_None
;
17150 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17155 PyObject
* obj0
= 0 ;
17156 PyObject
* obj1
= 0 ;
17157 PyObject
* obj2
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "self",(char *) "width",(char *) "height", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17165 arg2
= (int) SWIG_AsInt(obj1
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17167 arg3
= (int) SWIG_AsInt(obj2
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 Py_INCREF(Py_None
); resultobj
= Py_None
;
17183 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17188 PyObject
* obj0
= 0 ;
17189 PyObject
* obj1
= 0 ;
17190 PyObject
* obj2
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self",(char *) "x",(char *) "y", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 arg2
= (int) SWIG_AsInt(obj1
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17200 arg3
= (int) SWIG_AsInt(obj2
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17209 Py_INCREF(Py_None
); resultobj
= Py_None
;
17216 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
;
17218 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17219 int *arg2
= (int *) 0 ;
17220 int *arg3
= (int *) 0 ;
17223 PyObject
* obj0
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17240 Py_INCREF(Py_None
); resultobj
= Py_None
;
17242 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17243 resultobj
= t_output_helper(resultobj
,o
);
17246 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17247 resultobj
= t_output_helper(resultobj
,o
);
17255 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17258 int *arg2
= (int *) 0 ;
17259 int *arg3
= (int *) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 Py_INCREF(Py_None
); resultobj
= Py_None
;
17281 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17282 resultobj
= t_output_helper(resultobj
,o
);
17285 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17286 resultobj
= t_output_helper(resultobj
,o
);
17294 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17297 int *arg2
= (int *) 0 ;
17298 int *arg3
= (int *) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 Py_INCREF(Py_None
); resultobj
= Py_None
;
17320 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17321 resultobj
= t_output_helper(resultobj
,o
);
17324 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17325 resultobj
= t_output_helper(resultobj
,o
);
17333 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "self", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 wxSize
* resultptr
;
17354 resultptr
= new wxSize((wxSize
&) result
);
17355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17363 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17365 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17367 PyObject
* obj0
= 0 ;
17368 char *kwnames
[] = {
17369 (char *) "self", NULL
17372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 wxSize
* resultptr
;
17384 resultptr
= new wxSize((wxSize
&) result
);
17385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17393 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
;
17395 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17396 PyObject
* obj0
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 (arg1
)->base_InitDialog();
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 Py_INCREF(Py_None
); resultobj
= Py_None
;
17418 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17422 PyObject
* obj0
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (bool)(arg1
)->base_TransferDataToWindow();
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17446 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17474 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17476 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17478 PyObject
* obj0
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 result
= (bool)(arg1
)->base_Validate();
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17502 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17506 PyObject
* obj0
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "self", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17530 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17534 PyObject
* obj0
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "self", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17558 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17562 PyObject
* obj0
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "self", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17578 wxSize
* resultptr
;
17579 resultptr
= new wxSize((wxSize
&) result
);
17580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17588 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17591 wxWindow
*arg2
= (wxWindow
*) 0 ;
17592 PyObject
* obj0
= 0 ;
17593 PyObject
* obj1
= 0 ;
17594 char *kwnames
[] = {
17595 (char *) "self",(char *) "child", NULL
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 (arg1
)->base_AddChild(arg2
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 Py_INCREF(Py_None
); resultobj
= Py_None
;
17617 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17620 wxWindow
*arg2
= (wxWindow
*) 0 ;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self",(char *) "child", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 (arg1
)->base_RemoveChild(arg2
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 Py_INCREF(Py_None
); resultobj
= Py_None
;
17646 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17650 PyObject
* obj0
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17674 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17677 wxColour
*arg2
= 0 ;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self",(char *) "c", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17690 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 Py_INCREF(Py_None
); resultobj
= Py_None
;
17706 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17709 wxVisualAttributes result
;
17710 PyObject
* obj0
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (arg1
)->base_GetDefaultAttributes();
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17726 wxVisualAttributes
* resultptr
;
17727 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17736 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17739 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17741 return Py_BuildValue((char *)"");
17743 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17744 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17749 static PyObject
*_wrap_PrintoutTitleStr_get() {
17754 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17756 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17763 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17764 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17769 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17774 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17776 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17783 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*self
, PyObject
*args
) {
17784 PyObject
*resultobj
;
17785 wxPrintData
*result
;
17787 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (wxPrintData
*)new wxPrintData();
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17802 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*self
, PyObject
*args
) {
17803 PyObject
*resultobj
;
17804 wxPrintData
*arg1
= 0 ;
17805 wxPrintData
*result
;
17806 PyObject
* obj0
= 0 ;
17808 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
17809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17812 if (arg1
== NULL
) {
17813 PyErr_SetString(PyExc_TypeError
,"null reference");
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17830 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
17835 argc
= PyObject_Length(args
);
17836 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
17837 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17840 return _wrap_new_PrintData__SWIG_0(self
,args
);
17846 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
17854 return _wrap_new_PrintData__SWIG_1(self
,args
);
17858 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
17863 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 Py_INCREF(Py_None
); resultobj
= Py_None
;
17888 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= (int)(arg1
)->GetNoCopies();
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 resultobj
= SWIG_FromInt((int)result
);
17914 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
;
17916 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17918 PyObject
* obj0
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (bool)(arg1
)->GetCollate();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17942 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 result
= (int)(arg1
)->GetOrientation();
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= SWIG_FromInt((int)result
);
17968 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
;
17970 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17972 PyObject
* obj0
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= (bool)(arg1
)->Ok();
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17996 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18012 result
= (wxString
*) &_result_ref
;
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18020 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18022 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18031 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= (bool)(arg1
)->GetColour();
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18059 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18063 PyObject
* obj0
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 result
= (int)(arg1
)->GetDuplex();
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= SWIG_FromInt((int)result
);
18085 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (int)(arg1
)->GetPaperId();
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= SWIG_FromInt((int)result
);
18111 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 char *kwnames
[] = {
18117 (char *) "self", NULL
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18127 result
= (wxSize
*) &_result_ref
;
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18140 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18142 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18144 PyObject
* obj0
= 0 ;
18145 char *kwnames
[] = {
18146 (char *) "self", NULL
18149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= (int)(arg1
)->GetQuality();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= SWIG_FromInt((int)result
);
18166 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 PyObject
* obj1
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self",(char *) "v", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18179 arg2
= (int) SWIG_AsInt(obj1
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 (arg1
)->SetNoCopies(arg2
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 Py_INCREF(Py_None
); resultobj
= Py_None
;
18195 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 PyObject
* obj1
= 0 ;
18201 char *kwnames
[] = {
18202 (char *) "self",(char *) "flag", NULL
18205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18208 arg2
= (bool) SWIG_AsBool(obj1
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 (arg1
)->SetCollate(arg2
);
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 Py_INCREF(Py_None
); resultobj
= Py_None
;
18224 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 PyObject
* obj1
= 0 ;
18230 char *kwnames
[] = {
18231 (char *) "self",(char *) "orient", NULL
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18237 arg2
= (int) SWIG_AsInt(obj1
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 (arg1
)->SetOrientation(arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 Py_INCREF(Py_None
); resultobj
= Py_None
;
18253 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18256 wxString
*arg2
= 0 ;
18257 bool temp2
= False
;
18258 PyObject
* obj0
= 0 ;
18259 PyObject
* obj1
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self",(char *) "name", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18268 arg2
= wxString_in_helper(obj1
);
18269 if (arg2
== NULL
) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 Py_INCREF(Py_None
); resultobj
= Py_None
;
18294 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 char *kwnames
[] = {
18301 (char *) "self",(char *) "colour", NULL
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18307 arg2
= (bool) SWIG_AsBool(obj1
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 (arg1
)->SetColour(arg2
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 Py_INCREF(Py_None
); resultobj
= Py_None
;
18323 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
;
18325 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18327 PyObject
* obj0
= 0 ;
18328 PyObject
* obj1
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self",(char *) "duplex", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18336 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 Py_INCREF(Py_None
); resultobj
= Py_None
;
18352 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self",(char *) "sizeId", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18365 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 Py_INCREF(Py_None
); resultobj
= Py_None
;
18381 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
;
18383 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18386 PyObject
* obj0
= 0 ;
18387 PyObject
* obj1
= 0 ;
18388 char *kwnames
[] = {
18389 (char *) "self",(char *) "sz", NULL
18392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18397 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 Py_INCREF(Py_None
); resultobj
= Py_None
;
18413 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18414 PyObject
*resultobj
;
18415 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18417 PyObject
* obj0
= 0 ;
18418 PyObject
* obj1
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "self",(char *) "quality", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18426 arg2
= (int) SWIG_AsInt(obj1
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 (arg1
)->SetQuality(arg2
);
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 Py_INCREF(Py_None
); resultobj
= Py_None
;
18442 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18444 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18446 PyObject
* obj0
= 0 ;
18447 char *kwnames
[] = {
18448 (char *) "self", NULL
18451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18458 result
= (wxString
*) &_result_ref
;
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18468 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18477 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
;
18479 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18481 PyObject
* obj0
= 0 ;
18482 char *kwnames
[] = {
18483 (char *) "self", NULL
18486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18493 result
= (wxString
*) &_result_ref
;
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18503 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18512 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18516 PyObject
* obj0
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18528 result
= (wxString
*) &_result_ref
;
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18538 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18547 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18551 PyObject
* obj0
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 wxString
const &_result_ref
= (arg1
)->GetFilename();
18563 result
= (wxString
*) &_result_ref
;
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18573 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18582 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18586 PyObject
* obj0
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18598 result
= (wxString
*) &_result_ref
;
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18608 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18617 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18621 PyObject
* obj0
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 result
= (double)(arg1
)->GetPrinterScaleX();
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_FromDouble((double)result
);
18643 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18645 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (double)(arg1
)->GetPrinterScaleY();
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 resultobj
= SWIG_FromDouble((double)result
);
18669 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= (long)(arg1
)->GetPrinterTranslateX();
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= SWIG_FromLong((long)result
);
18695 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18696 PyObject
*resultobj
;
18697 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18699 PyObject
* obj0
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (long)(arg1
)->GetPrinterTranslateY();
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= SWIG_FromLong((long)result
);
18721 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (int)(arg1
)->GetPrintMode();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_FromInt((int)result
);
18747 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
;
18749 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18750 wxString
*arg2
= 0 ;
18751 bool temp2
= False
;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "command", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18762 arg2
= wxString_in_helper(obj1
);
18763 if (arg2
== NULL
) SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 Py_INCREF(Py_None
); resultobj
= Py_None
;
18788 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18791 wxString
*arg2
= 0 ;
18792 bool temp2
= False
;
18793 PyObject
* obj0
= 0 ;
18794 PyObject
* obj1
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self",(char *) "options", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 arg2
= wxString_in_helper(obj1
);
18804 if (arg2
== NULL
) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 Py_INCREF(Py_None
); resultobj
= Py_None
;
18829 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18830 PyObject
*resultobj
;
18831 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18832 wxString
*arg2
= 0 ;
18833 bool temp2
= False
;
18834 PyObject
* obj0
= 0 ;
18835 PyObject
* obj1
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self",(char *) "command", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18844 arg2
= wxString_in_helper(obj1
);
18845 if (arg2
== NULL
) SWIG_fail
;
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 Py_INCREF(Py_None
); resultobj
= Py_None
;
18870 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18873 wxString
*arg2
= 0 ;
18874 bool temp2
= False
;
18875 PyObject
* obj0
= 0 ;
18876 PyObject
* obj1
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self",(char *) "filename", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18885 arg2
= wxString_in_helper(obj1
);
18886 if (arg2
== NULL
) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 (arg1
)->SetFilename((wxString
const &)*arg2
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 Py_INCREF(Py_None
); resultobj
= Py_None
;
18911 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18914 wxString
*arg2
= 0 ;
18915 bool temp2
= False
;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "path", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18926 arg2
= wxString_in_helper(obj1
);
18927 if (arg2
== NULL
) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18952 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 PyObject
* obj1
= 0 ;
18958 char *kwnames
[] = {
18959 (char *) "self",(char *) "x", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18965 arg2
= (double) SWIG_AsDouble(obj1
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 (arg1
)->SetPrinterScaleX(arg2
);
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 Py_INCREF(Py_None
); resultobj
= Py_None
;
18981 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 PyObject
* obj1
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self",(char *) "y", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18994 arg2
= (double) SWIG_AsDouble(obj1
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 (arg1
)->SetPrinterScaleY(arg2
);
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 Py_INCREF(Py_None
); resultobj
= Py_None
;
19010 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 PyObject
* obj1
= 0 ;
19017 PyObject
* obj2
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self",(char *) "x",(char *) "y", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19025 arg2
= (double) SWIG_AsDouble(obj1
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19027 arg3
= (double) SWIG_AsDouble(obj2
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 Py_INCREF(Py_None
); resultobj
= Py_None
;
19043 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self",(char *) "x", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19056 arg2
= (long) SWIG_AsLong(obj1
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 (arg1
)->SetPrinterTranslateX(arg2
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self",(char *) "y", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19085 arg2
= (long) SWIG_AsLong(obj1
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 (arg1
)->SetPrinterTranslateY(arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 Py_INCREF(Py_None
); resultobj
= Py_None
;
19101 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 PyObject
* obj2
= 0 ;
19109 char *kwnames
[] = {
19110 (char *) "self",(char *) "x",(char *) "y", NULL
19113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19116 arg2
= (long) SWIG_AsLong(obj1
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19118 arg3
= (long) SWIG_AsLong(obj2
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self",(char *) "printMode", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19147 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 Py_INCREF(Py_None
); resultobj
= Py_None
;
19163 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19166 wxOutputStream
*result
;
19167 PyObject
* obj0
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "self", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19189 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
;
19191 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19192 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self",(char *) "outputstream", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 (arg1
)->SetOutputStream(arg2
);
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 Py_INCREF(Py_None
); resultobj
= Py_None
;
19218 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19221 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19223 return Py_BuildValue((char *)"");
19225 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19226 PyObject
*resultobj
;
19227 wxPageSetupDialogData
*result
;
19229 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19244 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19245 PyObject
*resultobj
;
19246 wxPageSetupDialogData
*arg1
= 0 ;
19247 wxPageSetupDialogData
*result
;
19248 PyObject
* obj0
= 0 ;
19250 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19254 if (arg1
== NULL
) {
19255 PyErr_SetString(PyExc_TypeError
,"null reference");
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19272 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19277 argc
= PyObject_Length(args
);
19278 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19279 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19282 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19288 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19296 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19300 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19305 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19323 Py_INCREF(Py_None
); resultobj
= Py_None
;
19330 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19331 PyObject
*resultobj
;
19332 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19334 PyObject
* obj0
= 0 ;
19335 PyObject
* obj1
= 0 ;
19336 char *kwnames
[] = {
19337 (char *) "self",(char *) "flag", NULL
19340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19343 arg2
= (bool) SWIG_AsBool(obj1
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 (arg1
)->EnableHelp(arg2
);
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 Py_INCREF(Py_None
); resultobj
= Py_None
;
19359 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 PyObject
* obj1
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self",(char *) "flag", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19372 arg2
= (bool) SWIG_AsBool(obj1
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 (arg1
)->EnableMargins(arg2
);
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 Py_INCREF(Py_None
); resultobj
= Py_None
;
19388 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19392 PyObject
* obj0
= 0 ;
19393 PyObject
* obj1
= 0 ;
19394 char *kwnames
[] = {
19395 (char *) "self",(char *) "flag", NULL
19398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19401 arg2
= (bool) SWIG_AsBool(obj1
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 (arg1
)->EnableOrientation(arg2
);
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 Py_INCREF(Py_None
); resultobj
= Py_None
;
19417 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self",(char *) "flag", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19430 arg2
= (bool) SWIG_AsBool(obj1
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 (arg1
)->EnablePaper(arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 Py_INCREF(Py_None
); resultobj
= Py_None
;
19446 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self",(char *) "flag", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 arg2
= (bool) SWIG_AsBool(obj1
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 (arg1
)->EnablePrinter(arg2
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 Py_INCREF(Py_None
); resultobj
= Py_None
;
19475 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19479 PyObject
* obj0
= 0 ;
19480 char *kwnames
[] = {
19481 (char *) "self", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (bool)(arg1
)->GetDefaultMinMargins();
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19503 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19507 PyObject
* obj0
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 result
= (bool)(arg1
)->GetEnableMargins();
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19531 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (bool)(arg1
)->GetEnableOrientation();
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19559 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19563 PyObject
* obj0
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (bool)(arg1
)->GetEnablePaper();
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19587 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19591 PyObject
* obj0
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 result
= (bool)(arg1
)->GetEnablePrinter();
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19615 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= (bool)(arg1
)->GetEnableHelp();
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19643 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
;
19645 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19647 PyObject
* obj0
= 0 ;
19648 char *kwnames
[] = {
19649 (char *) "self", NULL
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 result
= (bool)(arg1
)->GetDefaultInfo();
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19671 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19675 PyObject
* obj0
= 0 ;
19676 char *kwnames
[] = {
19677 (char *) "self", NULL
19680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 result
= (arg1
)->GetMarginTopLeft();
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19691 wxPoint
* resultptr
;
19692 resultptr
= new wxPoint((wxPoint
&) result
);
19693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19701 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (arg1
)->GetMarginBottomRight();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19721 wxPoint
* resultptr
;
19722 resultptr
= new wxPoint((wxPoint
&) result
);
19723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19731 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
;
19733 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19735 PyObject
* obj0
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= (arg1
)->GetMinMarginTopLeft();
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19751 wxPoint
* resultptr
;
19752 resultptr
= new wxPoint((wxPoint
&) result
);
19753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19761 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19765 PyObject
* obj0
= 0 ;
19766 char *kwnames
[] = {
19767 (char *) "self", NULL
19770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19775 result
= (arg1
)->GetMinMarginBottomRight();
19777 wxPyEndAllowThreads(__tstate
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19781 wxPoint
* resultptr
;
19782 resultptr
= new wxPoint((wxPoint
&) result
);
19783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19791 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19795 PyObject
* obj0
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "self", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 result
= (int)(arg1
)->GetPaperId();
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 resultobj
= SWIG_FromInt((int)result
);
19817 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
;
19819 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19821 PyObject
* obj0
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "self", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 result
= (arg1
)->GetPaperSize();
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19837 wxSize
* resultptr
;
19838 resultptr
= new wxSize((wxSize
&) result
);
19839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19847 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19850 wxPrintData
*result
;
19851 PyObject
* obj0
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19863 result
= (wxPrintData
*) &_result_ref
;
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19876 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
;
19878 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19880 PyObject
* obj0
= 0 ;
19881 char *kwnames
[] = {
19882 (char *) "self", NULL
19885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= (bool)(arg1
)->Ok();
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19904 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19906 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19908 PyObject
* obj0
= 0 ;
19909 PyObject
* obj1
= 0 ;
19910 char *kwnames
[] = {
19911 (char *) "self",(char *) "flag", NULL
19914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19917 arg2
= (bool) SWIG_AsBool(obj1
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 (arg1
)->SetDefaultInfo(arg2
);
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19926 Py_INCREF(Py_None
); resultobj
= Py_None
;
19933 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19937 PyObject
* obj0
= 0 ;
19938 PyObject
* obj1
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self",(char *) "flag", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 arg2
= (bool) SWIG_AsBool(obj1
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 (arg1
)->SetDefaultMinMargins(arg2
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 Py_INCREF(Py_None
); resultobj
= Py_None
;
19962 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19965 wxPoint
*arg2
= 0 ;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self",(char *) "pt", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 Py_INCREF(Py_None
); resultobj
= Py_None
;
19994 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19997 wxPoint
*arg2
= 0 ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self",(char *) "pt", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 Py_INCREF(Py_None
); resultobj
= Py_None
;
20026 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20029 wxPoint
*arg2
= 0 ;
20031 PyObject
* obj0
= 0 ;
20032 PyObject
* obj1
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "self",(char *) "pt", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 Py_INCREF(Py_None
); resultobj
= Py_None
;
20058 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20061 wxPoint
*arg2
= 0 ;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self",(char *) "pt", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20083 Py_INCREF(Py_None
); resultobj
= Py_None
;
20090 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self",(char *) "id", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 Py_INCREF(Py_None
); resultobj
= Py_None
;
20119 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20124 PyObject
* obj0
= 0 ;
20125 PyObject
* obj1
= 0 ;
20126 char *kwnames
[] = {
20127 (char *) "self",(char *) "size", NULL
20130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 Py_INCREF(Py_None
); resultobj
= Py_None
;
20151 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
;
20153 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20154 wxPrintData
*arg2
= 0 ;
20155 PyObject
* obj0
= 0 ;
20156 PyObject
* obj1
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self",(char *) "printData", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20167 if (arg2
== NULL
) {
20168 PyErr_SetString(PyExc_TypeError
,"null reference");
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 Py_INCREF(Py_None
); resultobj
= Py_None
;
20185 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20188 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20190 return Py_BuildValue((char *)"");
20192 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
;
20194 wxWindow
*arg1
= (wxWindow
*) 0 ;
20195 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20196 wxPageSetupDialog
*result
;
20197 PyObject
* obj0
= 0 ;
20198 PyObject
* obj1
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "parent",(char *) "data", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20211 if (!wxPyCheckForApp()) SWIG_fail
;
20212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20225 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20227 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20228 wxPageSetupDialogData
*result
;
20229 PyObject
* obj0
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20241 result
= (wxPageSetupDialogData
*) &_result_ref
;
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20254 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 result
= (int)(arg1
)->ShowModal();
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= SWIG_FromInt((int)result
);
20280 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20283 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20285 return Py_BuildValue((char *)"");
20287 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20288 PyObject
*resultobj
;
20289 wxPrintDialogData
*result
;
20291 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20306 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20307 PyObject
*resultobj
;
20308 wxPrintData
*arg1
= 0 ;
20309 wxPrintDialogData
*result
;
20310 PyObject
* obj0
= 0 ;
20312 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20316 if (arg1
== NULL
) {
20317 PyErr_SetString(PyExc_TypeError
,"null reference");
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20334 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20339 argc
= PyObject_Length(args
);
20340 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20341 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20344 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20350 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20358 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20362 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20367 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20368 PyObject
*resultobj
;
20369 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 Py_INCREF(Py_None
); resultobj
= Py_None
;
20392 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
;
20394 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20396 PyObject
* obj0
= 0 ;
20397 char *kwnames
[] = {
20398 (char *) "self", NULL
20401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= SWIG_FromInt((int)result
);
20418 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20422 PyObject
* obj0
= 0 ;
20423 char *kwnames
[] = {
20424 (char *) "self", NULL
20427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= SWIG_FromInt((int)result
);
20444 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
;
20446 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20448 PyObject
* obj0
= 0 ;
20449 char *kwnames
[] = {
20450 (char *) "self", NULL
20453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_FromInt((int)result
);
20470 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20474 PyObject
* obj0
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "self", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_FromInt((int)result
);
20496 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20498 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20500 PyObject
* obj0
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "self", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 resultobj
= SWIG_FromInt((int)result
);
20522 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20526 PyObject
* obj0
= 0 ;
20527 char *kwnames
[] = {
20528 (char *) "self", NULL
20531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20550 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 char *kwnames
[] = {
20556 (char *) "self", NULL
20559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20578 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
;
20580 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20582 PyObject
* obj0
= 0 ;
20583 char *kwnames
[] = {
20584 (char *) "self", NULL
20587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20606 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20634 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
;
20636 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20638 PyObject
* obj0
= 0 ;
20639 char *kwnames
[] = {
20640 (char *) "self", NULL
20643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20662 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20664 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self",(char *) "v", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20675 arg2
= (int) SWIG_AsInt(obj1
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 (arg1
)->SetFromPage(arg2
);
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 Py_INCREF(Py_None
); resultobj
= Py_None
;
20691 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
;
20693 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self",(char *) "v", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20704 arg2
= (int) SWIG_AsInt(obj1
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 (arg1
)->SetToPage(arg2
);
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 Py_INCREF(Py_None
); resultobj
= Py_None
;
20720 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 PyObject
* obj1
= 0 ;
20726 char *kwnames
[] = {
20727 (char *) "self",(char *) "v", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20733 arg2
= (int) SWIG_AsInt(obj1
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 (arg1
)->SetMinPage(arg2
);
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 Py_INCREF(Py_None
); resultobj
= Py_None
;
20749 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
;
20751 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self",(char *) "v", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20762 arg2
= (int) SWIG_AsInt(obj1
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 (arg1
)->SetMaxPage(arg2
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 Py_INCREF(Py_None
); resultobj
= Py_None
;
20778 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "self",(char *) "v", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20791 arg2
= (int) SWIG_AsInt(obj1
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 (arg1
)->SetNoCopies(arg2
);
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20800 Py_INCREF(Py_None
); resultobj
= Py_None
;
20807 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
;
20809 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20811 PyObject
* obj0
= 0 ;
20812 PyObject
* obj1
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self",(char *) "flag", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20820 arg2
= (bool) SWIG_AsBool(obj1
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 (arg1
)->SetAllPages(arg2
);
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 Py_INCREF(Py_None
); resultobj
= Py_None
;
20836 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self",(char *) "flag", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20849 arg2
= (bool) SWIG_AsBool(obj1
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 (arg1
)->SetSelection(arg2
);
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 Py_INCREF(Py_None
); resultobj
= Py_None
;
20865 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
;
20867 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20869 PyObject
* obj0
= 0 ;
20870 PyObject
* obj1
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self",(char *) "flag", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20878 arg2
= (bool) SWIG_AsBool(obj1
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 (arg1
)->SetCollate(arg2
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 Py_INCREF(Py_None
); resultobj
= Py_None
;
20894 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 PyObject
* obj1
= 0 ;
20900 char *kwnames
[] = {
20901 (char *) "self",(char *) "flag", NULL
20904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20907 arg2
= (bool) SWIG_AsBool(obj1
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 (arg1
)->SetPrintToFile(arg2
);
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 Py_INCREF(Py_None
); resultobj
= Py_None
;
20923 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 PyObject
* obj1
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self",(char *) "flag", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20936 arg2
= (bool) SWIG_AsBool(obj1
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 (arg1
)->SetSetupDialog(arg2
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 Py_INCREF(Py_None
); resultobj
= Py_None
;
20952 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj1
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self",(char *) "flag", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20965 arg2
= (bool) SWIG_AsBool(obj1
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 (arg1
)->EnablePrintToFile(arg2
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 Py_INCREF(Py_None
); resultobj
= Py_None
;
20981 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self",(char *) "flag", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20994 arg2
= (bool) SWIG_AsBool(obj1
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 (arg1
)->EnableSelection(arg2
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 Py_INCREF(Py_None
); resultobj
= Py_None
;
21010 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21012 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21014 PyObject
* obj0
= 0 ;
21015 PyObject
* obj1
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self",(char *) "flag", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21023 arg2
= (bool) SWIG_AsBool(obj1
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 (arg1
)->EnablePageNumbers(arg2
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 Py_INCREF(Py_None
); resultobj
= Py_None
;
21039 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self",(char *) "flag", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 arg2
= (bool) SWIG_AsBool(obj1
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 (arg1
)->EnableHelp(arg2
);
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 Py_INCREF(Py_None
); resultobj
= Py_None
;
21068 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21070 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21072 PyObject
* obj0
= 0 ;
21073 char *kwnames
[] = {
21074 (char *) "self", NULL
21077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21096 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21100 PyObject
* obj0
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "self", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21124 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21126 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21128 PyObject
* obj0
= 0 ;
21129 char *kwnames
[] = {
21130 (char *) "self", NULL
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21152 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21156 PyObject
* obj0
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21180 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
;
21182 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21184 PyObject
* obj0
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "self", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21208 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21211 wxPrintData
*result
;
21212 PyObject
* obj0
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21224 result
= (wxPrintData
*) &_result_ref
;
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21237 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21240 wxPrintData
*arg2
= 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "printData", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21253 if (arg2
== NULL
) {
21254 PyErr_SetString(PyExc_TypeError
,"null reference");
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 Py_INCREF(Py_None
); resultobj
= Py_None
;
21271 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21274 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21276 return Py_BuildValue((char *)"");
21278 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21280 wxWindow
*arg1
= (wxWindow
*) 0 ;
21281 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21282 wxPrintDialog
*result
;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "parent",(char *) "data", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21297 if (!wxPyCheckForApp()) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21311 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21314 wxPrintDialogData
*result
;
21315 PyObject
* obj0
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21327 result
= (wxPrintDialogData
*) &_result_ref
;
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21340 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (wxDC
*)(arg1
)->GetPrintDC();
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= wxPyMake_wxObject(result
, 1);
21368 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21372 PyObject
* obj0
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (int)(arg1
)->ShowModal();
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= SWIG_FromInt((int)result
);
21394 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21397 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21399 return Py_BuildValue((char *)"");
21401 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21403 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21405 PyObject
* obj0
= 0 ;
21406 char *kwnames
[] = {
21407 (char *) "data", NULL
21410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21416 if (!wxPyCheckForApp()) SWIG_fail
;
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 result
= (wxPrinter
*)new wxPrinter(arg1
);
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21430 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 Py_INCREF(Py_None
); resultobj
= Py_None
;
21455 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21458 wxWindow
*arg2
= (wxWindow
*) 0 ;
21459 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21460 PyObject
* obj0
= 0 ;
21461 PyObject
* obj1
= 0 ;
21462 PyObject
* obj2
= 0 ;
21463 char *kwnames
[] = {
21464 (char *) "self",(char *) "parent",(char *) "printout", NULL
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21472 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21481 Py_INCREF(Py_None
); resultobj
= Py_None
;
21488 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
;
21490 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21491 wxPrintDialogData
*result
;
21492 PyObject
* obj0
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "self", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21504 result
= (wxPrintDialogData
*) &_result_ref
;
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21517 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21520 wxWindow
*arg2
= (wxWindow
*) 0 ;
21521 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21522 int arg4
= (int) True
;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 PyObject
* obj2
= 0 ;
21527 PyObject
* obj3
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21537 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21540 arg4
= (int) SWIG_AsInt(obj3
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21559 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21562 wxWindow
*arg2
= (wxWindow
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self",(char *) "parent", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= wxPyMake_wxObject(result
, 0);
21591 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21594 wxWindow
*arg2
= (wxWindow
*) 0 ;
21595 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21596 wxString
*arg4
= 0 ;
21597 bool temp4
= False
;
21598 PyObject
* obj0
= 0 ;
21599 PyObject
* obj1
= 0 ;
21600 PyObject
* obj2
= 0 ;
21601 PyObject
* obj3
= 0 ;
21602 char *kwnames
[] = {
21603 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21611 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 arg4
= wxString_in_helper(obj3
);
21615 if (arg4
== NULL
) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21640 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21643 wxWindow
*arg2
= (wxWindow
*) 0 ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "parent", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= (bool)(arg1
)->Setup(arg2
);
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21672 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
;
21674 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21676 PyObject
* obj0
= 0 ;
21677 char *kwnames
[] = {
21678 (char *) "self", NULL
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 result
= (bool)(arg1
)->GetAbort();
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21700 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21703 char *kwnames
[] = {
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (int)wxPrinter::GetLastError();
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21715 resultobj
= SWIG_FromInt((int)result
);
21722 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21725 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21727 return Py_BuildValue((char *)"");
21729 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
;
21731 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21732 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21733 wxPyPrintout
*result
;
21734 bool temp1
= False
;
21735 PyObject
* obj0
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "title", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21743 arg1
= wxString_in_helper(obj0
);
21744 if (arg1
== NULL
) SWIG_fail
;
21749 if (!wxPyCheckForApp()) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= wxPyMake_wxObject(result
, 1);
21773 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21776 PyObject
*arg2
= (PyObject
*) 0 ;
21777 PyObject
*arg3
= (PyObject
*) 0 ;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 PyObject
* obj2
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "self",(char *) "_class", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 Py_INCREF(Py_None
); resultobj
= Py_None
;
21804 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21805 PyObject
*resultobj
;
21806 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21808 PyObject
* obj0
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21836 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 char *kwnames
[] = {
21842 (char *) "self", NULL
21845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21850 result
= (wxDC
*)(arg1
)->GetDC();
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21856 resultobj
= wxPyMake_wxObject(result
, 0);
21864 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21867 wxDC
*arg2
= (wxDC
*) 0 ;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "self",(char *) "dc", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 (arg1
)->SetDC(arg2
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 Py_INCREF(Py_None
); resultobj
= Py_None
;
21893 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
;
21895 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21898 PyObject
* obj0
= 0 ;
21899 PyObject
* obj1
= 0 ;
21900 PyObject
* obj2
= 0 ;
21901 char *kwnames
[] = {
21902 (char *) "self",(char *) "w",(char *) "h", NULL
21905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21908 arg2
= (int) SWIG_AsInt(obj1
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21910 arg3
= (int) SWIG_AsInt(obj2
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 Py_INCREF(Py_None
); resultobj
= Py_None
;
21926 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21929 int *arg2
= (int *) 0 ;
21930 int *arg3
= (int *) 0 ;
21933 PyObject
* obj0
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self", NULL
21940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21950 Py_INCREF(Py_None
); resultobj
= Py_None
;
21952 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21953 resultobj
= t_output_helper(resultobj
,o
);
21956 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21957 resultobj
= t_output_helper(resultobj
,o
);
21965 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 PyObject
* obj2
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "w",(char *) "h", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 arg2
= (int) SWIG_AsInt(obj1
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21982 arg3
= (int) SWIG_AsInt(obj2
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 Py_INCREF(Py_None
); resultobj
= Py_None
;
21998 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
;
22000 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22001 int *arg2
= (int *) 0 ;
22002 int *arg3
= (int *) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self", NULL
22012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 Py_INCREF(Py_None
); resultobj
= Py_None
;
22024 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22025 resultobj
= t_output_helper(resultobj
,o
);
22028 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22029 resultobj
= t_output_helper(resultobj
,o
);
22037 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22038 PyObject
*resultobj
;
22039 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22042 PyObject
* obj0
= 0 ;
22043 PyObject
* obj1
= 0 ;
22044 PyObject
* obj2
= 0 ;
22045 char *kwnames
[] = {
22046 (char *) "self",(char *) "x",(char *) "y", NULL
22049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22052 arg2
= (int) SWIG_AsInt(obj1
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22054 arg3
= (int) SWIG_AsInt(obj2
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 (arg1
)->SetPPIScreen(arg2
,arg3
);
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 Py_INCREF(Py_None
); resultobj
= Py_None
;
22070 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22072 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22073 int *arg2
= (int *) 0 ;
22074 int *arg3
= (int *) 0 ;
22077 PyObject
* obj0
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->GetPPIScreen(arg2
,arg3
);
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 Py_INCREF(Py_None
); resultobj
= Py_None
;
22096 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22097 resultobj
= t_output_helper(resultobj
,o
);
22100 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22101 resultobj
= t_output_helper(resultobj
,o
);
22109 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22114 PyObject
* obj0
= 0 ;
22115 PyObject
* obj1
= 0 ;
22116 PyObject
* obj2
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "x",(char *) "y", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22124 arg2
= (int) SWIG_AsInt(obj1
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22126 arg3
= (int) SWIG_AsInt(obj2
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 Py_INCREF(Py_None
); resultobj
= Py_None
;
22142 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
;
22144 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22145 int *arg2
= (int *) 0 ;
22146 int *arg3
= (int *) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "self", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22166 Py_INCREF(Py_None
); resultobj
= Py_None
;
22168 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22169 resultobj
= t_output_helper(resultobj
,o
);
22172 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22173 resultobj
= t_output_helper(resultobj
,o
);
22181 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22182 PyObject
*resultobj
;
22183 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22185 PyObject
* obj0
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "self", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 result
= (bool)(arg1
)->IsPreview();
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22209 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
;
22211 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22213 PyObject
* obj0
= 0 ;
22214 PyObject
* obj1
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self",(char *) "p", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22222 arg2
= (bool) SWIG_AsBool(obj1
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 (arg1
)->SetIsPreview(arg2
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 Py_INCREF(Py_None
); resultobj
= Py_None
;
22238 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
;
22240 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22244 PyObject
* obj0
= 0 ;
22245 PyObject
* obj1
= 0 ;
22246 PyObject
* obj2
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22254 arg2
= (int) SWIG_AsInt(obj1
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22256 arg3
= (int) SWIG_AsInt(obj2
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22274 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 (arg1
)->base_OnEndDocument();
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 Py_INCREF(Py_None
); resultobj
= Py_None
;
22299 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 (arg1
)->base_OnBeginPrinting();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 Py_INCREF(Py_None
); resultobj
= Py_None
;
22324 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 (arg1
)->base_OnEndPrinting();
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 Py_INCREF(Py_None
); resultobj
= Py_None
;
22349 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
;
22351 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22352 PyObject
* obj0
= 0 ;
22353 char *kwnames
[] = {
22354 (char *) "self", NULL
22357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 (arg1
)->base_OnPreparePrinting();
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 Py_INCREF(Py_None
); resultobj
= Py_None
;
22374 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22379 PyObject
* obj0
= 0 ;
22380 PyObject
* obj1
= 0 ;
22381 char *kwnames
[] = {
22382 (char *) "self",(char *) "page", NULL
22385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22388 arg2
= (int) SWIG_AsInt(obj1
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 result
= (bool)(arg1
)->base_HasPage(arg2
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22406 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22408 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22409 int *arg2
= (int *) 0 ;
22410 int *arg3
= (int *) 0 ;
22411 int *arg4
= (int *) 0 ;
22412 int *arg5
= (int *) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 Py_INCREF(Py_None
); resultobj
= Py_None
;
22438 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22439 resultobj
= t_output_helper(resultobj
,o
);
22442 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22443 resultobj
= t_output_helper(resultobj
,o
);
22446 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22447 resultobj
= t_output_helper(resultobj
,o
);
22450 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22451 resultobj
= t_output_helper(resultobj
,o
);
22459 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22462 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22464 return Py_BuildValue((char *)"");
22466 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22469 wxWindow
*arg2
= (wxWindow
*) 0 ;
22470 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22471 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22472 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22473 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22474 long arg5
= (long) 0 ;
22475 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22476 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22477 wxPreviewCanvas
*result
;
22480 bool temp6
= False
;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 PyObject
* obj2
= 0 ;
22484 PyObject
* obj3
= 0 ;
22485 PyObject
* obj4
= 0 ;
22486 PyObject
* obj5
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22499 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22505 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22509 arg5
= (long) SWIG_AsLong(obj4
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22514 arg6
= wxString_in_helper(obj5
);
22515 if (arg6
== NULL
) SWIG_fail
;
22520 if (!wxPyCheckForApp()) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22542 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22545 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22547 return Py_BuildValue((char *)"");
22549 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22552 wxFrame
*arg2
= (wxFrame
*) 0 ;
22553 wxString
*arg3
= 0 ;
22554 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22555 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22556 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22557 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22558 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22559 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22560 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22561 wxPreviewFrame
*result
;
22562 bool temp3
= False
;
22565 bool temp7
= False
;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 PyObject
* obj2
= 0 ;
22569 PyObject
* obj3
= 0 ;
22570 PyObject
* obj4
= 0 ;
22571 PyObject
* obj5
= 0 ;
22572 PyObject
* obj6
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 arg3
= wxString_in_helper(obj2
);
22584 if (arg3
== NULL
) SWIG_fail
;
22590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22600 arg6
= (long) SWIG_AsLong(obj5
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22605 arg7
= wxString_in_helper(obj6
);
22606 if (arg7
== NULL
) SWIG_fail
;
22611 if (!wxPyCheckForApp()) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22641 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 (arg1
)->Initialize();
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 Py_INCREF(Py_None
); resultobj
= Py_None
;
22666 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22667 PyObject
*resultobj
;
22668 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 (arg1
)->CreateControlBar();
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 Py_INCREF(Py_None
); resultobj
= Py_None
;
22691 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
;
22693 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 (arg1
)->CreateCanvas();
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 Py_INCREF(Py_None
); resultobj
= Py_None
;
22716 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
;
22718 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22719 wxPreviewControlBar
*result
;
22720 PyObject
* obj0
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22730 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22742 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22745 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22747 return Py_BuildValue((char *)"");
22749 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22753 wxWindow
*arg3
= (wxWindow
*) 0 ;
22754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22758 long arg6
= (long) wxTAB_TRAVERSAL
;
22759 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22760 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22761 wxPreviewControlBar
*result
;
22764 bool temp7
= False
;
22765 PyObject
* obj0
= 0 ;
22766 PyObject
* obj1
= 0 ;
22767 PyObject
* obj2
= 0 ;
22768 PyObject
* obj3
= 0 ;
22769 PyObject
* obj4
= 0 ;
22770 PyObject
* obj5
= 0 ;
22771 PyObject
* obj6
= 0 ;
22772 char *kwnames
[] = {
22773 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22779 arg2
= (long) SWIG_AsLong(obj1
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22781 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22786 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22792 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22796 arg6
= (long) SWIG_AsLong(obj5
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22801 arg7
= wxString_in_helper(obj6
);
22802 if (arg7
== NULL
) SWIG_fail
;
22807 if (!wxPyCheckForApp()) SWIG_fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22829 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22833 PyObject
* obj0
= 0 ;
22834 char *kwnames
[] = {
22835 (char *) "self", NULL
22838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (int)(arg1
)->GetZoomControl();
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= SWIG_FromInt((int)result
);
22855 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22857 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22859 PyObject
* obj0
= 0 ;
22860 PyObject
* obj1
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "self",(char *) "zoom", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22868 arg2
= (int) SWIG_AsInt(obj1
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 (arg1
)->SetZoomControl(arg2
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 Py_INCREF(Py_None
); resultobj
= Py_None
;
22884 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22887 wxPrintPreview
*result
;
22888 PyObject
* obj0
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22910 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22913 PyObject
* obj0
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 Py_INCREF(Py_None
); resultobj
= Py_None
;
22935 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 char *kwnames
[] = {
22940 (char *) "self", NULL
22943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 (arg1
)->OnPrevious();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 Py_INCREF(Py_None
); resultobj
= Py_None
;
22960 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22963 PyObject
* obj0
= 0 ;
22964 char *kwnames
[] = {
22965 (char *) "self", NULL
22968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 Py_INCREF(Py_None
); resultobj
= Py_None
;
22985 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22988 PyObject
* obj0
= 0 ;
22989 char *kwnames
[] = {
22990 (char *) "self", NULL
22993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 Py_INCREF(Py_None
); resultobj
= Py_None
;
23010 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23013 PyObject
* obj0
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "self", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 Py_INCREF(Py_None
); resultobj
= Py_None
;
23035 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23038 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23040 return Py_BuildValue((char *)"");
23042 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23043 PyObject
*resultobj
;
23044 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23045 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23046 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23047 wxPrintPreview
*result
;
23048 PyObject
* obj0
= 0 ;
23049 PyObject
* obj1
= 0 ;
23050 PyObject
* obj2
= 0 ;
23052 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23058 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23062 if (!wxPyCheckForApp()) SWIG_fail
;
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23076 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23077 PyObject
*resultobj
;
23078 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23079 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23080 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23081 wxPrintPreview
*result
;
23082 PyObject
* obj0
= 0 ;
23083 PyObject
* obj1
= 0 ;
23084 PyObject
* obj2
= 0 ;
23086 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23091 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23094 if (!wxPyCheckForApp()) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23108 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23113 argc
= PyObject_Length(args
);
23114 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23115 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23117 if ((argc
>= 2) && (argc
<= 3)) {
23121 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23131 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23140 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23144 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23152 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23161 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23171 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23181 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23189 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23195 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23200 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23201 PyObject
*resultobj
;
23202 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 char *kwnames
[] = {
23208 (char *) "self",(char *) "pageNum", NULL
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23214 arg2
= (int) SWIG_AsInt(obj1
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23218 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23232 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23236 PyObject
* obj0
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 result
= (int)(arg1
)->GetCurrentPage();
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_FromInt((int)result
);
23258 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23261 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23262 PyObject
* obj0
= 0 ;
23263 PyObject
* obj1
= 0 ;
23264 char *kwnames
[] = {
23265 (char *) "self",(char *) "printout", NULL
23268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 (arg1
)->SetPrintout(arg2
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 Py_INCREF(Py_None
); resultobj
= Py_None
;
23287 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
;
23289 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23290 wxPyPrintout
*result
;
23291 PyObject
* obj0
= 0 ;
23292 char *kwnames
[] = {
23293 (char *) "self", NULL
23296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= wxPyMake_wxObject(result
, 0);
23315 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
;
23317 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23318 wxPyPrintout
*result
;
23319 PyObject
* obj0
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= wxPyMake_wxObject(result
, 0);
23343 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23346 wxFrame
*arg2
= (wxFrame
*) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 char *kwnames
[] = {
23350 (char *) "self",(char *) "frame", NULL
23353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 (arg1
)->SetFrame(arg2
);
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23365 Py_INCREF(Py_None
); resultobj
= Py_None
;
23372 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23373 PyObject
*resultobj
;
23374 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23375 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self",(char *) "canvas", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 (arg1
)->SetCanvas(arg2
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 Py_INCREF(Py_None
); resultobj
= Py_None
;
23401 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= (wxFrame
*)(arg1
)->GetFrame();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= wxPyMake_wxObject(result
, 0);
23429 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
;
23431 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23432 wxPreviewCanvas
*result
;
23433 PyObject
* obj0
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23455 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23458 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23461 PyObject
* obj0
= 0 ;
23462 PyObject
* obj1
= 0 ;
23463 PyObject
* obj2
= 0 ;
23464 char *kwnames
[] = {
23465 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23473 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23476 if (arg3
== NULL
) {
23477 PyErr_SetString(PyExc_TypeError
,"null reference");
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23496 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23498 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23499 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23502 PyObject
* obj0
= 0 ;
23503 PyObject
* obj1
= 0 ;
23504 PyObject
* obj2
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23514 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23517 if (arg3
== NULL
) {
23518 PyErr_SetString(PyExc_TypeError
,"null reference");
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23537 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23542 PyObject
* obj0
= 0 ;
23543 PyObject
* obj1
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self",(char *) "pageNum", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23551 arg2
= (int) SWIG_AsInt(obj1
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (bool)(arg1
)->RenderPage(arg2
);
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23569 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23571 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23572 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23573 PyObject
* obj0
= 0 ;
23574 PyObject
* obj1
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self",(char *) "canvas", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 (arg1
)->AdjustScrollbars(arg2
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 Py_INCREF(Py_None
); resultobj
= Py_None
;
23598 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23601 wxPrintDialogData
*result
;
23602 PyObject
* obj0
= 0 ;
23603 char *kwnames
[] = {
23604 (char *) "self", NULL
23607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23614 result
= (wxPrintDialogData
*) &_result_ref
;
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23627 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23631 PyObject
* obj0
= 0 ;
23632 PyObject
* obj1
= 0 ;
23633 char *kwnames
[] = {
23634 (char *) "self",(char *) "percent", NULL
23637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 arg2
= (int) SWIG_AsInt(obj1
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 (arg1
)->SetZoom(arg2
);
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23649 Py_INCREF(Py_None
); resultobj
= Py_None
;
23656 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23657 PyObject
*resultobj
;
23658 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23660 PyObject
* obj0
= 0 ;
23661 char *kwnames
[] = {
23662 (char *) "self", NULL
23665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 result
= (int)(arg1
)->GetZoom();
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_FromInt((int)result
);
23682 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
;
23684 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23686 PyObject
* obj0
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 result
= (int)(arg1
)->GetMaxPage();
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 resultobj
= SWIG_FromInt((int)result
);
23708 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23709 PyObject
*resultobj
;
23710 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23712 PyObject
* obj0
= 0 ;
23713 char *kwnames
[] = {
23714 (char *) "self", NULL
23717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (int)(arg1
)->GetMinPage();
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= SWIG_FromInt((int)result
);
23734 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
;
23736 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23738 PyObject
* obj0
= 0 ;
23739 char *kwnames
[] = {
23740 (char *) "self", NULL
23743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 result
= (bool)(arg1
)->Ok();
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23762 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 PyObject
* obj1
= 0 ;
23768 char *kwnames
[] = {
23769 (char *) "self",(char *) "ok", NULL
23772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23775 arg2
= (bool) SWIG_AsBool(obj1
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 (arg1
)->SetOk(arg2
);
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 Py_INCREF(Py_None
); resultobj
= Py_None
;
23791 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
;
23793 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23796 PyObject
* obj0
= 0 ;
23797 PyObject
* obj1
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self",(char *) "interactive", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23805 arg2
= (bool) SWIG_AsBool(obj1
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= (bool)(arg1
)->Print(arg2
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23823 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23826 PyObject
* obj0
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "self", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 (arg1
)->DetermineScaling();
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 Py_INCREF(Py_None
); resultobj
= Py_None
;
23848 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23851 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23853 return Py_BuildValue((char *)"");
23855 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23856 PyObject
*resultobj
;
23857 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23858 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23859 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23860 wxPyPrintPreview
*result
;
23861 PyObject
* obj0
= 0 ;
23862 PyObject
* obj1
= 0 ;
23863 PyObject
* obj2
= 0 ;
23865 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23871 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23875 if (!wxPyCheckForApp()) SWIG_fail
;
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23889 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23890 PyObject
*resultobj
;
23891 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23892 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23893 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23894 wxPyPrintPreview
*result
;
23895 PyObject
* obj0
= 0 ;
23896 PyObject
* obj1
= 0 ;
23897 PyObject
* obj2
= 0 ;
23899 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23904 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23907 if (!wxPyCheckForApp()) SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23921 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23926 argc
= PyObject_Length(args
);
23927 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23928 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23930 if ((argc
>= 2) && (argc
<= 3)) {
23934 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23944 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23953 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23957 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23965 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23974 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23984 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23994 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24002 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24008 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24013 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
;
24015 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24016 PyObject
*arg2
= (PyObject
*) 0 ;
24017 PyObject
*arg3
= (PyObject
*) 0 ;
24018 PyObject
* obj0
= 0 ;
24019 PyObject
* obj1
= 0 ;
24020 PyObject
* obj2
= 0 ;
24021 char *kwnames
[] = {
24022 (char *) "self",(char *) "self",(char *) "_class", NULL
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 Py_INCREF(Py_None
); resultobj
= Py_None
;
24044 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24049 PyObject
* obj0
= 0 ;
24050 PyObject
* obj1
= 0 ;
24051 char *kwnames
[] = {
24052 (char *) "self",(char *) "pageNum", NULL
24055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24058 arg2
= (int) SWIG_AsInt(obj1
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24076 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24078 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24079 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24082 PyObject
* obj0
= 0 ;
24083 PyObject
* obj1
= 0 ;
24084 PyObject
* obj2
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24094 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24097 if (arg3
== NULL
) {
24098 PyErr_SetString(PyExc_TypeError
,"null reference");
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24117 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
;
24119 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24120 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 PyObject
* obj1
= 0 ;
24125 PyObject
* obj2
= 0 ;
24126 char *kwnames
[] = {
24127 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24135 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24138 if (arg3
== NULL
) {
24139 PyErr_SetString(PyExc_TypeError
,"null reference");
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24158 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
;
24160 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 PyObject
* obj1
= 0 ;
24165 char *kwnames
[] = {
24166 (char *) "self",(char *) "pageNum", NULL
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24172 arg2
= (int) SWIG_AsInt(obj1
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24190 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 PyObject
* obj1
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self",(char *) "percent", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24203 arg2
= (int) SWIG_AsInt(obj1
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 (arg1
)->base_SetZoom(arg2
);
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 Py_INCREF(Py_None
); resultobj
= Py_None
;
24219 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
;
24221 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24224 PyObject
* obj0
= 0 ;
24225 PyObject
* obj1
= 0 ;
24226 char *kwnames
[] = {
24227 (char *) "self",(char *) "interactive", NULL
24230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24233 arg2
= (bool) SWIG_AsBool(obj1
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= (bool)(arg1
)->base_Print(arg2
);
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24251 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->base_DetermineScaling();
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24279 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24281 return Py_BuildValue((char *)"");
24283 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24286 wxFrame
*arg2
= (wxFrame
*) 0 ;
24287 wxString
*arg3
= 0 ;
24288 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24289 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24290 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24291 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24292 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24293 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24294 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24295 wxPyPreviewFrame
*result
;
24296 bool temp3
= False
;
24299 bool temp7
= False
;
24300 PyObject
* obj0
= 0 ;
24301 PyObject
* obj1
= 0 ;
24302 PyObject
* obj2
= 0 ;
24303 PyObject
* obj3
= 0 ;
24304 PyObject
* obj4
= 0 ;
24305 PyObject
* obj5
= 0 ;
24306 PyObject
* obj6
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24317 arg3
= wxString_in_helper(obj2
);
24318 if (arg3
== NULL
) SWIG_fail
;
24324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24334 arg6
= (long) SWIG_AsLong(obj5
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24339 arg7
= wxString_in_helper(obj6
);
24340 if (arg7
== NULL
) SWIG_fail
;
24345 if (!wxPyCheckForApp()) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24375 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24376 PyObject
*resultobj
;
24377 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24378 PyObject
*arg2
= (PyObject
*) 0 ;
24379 PyObject
*arg3
= (PyObject
*) 0 ;
24380 PyObject
* obj0
= 0 ;
24381 PyObject
* obj1
= 0 ;
24382 PyObject
* obj2
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self",(char *) "self",(char *) "_class", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24399 Py_INCREF(Py_None
); resultobj
= Py_None
;
24406 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
;
24408 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24409 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self",(char *) "canvas", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 (arg1
)->SetPreviewCanvas(arg2
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24428 Py_INCREF(Py_None
); resultobj
= Py_None
;
24435 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
;
24437 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24438 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 PyObject
* obj1
= 0 ;
24441 char *kwnames
[] = {
24442 (char *) "self",(char *) "bar", NULL
24445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 (arg1
)->SetControlBar(arg2
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 Py_INCREF(Py_None
); resultobj
= Py_None
;
24464 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
;
24466 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24467 PyObject
* obj0
= 0 ;
24468 char *kwnames
[] = {
24469 (char *) "self", NULL
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24477 (arg1
)->base_Initialize();
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 Py_INCREF(Py_None
); resultobj
= Py_None
;
24489 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
;
24491 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24492 PyObject
* obj0
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 (arg1
)->base_CreateCanvas();
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 Py_INCREF(Py_None
); resultobj
= Py_None
;
24514 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24517 PyObject
* obj0
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 (arg1
)->base_CreateControlBar();
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 Py_INCREF(Py_None
); resultobj
= Py_None
;
24539 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24542 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24544 return Py_BuildValue((char *)"");
24546 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
;
24548 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24550 wxWindow
*arg3
= (wxWindow
*) 0 ;
24551 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24552 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24553 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24554 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24555 long arg6
= (long) 0 ;
24556 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24557 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24558 wxPyPreviewControlBar
*result
;
24561 bool temp7
= False
;
24562 PyObject
* obj0
= 0 ;
24563 PyObject
* obj1
= 0 ;
24564 PyObject
* obj2
= 0 ;
24565 PyObject
* obj3
= 0 ;
24566 PyObject
* obj4
= 0 ;
24567 PyObject
* obj5
= 0 ;
24568 PyObject
* obj6
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24576 arg2
= (long) SWIG_AsLong(obj1
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24578 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24593 arg6
= (long) SWIG_AsLong(obj5
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24598 arg7
= wxString_in_helper(obj6
);
24599 if (arg7
== NULL
) SWIG_fail
;
24604 if (!wxPyCheckForApp()) SWIG_fail
;
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24626 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24627 PyObject
*resultobj
;
24628 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24629 PyObject
*arg2
= (PyObject
*) 0 ;
24630 PyObject
*arg3
= (PyObject
*) 0 ;
24631 PyObject
* obj0
= 0 ;
24632 PyObject
* obj1
= 0 ;
24633 PyObject
* obj2
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self",(char *) "self",(char *) "_class", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 Py_INCREF(Py_None
); resultobj
= Py_None
;
24657 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24660 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 PyObject
* obj1
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "self",(char *) "preview", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 (arg1
)->SetPrintPreview(arg2
);
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 Py_INCREF(Py_None
); resultobj
= Py_None
;
24686 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24689 PyObject
* obj0
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 (arg1
)->base_CreateButtons();
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24704 Py_INCREF(Py_None
); resultobj
= Py_None
;
24711 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self",(char *) "zoom", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24724 arg2
= (int) SWIG_AsInt(obj1
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 (arg1
)->base_SetZoomControl(arg2
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 Py_INCREF(Py_None
); resultobj
= Py_None
;
24740 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24743 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24745 return Py_BuildValue((char *)"");
24747 static PyMethodDef SwigMethods
[] = {
24748 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24754 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24769 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24770 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24778 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24794 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24818 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24830 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24834 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24838 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24843 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24859 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24887 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24894 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24917 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24925 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24937 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24943 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24952 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24958 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24961 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24964 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24968 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24986 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25012 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25020 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25024 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25026 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25035 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25038 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25045 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25063 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25067 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25072 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25076 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25092 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25095 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25097 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25101 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25110 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25119 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25125 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25137 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25144 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25148 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25174 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25200 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25226 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
},
25227 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25272 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
},
25273 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25304 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25308 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25309 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25342 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25347 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25358 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25381 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25383 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25389 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25399 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25400 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25423 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25424 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25430 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25433 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25441 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25451 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25453 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25454 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25456 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25457 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25459 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25460 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25462 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25463 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25465 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25466 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25468 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25469 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25471 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25472 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25474 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25475 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25477 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25478 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25480 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25481 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25483 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25484 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25486 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25487 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25489 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25490 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25492 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25493 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25495 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25496 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25498 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25499 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25501 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25502 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25504 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25505 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25507 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25508 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25510 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25511 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25513 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25514 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25516 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25517 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25519 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25520 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25522 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25523 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25525 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25526 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25528 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25529 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25531 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25532 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25534 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25535 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25537 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25538 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25540 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25541 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25543 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25544 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25546 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25547 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25549 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25550 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25552 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25553 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25555 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25556 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25558 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25559 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25561 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25562 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25564 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25565 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25567 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25568 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25570 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25571 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25573 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25574 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25576 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25577 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25579 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25580 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25582 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25585 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25588 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25591 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25592 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25594 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25595 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25597 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25598 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25600 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25601 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25603 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25606 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25609 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25612 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25615 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25618 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25621 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25624 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25625 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25627 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25628 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25630 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25633 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25636 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25639 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25640 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25642 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25645 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25646 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25648 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25649 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25651 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25652 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25654 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25655 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25657 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25658 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25660 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25661 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25663 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25664 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25666 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25669 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25670 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25672 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25673 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25675 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25678 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25679 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25681 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25682 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25684 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25687 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25688 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25690 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25693 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25696 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25699 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25700 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25702 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25705 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25706 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25708 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25711 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25714 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25717 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25720 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25723 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25724 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25726 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25729 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25732 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25733 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25735 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25736 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25738 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25739 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25741 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
25742 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
25744 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25745 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25747 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25748 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25750 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25751 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25753 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25754 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25756 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25757 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25759 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25760 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25762 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25763 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25765 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25768 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25771 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25772 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25774 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25775 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25777 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25780 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25781 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25783 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25784 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25786 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25787 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25789 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25790 return (void *)((wxObject
*) ((wxSizer
*) x
));
25792 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25793 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25795 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25796 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25798 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25801 static void *_p_wxEventTo_p_wxObject(void *x
) {
25802 return (void *)((wxObject
*) ((wxEvent
*) x
));
25804 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25805 return (void *)((wxObject
*) ((wxFontData
*) x
));
25807 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25808 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25810 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25811 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25813 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25814 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25816 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25817 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25819 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25820 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25822 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25823 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25825 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25826 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25828 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25829 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25831 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25832 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25834 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25835 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25837 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25838 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25840 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25841 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25843 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25844 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25846 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25849 static void *_p_wxControlTo_p_wxObject(void *x
) {
25850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25852 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25853 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25855 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25858 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25859 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25861 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25862 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25864 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25865 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25867 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25870 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25871 return (void *)((wxObject
*) ((wxColourData
*) x
));
25873 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25874 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25876 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25877 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25879 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25882 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25885 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25888 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25891 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25894 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25897 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25900 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25903 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25906 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25907 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25909 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25910 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25912 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25913 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25915 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25916 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25918 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25921 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25922 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25924 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25925 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25927 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25928 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25930 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25931 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25933 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25934 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25936 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25937 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25939 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25940 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25942 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25943 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25945 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25946 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25948 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25949 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25951 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25952 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25954 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25955 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25957 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25958 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25960 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25961 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25963 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25964 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25966 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25967 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25969 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25970 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25972 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25973 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25975 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25976 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25978 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25979 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25981 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25984 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25987 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25988 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25990 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25993 static void *_p_wxImageTo_p_wxObject(void *x
) {
25994 return (void *)((wxObject
*) ((wxImage
*) x
));
25996 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25999 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26000 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26002 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26003 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26005 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26006 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26008 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26011 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26014 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26017 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26018 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26020 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26021 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26023 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26024 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26026 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26027 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26029 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26032 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26035 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26038 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26041 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26044 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26047 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26050 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26053 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26056 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26059 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26062 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26065 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26068 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26069 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26071 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26072 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26074 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26075 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26077 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26080 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26083 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26086 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26087 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26089 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26090 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26092 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26095 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26098 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26099 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26101 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26102 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26104 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26105 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26107 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26108 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26110 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26111 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26113 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26114 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26116 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26117 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26119 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26120 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26122 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26123 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26125 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26128 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26131 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26132 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26134 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26135 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26137 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26138 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26140 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26143 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26144 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26146 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26147 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26149 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26152 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26153 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26155 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26156 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26158 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26159 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26161 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26162 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26164 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26165 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26167 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26168 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26170 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26171 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26173 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26174 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26176 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26177 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26179 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26180 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26182 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26183 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26185 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26186 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26188 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26189 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26191 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26192 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26194 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
26195 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
26197 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26198 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26200 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26201 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26203 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26204 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26206 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26207 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26209 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26210 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26212 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26213 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26215 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26216 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26218 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26219 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26221 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26222 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26224 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26225 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26227 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26228 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26230 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26231 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26233 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26234 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26236 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26237 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26239 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26240 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26242 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26243 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26245 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26246 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26248 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26249 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26251 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26252 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26254 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26255 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26257 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26258 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26260 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26261 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26263 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26264 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26266 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26267 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26269 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26270 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26272 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26273 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26275 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26276 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26278 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26279 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26281 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26282 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26284 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26285 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26287 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26288 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26290 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26291 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26293 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26294 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26296 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26297 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26299 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26300 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26302 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26303 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26305 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26306 return (void *)((wxWindow
*) ((wxControl
*) x
));
26308 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26309 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26311 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26312 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26314 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26315 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26317 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26318 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26320 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26321 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26323 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26324 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26326 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26327 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26329 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26330 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26332 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26333 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26335 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26336 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26338 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26339 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26341 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26342 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26344 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26345 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26347 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26348 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26350 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26351 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26353 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26354 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26356 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26357 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26359 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26360 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26362 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26363 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26365 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26366 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26368 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26369 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26371 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26372 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26374 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26375 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26377 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26378 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26380 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26381 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26383 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26384 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26386 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26387 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26389 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26390 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26392 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26393 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26395 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26396 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26398 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26399 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26401 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26402 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26404 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26405 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26407 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26408 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26410 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26411 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26413 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26414 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26416 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26417 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26419 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26420 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26422 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26423 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26425 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26426 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26428 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26429 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26431 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26432 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26434 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26435 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26437 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26438 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26440 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26441 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26443 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26444 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26446 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26447 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26449 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26450 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26452 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26453 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26455 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26456 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26458 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26459 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26461 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26462 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26464 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26465 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26467 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}};
26468 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}};
26469 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}};
26470 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}};
26471 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}};
26472 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}};
26473 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}};
26474 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}};
26475 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}};
26476 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}};
26477 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}};
26478 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}};
26479 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}};
26480 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}};
26481 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}};
26482 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}};
26483 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}};
26484 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}};
26485 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}};
26486 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}};
26487 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}};
26488 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}};
26489 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}};
26490 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}};
26491 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}};
26492 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}};
26493 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}};
26494 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}};
26495 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}};
26496 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}};
26497 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}};
26498 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}};
26499 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}};
26500 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}};
26501 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}};
26502 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}};
26503 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}};
26504 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}};
26505 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}};
26506 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}};
26507 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}};
26508 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}};
26509 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}};
26510 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}};
26511 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}};
26512 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}};
26513 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}};
26514 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}};
26515 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}};
26516 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}};
26517 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}};
26518 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}};
26519 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}};
26520 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}};
26521 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}};
26522 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}};
26523 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}};
26524 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}};
26525 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}};
26526 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}};
26527 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}};
26528 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}};
26529 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}};
26530 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}};
26531 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}};
26532 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}};
26533 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}};
26534 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}};
26535 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}};
26536 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}};
26537 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}};
26538 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}};
26539 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}};
26540 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}};
26541 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}};
26542 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}};
26543 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}};
26544 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}};
26545 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}};
26546 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}};
26547 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}};
26548 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}};
26549 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}};
26550 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}};
26551 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}};
26552 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}};
26554 static swig_type_info
*swig_types_initial
[] = {
26555 _swigt__p_wxQueryLayoutInfoEvent
,
26556 _swigt__p_wxPreviewFrame
,
26557 _swigt__p_wxPyPreviewFrame
,
26558 _swigt__p_wxPyPanel
,
26560 _swigt__p_wxPrintData
,
26561 _swigt__p_wxFontData
,
26563 _swigt__p_wxTaskBarIcon
,
26564 _swigt__p_wxIconBundle
,
26565 _swigt__p_wxLayoutAlgorithm
,
26566 _swigt__p_wxFindDialogEvent
,
26567 _swigt__p_wxPreviewCanvas
,
26569 _swigt__p_wxSplitterEvent
,
26570 _swigt__p_wxRegion
,
26571 _swigt__p_wxFindReplaceData
,
26576 _swigt__p_wxVisualAttributes
,
26577 _swigt__p_wxMDIChildFrame
,
26578 _swigt__p_wxColourData
,
26579 _swigt__p_wxNotifyEvent
,
26580 _swigt__p_wxPyWindow
,
26581 _swigt__p_wxSplashScreen
,
26582 _swigt__p_wxFindReplaceDialog
,
26583 _swigt__p_wxProgressDialog
,
26584 _swigt__p_wxMessageDialog
,
26585 _swigt__p_wxTextEntryDialog
,
26586 _swigt__p_wxSingleChoiceDialog
,
26587 _swigt__p_wxMultiChoiceDialog
,
26588 _swigt__p_wxFileDialog
,
26589 _swigt__p_wxPrinter
,
26590 _swigt__p_wxArrayInt
,
26591 _swigt__p_wxEvtHandler
,
26592 _swigt__p_wxCalculateLayoutEvent
,
26593 _swigt__p_wxPyHtmlListBox
,
26594 _swigt__p_wxPyVListBox
,
26597 _swigt__p_wxMiniFrame
,
26599 _swigt__p_wxPyPrintout
,
26600 _swigt__p_wxTaskBarIconEvent
,
26601 _swigt__p_wxScrollWinEvent
,
26602 _swigt__p_wxStatusBar
,
26603 _swigt__p_wxMDIParentFrame
,
26605 _swigt__p_wxObject
,
26606 _swigt__p_wxOutputStream
,
26607 _swigt__p_wxPyScrolledWindow
,
26608 _swigt__p_wxMDIClientWindow
,
26609 _swigt__p_wxTipWindow
,
26610 _swigt__p_wxPyPopupTransientWindow
,
26611 _swigt__p_wxSashLayoutWindow
,
26612 _swigt__p_wxSplitterWindow
,
26613 _swigt__p_wxPyVScrolledWindow
,
26614 _swigt__p_wxPopupWindow
,
26615 _swigt__p_wxSashWindow
,
26616 _swigt__p_wxTopLevelWindow
,
26617 _swigt__p_wxWindow
,
26618 _swigt__p_wxScrolledWindow
,
26619 _swigt__p_wxSplashScreenWindow
,
26620 _swigt__p_wxMenuBar
,
26621 _swigt__p_wxPrintPreview
,
26622 _swigt__p_wxSashEvent
,
26623 _swigt__p_wxString
,
26624 _swigt__p_wxPyPrintPreview
,
26625 _swigt__p_wxFontDialog
,
26626 _swigt__p_wxDirDialog
,
26627 _swigt__p_wxColourDialog
,
26628 _swigt__p_wxDialog
,
26630 _swigt__p_wxPageSetupDialog
,
26631 _swigt__p_wxPrintDialog
,
26632 _swigt__p_wxFileSystem
,
26633 _swigt__p_wxBitmap
,
26634 _swigt__p_wxCommandEvent
,
26635 _swigt__p_wxPreviewControlBar
,
26636 _swigt__p_wxPyPreviewControlBar
,
26637 _swigt__p_wxColour
,
26638 _swigt__p_wxToolBar
,
26639 _swigt__p_wxPageSetupDialogData
,
26640 _swigt__p_wxPrintDialogData
,
26645 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26647 static swig_const_info swig_const_table
[] = {
26657 SWIGEXPORT(void) SWIG_init(void) {
26658 static PyObject
*SWIG_globals
= 0;
26659 static int typeinit
= 0;
26662 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26663 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26664 d
= PyModule_GetDict(m
);
26667 for (i
= 0; swig_types_initial
[i
]; i
++) {
26668 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26672 SWIG_InstallConstants(d
,swig_const_table
);
26674 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26675 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26676 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26677 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26678 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26679 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26680 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26681 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26682 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26683 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26684 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26685 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26686 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26687 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26688 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26689 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26690 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26691 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26692 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26693 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26694 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26695 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26696 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26697 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26698 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26699 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26700 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26701 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26702 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26703 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26704 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26705 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26706 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26707 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26708 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26709 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26710 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26711 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26712 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26713 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26714 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26715 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26716 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26717 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26718 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26719 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26720 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26721 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26722 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26723 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26724 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26725 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26726 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26727 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26728 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26729 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26730 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26731 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26732 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26733 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26734 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26735 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26736 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26737 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26738 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26739 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26740 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26741 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26742 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26743 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26744 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26745 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26746 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26747 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26748 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26749 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26750 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26751 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26752 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26753 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26754 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26755 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26756 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26757 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26758 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26759 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26760 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26761 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26762 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26763 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26764 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26765 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26766 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26768 // Map renamed classes back to their common name for OOR
26769 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26770 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26771 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26773 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26774 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26775 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26776 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26777 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26778 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26779 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26780 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26781 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26782 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26783 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26784 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26785 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26786 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26787 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26788 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26789 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26790 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26791 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26792 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26793 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26794 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26795 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26796 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26797 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26798 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26799 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26800 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26801 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26802 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26803 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26804 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26805 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26806 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26807 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26808 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26809 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26810 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26811 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26812 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26813 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26814 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26815 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26816 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26817 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26818 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26819 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26820 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26821 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26822 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26823 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26824 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26825 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26826 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26827 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26828 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26829 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26830 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26831 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26832 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26834 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");