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
;
1397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1412 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
*resultobj
;
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1421 if (!wxPyCheckForApp()) SWIG_fail
;
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 result
= (wxPanel
*)new wxPanel();
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) SWIG_fail
;
1428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1435 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
*resultobj
;
1437 wxPanel
*arg1
= (wxPanel
*) 0 ;
1438 wxWindow
*arg2
= (wxWindow
*) 0 ;
1439 int arg3
= (int) (int)-1 ;
1440 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1441 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1442 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1443 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1444 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1445 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1446 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1450 bool temp7
= False
;
1451 PyObject
* obj0
= 0 ;
1452 PyObject
* obj1
= 0 ;
1453 PyObject
* obj2
= 0 ;
1454 PyObject
* obj3
= 0 ;
1455 PyObject
* obj4
= 0 ;
1456 PyObject
* obj5
= 0 ;
1457 PyObject
* obj6
= 0 ;
1459 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1468 arg3
= (int const) SWIG_AsInt(obj2
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1474 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1480 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1484 arg6
= (long) SWIG_AsLong(obj5
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1489 arg7
= wxString_in_helper(obj6
);
1490 if (arg7
== NULL
) SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1518 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
*resultobj
;
1520 wxPanel
*arg1
= (wxPanel
*) 0 ;
1521 PyObject
* obj0
= 0 ;
1523 (char *) "self", NULL
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1531 (arg1
)->InitDialog();
1533 wxPyEndAllowThreads(__tstate
);
1534 if (PyErr_Occurred()) SWIG_fail
;
1536 Py_INCREF(Py_None
); resultobj
= Py_None
;
1543 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
*resultobj
;
1545 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1546 wxVisualAttributes result
;
1547 PyObject
* obj0
= 0 ;
1549 (char *) "variant", NULL
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1554 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1555 if (PyErr_Occurred()) SWIG_fail
;
1558 if (!wxPyCheckForApp()) SWIG_fail
;
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1566 wxVisualAttributes
* resultptr
;
1567 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1576 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1579 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1581 return Py_BuildValue((char *)"");
1583 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
*resultobj
;
1585 wxWindow
*arg1
= (wxWindow
*) 0 ;
1586 int arg2
= (int) (int)-1 ;
1587 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1588 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1589 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1590 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1591 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1592 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1593 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1594 wxScrolledWindow
*result
;
1597 bool temp6
= False
;
1598 PyObject
* obj0
= 0 ;
1599 PyObject
* obj1
= 0 ;
1600 PyObject
* obj2
= 0 ;
1601 PyObject
* obj3
= 0 ;
1602 PyObject
* obj4
= 0 ;
1603 PyObject
* obj5
= 0 ;
1605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1612 arg2
= (int const) SWIG_AsInt(obj1
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1618 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1624 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1628 arg5
= (long) SWIG_AsLong(obj4
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1633 arg6
= wxString_in_helper(obj5
);
1634 if (arg6
== NULL
) SWIG_fail
;
1639 if (!wxPyCheckForApp()) SWIG_fail
;
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1661 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
*resultobj
;
1663 wxScrolledWindow
*result
;
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1670 if (!wxPyCheckForApp()) SWIG_fail
;
1671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1672 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1674 wxPyEndAllowThreads(__tstate
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1684 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
*resultobj
;
1686 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1687 wxWindow
*arg2
= (wxWindow
*) 0 ;
1688 int arg3
= (int) (int)-1 ;
1689 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1690 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1691 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1692 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1693 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1694 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1695 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1699 bool temp7
= False
;
1700 PyObject
* obj0
= 0 ;
1701 PyObject
* obj1
= 0 ;
1702 PyObject
* obj2
= 0 ;
1703 PyObject
* obj3
= 0 ;
1704 PyObject
* obj4
= 0 ;
1705 PyObject
* obj5
= 0 ;
1706 PyObject
* obj6
= 0 ;
1708 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1717 arg3
= (int const) SWIG_AsInt(obj2
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1723 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1729 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1733 arg6
= (long) SWIG_AsLong(obj5
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1738 arg7
= wxString_in_helper(obj6
);
1739 if (arg7
== NULL
) SWIG_fail
;
1744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1747 wxPyEndAllowThreads(__tstate
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1767 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1774 int arg6
= (int) 0 ;
1775 int arg7
= (int) 0 ;
1776 bool arg8
= (bool) False
;
1777 PyObject
* obj0
= 0 ;
1778 PyObject
* obj1
= 0 ;
1779 PyObject
* obj2
= 0 ;
1780 PyObject
* obj3
= 0 ;
1781 PyObject
* obj4
= 0 ;
1782 PyObject
* obj5
= 0 ;
1783 PyObject
* obj6
= 0 ;
1784 PyObject
* obj7
= 0 ;
1786 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1792 arg2
= (int) SWIG_AsInt(obj1
);
1793 if (PyErr_Occurred()) SWIG_fail
;
1794 arg3
= (int) SWIG_AsInt(obj2
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1796 arg4
= (int) SWIG_AsInt(obj3
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1798 arg5
= (int) SWIG_AsInt(obj4
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1801 arg6
= (int) SWIG_AsInt(obj5
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1805 arg7
= (int) SWIG_AsInt(obj6
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1809 arg8
= (bool) SWIG_AsBool(obj7
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1814 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) SWIG_fail
;
1819 Py_INCREF(Py_None
); resultobj
= Py_None
;
1826 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
*resultobj
;
1828 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1831 PyObject
* obj0
= 0 ;
1832 PyObject
* obj1
= 0 ;
1833 PyObject
* obj2
= 0 ;
1835 (char *) "self",(char *) "x",(char *) "y", NULL
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1841 arg2
= (int) SWIG_AsInt(obj1
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1843 arg3
= (int) SWIG_AsInt(obj2
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1847 (arg1
)->Scroll(arg2
,arg3
);
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) SWIG_fail
;
1852 Py_INCREF(Py_None
); resultobj
= Py_None
;
1859 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
*resultobj
;
1861 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1864 PyObject
* obj0
= 0 ;
1865 PyObject
* obj1
= 0 ;
1867 (char *) "self",(char *) "orient", NULL
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1873 arg2
= (int) SWIG_AsInt(obj1
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= SWIG_FromInt((int)result
);
1889 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1891 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1894 PyObject
* obj0
= 0 ;
1895 PyObject
* obj1
= 0 ;
1896 PyObject
* obj2
= 0 ;
1898 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1904 arg2
= (int) SWIG_AsInt(obj1
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1906 arg3
= (int) SWIG_AsInt(obj2
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1910 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1912 wxPyEndAllowThreads(__tstate
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 Py_INCREF(Py_None
); resultobj
= Py_None
;
1922 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1927 PyObject
* obj0
= 0 ;
1928 PyObject
* obj1
= 0 ;
1929 PyObject
* obj2
= 0 ;
1931 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1937 arg2
= (int) SWIG_AsInt(obj1
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1939 arg3
= (int) SWIG_AsInt(obj2
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 (arg1
)->SetScrollRate(arg2
,arg3
);
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1948 Py_INCREF(Py_None
); resultobj
= Py_None
;
1955 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1957 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1958 int *arg2
= (int *) 0 ;
1959 int *arg3
= (int *) 0 ;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "self", NULL
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1979 Py_INCREF(Py_None
); resultobj
= Py_None
;
1981 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1982 resultobj
= t_output_helper(resultobj
,o
);
1985 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1986 resultobj
= t_output_helper(resultobj
,o
);
1994 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1996 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1999 PyObject
* obj0
= 0 ;
2000 PyObject
* obj1
= 0 ;
2001 PyObject
* obj2
= 0 ;
2003 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2009 arg2
= (bool) SWIG_AsBool(obj1
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2011 arg3
= (bool) SWIG_AsBool(obj2
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 (arg1
)->EnableScrolling(arg2
,arg3
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 Py_INCREF(Py_None
); resultobj
= Py_None
;
2027 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2029 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2030 int *arg2
= (int *) 0 ;
2031 int *arg3
= (int *) 0 ;
2034 PyObject
* obj0
= 0 ;
2036 (char *) "self", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 Py_INCREF(Py_None
); resultobj
= Py_None
;
2053 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2054 resultobj
= t_output_helper(resultobj
,o
);
2057 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2058 resultobj
= t_output_helper(resultobj
,o
);
2066 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
*resultobj
;
2068 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2071 PyObject
* obj0
= 0 ;
2072 PyObject
* obj1
= 0 ;
2073 PyObject
* obj2
= 0 ;
2075 (char *) "self",(char *) "xs",(char *) "ys", NULL
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2081 arg2
= (double) SWIG_AsDouble(obj1
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2083 arg3
= (double) SWIG_AsDouble(obj2
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 (arg1
)->SetScale(arg2
,arg3
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2092 Py_INCREF(Py_None
); resultobj
= Py_None
;
2099 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
*resultobj
;
2101 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2103 PyObject
* obj0
= 0 ;
2105 (char *) "self", NULL
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 resultobj
= SWIG_FromDouble((double)result
);
2125 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2131 (char *) "self", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) SWIG_fail
;
2144 resultobj
= SWIG_FromDouble((double)result
);
2151 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2152 PyObject
*resultobj
;
2153 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2157 PyObject
* obj0
= 0 ;
2158 PyObject
* obj1
= 0 ;
2160 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2175 wxPoint
* resultptr
;
2176 resultptr
= new wxPoint((wxPoint
&) result
);
2177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2185 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2186 PyObject
*resultobj
;
2187 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2190 int *arg4
= (int *) 0 ;
2191 int *arg5
= (int *) 0 ;
2194 PyObject
* obj0
= 0 ;
2195 PyObject
* obj1
= 0 ;
2196 PyObject
* obj2
= 0 ;
2200 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2203 arg2
= (int) SWIG_AsInt(obj1
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2205 arg3
= (int) SWIG_AsInt(obj2
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2214 Py_INCREF(Py_None
); resultobj
= Py_None
;
2216 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2217 resultobj
= t_output_helper(resultobj
,o
);
2220 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2221 resultobj
= t_output_helper(resultobj
,o
);
2229 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2234 argc
= PyObject_Length(args
);
2235 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2236 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2242 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2251 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2254 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2270 _v
= SWIG_CheckInt(argv
[1]);
2272 _v
= SWIG_CheckInt(argv
[2]);
2274 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2280 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2285 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2286 PyObject
*resultobj
;
2287 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2292 PyObject
* obj1
= 0 ;
2294 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2299 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2309 wxPoint
* resultptr
;
2310 resultptr
= new wxPoint((wxPoint
&) result
);
2311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2319 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2320 PyObject
*resultobj
;
2321 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2324 int *arg4
= (int *) 0 ;
2325 int *arg5
= (int *) 0 ;
2328 PyObject
* obj0
= 0 ;
2329 PyObject
* obj1
= 0 ;
2330 PyObject
* obj2
= 0 ;
2334 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2337 arg2
= (int) SWIG_AsInt(obj1
);
2338 if (PyErr_Occurred()) SWIG_fail
;
2339 arg3
= (int) SWIG_AsInt(obj2
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2345 wxPyEndAllowThreads(__tstate
);
2346 if (PyErr_Occurred()) SWIG_fail
;
2348 Py_INCREF(Py_None
); resultobj
= Py_None
;
2350 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2351 resultobj
= t_output_helper(resultobj
,o
);
2354 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2355 resultobj
= t_output_helper(resultobj
,o
);
2363 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2368 argc
= PyObject_Length(args
);
2369 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2370 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2376 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2385 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2388 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2396 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2404 _v
= SWIG_CheckInt(argv
[1]);
2406 _v
= SWIG_CheckInt(argv
[2]);
2408 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2414 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2419 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2421 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2422 PyObject
* obj0
= 0 ;
2424 (char *) "self", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 (arg1
)->AdjustScrollbars();
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2437 Py_INCREF(Py_None
); resultobj
= Py_None
;
2444 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2447 wxScrollWinEvent
*arg2
= 0 ;
2449 PyObject
* obj0
= 0 ;
2450 PyObject
* obj1
= 0 ;
2452 (char *) "self",(char *) "event", NULL
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2462 PyErr_SetString(PyExc_TypeError
,"null reference");
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 resultobj
= SWIG_FromInt((int)result
);
2479 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2482 wxWindow
*arg2
= (wxWindow
*) 0 ;
2483 PyObject
* obj0
= 0 ;
2484 PyObject
* obj1
= 0 ;
2486 (char *) "self",(char *) "target", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2496 (arg1
)->SetTargetWindow(arg2
);
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2501 Py_INCREF(Py_None
); resultobj
= Py_None
;
2508 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
*resultobj
;
2510 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2512 PyObject
* obj0
= 0 ;
2514 (char *) "self", NULL
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2528 resultobj
= wxPyMake_wxObject(result
, 0);
2536 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2542 PyObject
* obj1
= 0 ;
2544 (char *) "self",(char *) "rect", NULL
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2552 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2561 Py_INCREF(Py_None
); resultobj
= Py_None
;
2568 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
*resultobj
;
2570 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2572 PyObject
* obj0
= 0 ;
2574 (char *) "self", NULL
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2589 resultptr
= new wxRect((wxRect
&) result
);
2590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2598 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
*resultobj
;
2600 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2601 wxVisualAttributes result
;
2602 PyObject
* obj0
= 0 ;
2604 (char *) "variant", NULL
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2609 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2610 if (PyErr_Occurred()) SWIG_fail
;
2613 if (!wxPyCheckForApp()) SWIG_fail
;
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2621 wxVisualAttributes
* resultptr
;
2622 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2631 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2634 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2636 return Py_BuildValue((char *)"");
2638 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2639 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2644 static PyObject
*_wrap_FrameNameStr_get() {
2649 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2651 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2658 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2659 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2664 static PyObject
*_wrap_DialogNameStr_get() {
2669 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2671 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2678 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2679 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2684 static PyObject
*_wrap_StatusLineNameStr_get() {
2689 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2691 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2698 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2699 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2704 static PyObject
*_wrap_ToolBarNameStr_get() {
2709 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2711 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2718 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
*resultobj
;
2720 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2721 bool arg2
= (bool) True
;
2722 PyObject
* obj0
= 0 ;
2723 PyObject
* obj1
= 0 ;
2725 (char *) "self",(char *) "maximize", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2732 arg2
= (bool) SWIG_AsBool(obj1
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 (arg1
)->Maximize(arg2
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 Py_INCREF(Py_None
); resultobj
= Py_None
;
2749 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2751 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2752 PyObject
* obj0
= 0 ;
2754 (char *) "self", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2767 Py_INCREF(Py_None
); resultobj
= Py_None
;
2774 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2777 bool arg2
= (bool) True
;
2778 PyObject
* obj0
= 0 ;
2779 PyObject
* obj1
= 0 ;
2781 (char *) "self",(char *) "iconize", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2788 arg2
= (bool) SWIG_AsBool(obj1
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 (arg1
)->Iconize(arg2
);
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2798 Py_INCREF(Py_None
); resultobj
= Py_None
;
2805 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2807 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2809 PyObject
* obj0
= 0 ;
2811 (char *) "self", NULL
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2833 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
*resultobj
;
2835 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2837 PyObject
* obj0
= 0 ;
2839 (char *) "self", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2861 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
*resultobj
;
2863 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2865 PyObject
* obj0
= 0 ;
2867 (char *) "self", NULL
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2882 resultptr
= new wxIcon((wxIcon
&) result
);
2883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2891 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
*resultobj
;
2893 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2895 PyObject
* obj0
= 0 ;
2896 PyObject
* obj1
= 0 ;
2898 (char *) "self",(char *) "icon", NULL
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2908 PyErr_SetString(PyExc_TypeError
,"null reference");
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2918 Py_INCREF(Py_None
); resultobj
= Py_None
;
2925 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2928 wxIconBundle
*arg2
= 0 ;
2929 PyObject
* obj0
= 0 ;
2930 PyObject
* obj1
= 0 ;
2932 (char *) "self",(char *) "icons", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2942 PyErr_SetString(PyExc_TypeError
,"null reference");
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) SWIG_fail
;
2952 Py_INCREF(Py_None
); resultobj
= Py_None
;
2959 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2963 long arg3
= (long) wxFULLSCREEN_ALL
;
2965 PyObject
* obj0
= 0 ;
2966 PyObject
* obj1
= 0 ;
2967 PyObject
* obj2
= 0 ;
2969 (char *) "self",(char *) "show",(char *) "style", NULL
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2975 arg2
= (bool) SWIG_AsBool(obj1
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2978 arg3
= (long) SWIG_AsLong(obj2
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2997 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3001 PyObject
* obj0
= 0 ;
3003 (char *) "self", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3025 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3028 wxString
*arg2
= 0 ;
3029 bool temp2
= False
;
3030 PyObject
* obj0
= 0 ;
3031 PyObject
* obj1
= 0 ;
3033 (char *) "self",(char *) "title", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3040 arg2
= wxString_in_helper(obj1
);
3041 if (arg2
== NULL
) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 (arg1
)->SetTitle((wxString
const &)*arg2
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 Py_INCREF(Py_None
); resultobj
= Py_None
;
3066 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
;
3068 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3070 PyObject
* obj0
= 0 ;
3072 (char *) "self", NULL
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3098 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3101 wxRegion
*arg2
= 0 ;
3103 PyObject
* obj0
= 0 ;
3104 PyObject
* obj1
= 0 ;
3106 (char *) "self",(char *) "region", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3116 PyErr_SetString(PyExc_TypeError
,"null reference");
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3135 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3140 PyObject
* obj1
= 0 ;
3142 (char *) "self",(char *) "on", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 arg2
= (bool) SWIG_AsBool(obj1
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 (arg1
)->MacSetMetalAppearance(arg2
);
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3157 Py_INCREF(Py_None
); resultobj
= Py_None
;
3164 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3166 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3168 PyObject
* obj0
= 0 ;
3170 (char *) "self", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3192 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3195 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3197 return Py_BuildValue((char *)"");
3199 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxWindow
*arg1
= (wxWindow
*) 0 ;
3202 int arg2
= (int) (int)-1 ;
3203 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3204 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3205 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3206 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3207 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3208 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3209 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3210 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3211 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3213 bool temp3
= False
;
3216 bool temp7
= False
;
3217 PyObject
* obj0
= 0 ;
3218 PyObject
* obj1
= 0 ;
3219 PyObject
* obj2
= 0 ;
3220 PyObject
* obj3
= 0 ;
3221 PyObject
* obj4
= 0 ;
3222 PyObject
* obj5
= 0 ;
3223 PyObject
* obj6
= 0 ;
3225 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3232 arg2
= (int const) SWIG_AsInt(obj1
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3237 arg3
= wxString_in_helper(obj2
);
3238 if (arg3
== NULL
) SWIG_fail
;
3245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3251 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3255 arg6
= (long) SWIG_AsLong(obj5
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3260 arg7
= wxString_in_helper(obj6
);
3261 if (arg7
== NULL
) SWIG_fail
;
3266 if (!wxPyCheckForApp()) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3296 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3305 if (!wxPyCheckForApp()) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 result
= (wxFrame
*)new wxFrame();
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3319 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxFrame
*arg1
= (wxFrame
*) 0 ;
3322 wxWindow
*arg2
= (wxWindow
*) 0 ;
3323 int arg3
= (int) (int)-1 ;
3324 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3325 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3326 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3327 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3328 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3329 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3330 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3331 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3332 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3334 bool temp4
= False
;
3337 bool temp8
= False
;
3338 PyObject
* obj0
= 0 ;
3339 PyObject
* obj1
= 0 ;
3340 PyObject
* obj2
= 0 ;
3341 PyObject
* obj3
= 0 ;
3342 PyObject
* obj4
= 0 ;
3343 PyObject
* obj5
= 0 ;
3344 PyObject
* obj6
= 0 ;
3345 PyObject
* obj7
= 0 ;
3347 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 arg3
= (int const) SWIG_AsInt(obj2
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3361 arg4
= wxString_in_helper(obj3
);
3362 if (arg4
== NULL
) SWIG_fail
;
3369 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3375 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3379 arg7
= (long) SWIG_AsLong(obj6
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3384 arg8
= wxString_in_helper(obj7
);
3385 if (arg8
== NULL
) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3421 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxFrame
*arg1
= (wxFrame
*) 0 ;
3425 PyObject
* obj0
= 0 ;
3427 (char *) "self", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3441 wxPoint
* resultptr
;
3442 resultptr
= new wxPoint((wxPoint
&) result
);
3443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3451 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxFrame
*arg1
= (wxFrame
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3456 (char *) "self", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 (arg1
)->SendSizeEvent();
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 Py_INCREF(Py_None
); resultobj
= Py_None
;
3476 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxFrame
*arg1
= (wxFrame
*) 0 ;
3479 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3483 (char *) "self",(char *) "menubar", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 (arg1
)->SetMenuBar(arg2
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3498 Py_INCREF(Py_None
); resultobj
= Py_None
;
3505 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
*resultobj
;
3507 wxFrame
*arg1
= (wxFrame
*) 0 ;
3509 PyObject
* obj0
= 0 ;
3511 (char *) "self", NULL
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= wxPyMake_wxObject(result
, 0);
3533 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
;
3535 wxFrame
*arg1
= (wxFrame
*) 0 ;
3538 PyObject
* obj0
= 0 ;
3539 PyObject
* obj1
= 0 ;
3541 (char *) "self",(char *) "winid", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3547 arg2
= (int) SWIG_AsInt(obj1
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3565 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxFrame
*arg1
= (wxFrame
*) 0 ;
3568 int arg2
= (int) 1 ;
3569 long arg3
= (long) wxST_SIZEGRIP
;
3570 int arg4
= (int) 0 ;
3571 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3572 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3573 wxStatusBar
*result
;
3574 bool temp5
= False
;
3575 PyObject
* obj0
= 0 ;
3576 PyObject
* obj1
= 0 ;
3577 PyObject
* obj2
= 0 ;
3578 PyObject
* obj3
= 0 ;
3579 PyObject
* obj4
= 0 ;
3581 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3588 arg2
= (int) SWIG_AsInt(obj1
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3592 arg3
= (long) SWIG_AsLong(obj2
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3596 arg4
= (int) SWIG_AsInt(obj3
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3601 arg5
= wxString_in_helper(obj4
);
3602 if (arg5
== NULL
) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 resultobj
= wxPyMake_wxObject(result
, 0);
3630 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxFrame
*arg1
= (wxFrame
*) 0 ;
3633 wxStatusBar
*result
;
3634 PyObject
* obj0
= 0 ;
3636 (char *) "self", NULL
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3650 resultobj
= wxPyMake_wxObject(result
, 0);
3658 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxFrame
*arg1
= (wxFrame
*) 0 ;
3661 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3662 PyObject
* obj0
= 0 ;
3663 PyObject
* obj1
= 0 ;
3665 (char *) "self",(char *) "statBar", NULL
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 (arg1
)->SetStatusBar(arg2
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 Py_INCREF(Py_None
); resultobj
= Py_None
;
3687 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 wxFrame
*arg1
= (wxFrame
*) 0 ;
3690 wxString
*arg2
= 0 ;
3691 int arg3
= (int) 0 ;
3692 bool temp2
= False
;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3695 PyObject
* obj2
= 0 ;
3697 (char *) "self",(char *) "text",(char *) "number", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3704 arg2
= wxString_in_helper(obj1
);
3705 if (arg2
== NULL
) SWIG_fail
;
3709 arg3
= (int) SWIG_AsInt(obj2
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 Py_INCREF(Py_None
); resultobj
= Py_None
;
3734 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxFrame
*arg1
= (wxFrame
*) 0 ;
3738 int *arg3
= (int *) 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3742 (char *) "self",(char *) "widths", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 arg2
= PyList_Size(obj1
);
3750 arg3
= int_LIST_helper(obj1
);
3751 if (arg3
== NULL
) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 Py_INCREF(Py_None
); resultobj
= Py_None
;
3762 if (arg3
) delete [] arg3
;
3767 if (arg3
) delete [] arg3
;
3773 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
;
3775 wxFrame
*arg1
= (wxFrame
*) 0 ;
3776 wxString
*arg2
= 0 ;
3777 int arg3
= (int) 0 ;
3778 bool temp2
= False
;
3779 PyObject
* obj0
= 0 ;
3780 PyObject
* obj1
= 0 ;
3781 PyObject
* obj2
= 0 ;
3783 (char *) "self",(char *) "text",(char *) "number", NULL
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3790 arg2
= wxString_in_helper(obj1
);
3791 if (arg2
== NULL
) SWIG_fail
;
3795 arg3
= (int) SWIG_AsInt(obj2
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 Py_INCREF(Py_None
); resultobj
= Py_None
;
3820 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxFrame
*arg1
= (wxFrame
*) 0 ;
3823 int arg2
= (int) 0 ;
3824 PyObject
* obj0
= 0 ;
3825 PyObject
* obj1
= 0 ;
3827 (char *) "self",(char *) "number", NULL
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3834 arg2
= (int) SWIG_AsInt(obj1
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 (arg1
)->PopStatusText(arg2
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 Py_INCREF(Py_None
); resultobj
= Py_None
;
3851 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3853 wxFrame
*arg1
= (wxFrame
*) 0 ;
3855 PyObject
* obj0
= 0 ;
3856 PyObject
* obj1
= 0 ;
3858 (char *) "self",(char *) "n", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3864 arg2
= (int) SWIG_AsInt(obj1
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 (arg1
)->SetStatusBarPane(arg2
);
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3873 Py_INCREF(Py_None
); resultobj
= Py_None
;
3880 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3882 wxFrame
*arg1
= (wxFrame
*) 0 ;
3884 PyObject
* obj0
= 0 ;
3886 (char *) "self", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 resultobj
= SWIG_FromInt((int)result
);
3906 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
*resultobj
;
3908 wxFrame
*arg1
= (wxFrame
*) 0 ;
3909 long arg2
= (long) -1 ;
3910 int arg3
= (int) -1 ;
3911 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3912 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3914 bool temp4
= False
;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3917 PyObject
* obj2
= 0 ;
3918 PyObject
* obj3
= 0 ;
3920 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 arg2
= (long) SWIG_AsLong(obj1
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3931 arg3
= (int) SWIG_AsInt(obj2
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3936 arg4
= wxString_in_helper(obj3
);
3937 if (arg4
== NULL
) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= wxPyMake_wxObject(result
, 0);
3965 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxFrame
*arg1
= (wxFrame
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3971 (char *) "self", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= wxPyMake_wxObject(result
, 0);
3993 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxFrame
*arg1
= (wxFrame
*) 0 ;
3996 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3997 PyObject
* obj0
= 0 ;
3998 PyObject
* obj1
= 0 ;
4000 (char *) "self",(char *) "toolbar", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 (arg1
)->SetToolBar(arg2
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 Py_INCREF(Py_None
); resultobj
= Py_None
;
4022 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4024 wxFrame
*arg1
= (wxFrame
*) 0 ;
4025 wxString
*arg2
= 0 ;
4027 bool temp2
= False
;
4028 PyObject
* obj0
= 0 ;
4029 PyObject
* obj1
= 0 ;
4030 PyObject
* obj2
= 0 ;
4032 (char *) "self",(char *) "text",(char *) "show", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4039 arg2
= wxString_in_helper(obj1
);
4040 if (arg2
== NULL
) SWIG_fail
;
4043 arg3
= (bool) SWIG_AsBool(obj2
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 Py_INCREF(Py_None
); resultobj
= Py_None
;
4067 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxFrame
*arg1
= (wxFrame
*) 0 ;
4070 wxMenu
*arg2
= (wxMenu
*) NULL
;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4074 (char *) "self",(char *) "menu", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 (arg1
)->DoMenuUpdates(arg2
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 Py_INCREF(Py_None
); resultobj
= Py_None
;
4098 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
;
4100 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4101 wxVisualAttributes result
;
4102 PyObject
* obj0
= 0 ;
4104 (char *) "variant", NULL
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4109 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4113 if (!wxPyCheckForApp()) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4121 wxVisualAttributes
* resultptr
;
4122 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4131 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4134 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4136 return Py_BuildValue((char *)"");
4138 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
*resultobj
;
4140 wxWindow
*arg1
= (wxWindow
*) 0 ;
4141 int arg2
= (int) (int)-1 ;
4142 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4143 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4144 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4145 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4146 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4147 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4148 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4149 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4150 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4152 bool temp3
= False
;
4155 bool temp7
= False
;
4156 PyObject
* obj0
= 0 ;
4157 PyObject
* obj1
= 0 ;
4158 PyObject
* obj2
= 0 ;
4159 PyObject
* obj3
= 0 ;
4160 PyObject
* obj4
= 0 ;
4161 PyObject
* obj5
= 0 ;
4162 PyObject
* obj6
= 0 ;
4164 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4171 arg2
= (int const) SWIG_AsInt(obj1
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4176 arg3
= wxString_in_helper(obj2
);
4177 if (arg3
== NULL
) SWIG_fail
;
4184 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4190 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4194 arg6
= (long) SWIG_AsLong(obj5
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4199 arg7
= wxString_in_helper(obj6
);
4200 if (arg7
== NULL
) SWIG_fail
;
4205 if (!wxPyCheckForApp()) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4235 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4244 if (!wxPyCheckForApp()) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (wxDialog
*)new wxDialog();
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4258 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxDialog
*arg1
= (wxDialog
*) 0 ;
4261 wxWindow
*arg2
= (wxWindow
*) 0 ;
4262 int arg3
= (int) (int)-1 ;
4263 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4264 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4265 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4266 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4267 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4268 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4269 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4270 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4271 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4273 bool temp4
= False
;
4276 bool temp8
= False
;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4279 PyObject
* obj2
= 0 ;
4280 PyObject
* obj3
= 0 ;
4281 PyObject
* obj4
= 0 ;
4282 PyObject
* obj5
= 0 ;
4283 PyObject
* obj6
= 0 ;
4284 PyObject
* obj7
= 0 ;
4286 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4295 arg3
= (int const) SWIG_AsInt(obj2
);
4296 if (PyErr_Occurred()) SWIG_fail
;
4300 arg4
= wxString_in_helper(obj3
);
4301 if (arg4
== NULL
) SWIG_fail
;
4308 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4314 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4318 arg7
= (long) SWIG_AsLong(obj6
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4323 arg8
= wxString_in_helper(obj7
);
4324 if (arg8
== NULL
) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4360 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxDialog
*arg1
= (wxDialog
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4367 (char *) "self",(char *) "returnCode", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4373 arg2
= (int) SWIG_AsInt(obj1
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 (arg1
)->SetReturnCode(arg2
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 Py_INCREF(Py_None
); resultobj
= Py_None
;
4389 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4391 wxDialog
*arg1
= (wxDialog
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4395 (char *) "self", NULL
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_FromInt((int)result
);
4415 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 wxDialog
*arg1
= (wxDialog
*) 0 ;
4418 wxString
*arg2
= 0 ;
4420 bool temp2
= False
;
4421 PyObject
* obj0
= 0 ;
4422 PyObject
* obj1
= 0 ;
4424 (char *) "self",(char *) "message", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4431 arg2
= wxString_in_helper(obj1
);
4432 if (arg2
== NULL
) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= wxPyMake_wxSizer(result
, 0);
4459 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
*resultobj
;
4461 wxDialog
*arg1
= (wxDialog
*) 0 ;
4464 PyObject
* obj0
= 0 ;
4465 PyObject
* obj1
= 0 ;
4467 (char *) "self",(char *) "flags", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4473 arg2
= (long) SWIG_AsLong(obj1
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= wxPyMake_wxSizer(result
, 0);
4491 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4493 wxDialog
*arg1
= (wxDialog
*) 0 ;
4495 PyObject
* obj0
= 0 ;
4497 (char *) "self", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4519 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxDialog
*arg1
= (wxDialog
*) 0 ;
4523 PyObject
* obj0
= 0 ;
4525 (char *) "self", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 result
= (int)(arg1
)->ShowModal();
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= SWIG_FromInt((int)result
);
4545 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
*resultobj
;
4547 wxDialog
*arg1
= (wxDialog
*) 0 ;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4552 (char *) "self",(char *) "retCode", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4558 arg2
= (int) SWIG_AsInt(obj1
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 (arg1
)->EndModal(arg2
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4567 Py_INCREF(Py_None
); resultobj
= Py_None
;
4574 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
;
4576 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4577 wxVisualAttributes result
;
4578 PyObject
* obj0
= 0 ;
4580 (char *) "variant", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4585 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4589 if (!wxPyCheckForApp()) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4597 wxVisualAttributes
* resultptr
;
4598 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4607 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4610 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4612 return Py_BuildValue((char *)"");
4614 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 wxWindow
*arg1
= (wxWindow
*) 0 ;
4617 int arg2
= (int) (int)-1 ;
4618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4624 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4625 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4626 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4627 wxMiniFrame
*result
;
4628 bool temp3
= False
;
4631 bool temp7
= False
;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4634 PyObject
* obj2
= 0 ;
4635 PyObject
* obj3
= 0 ;
4636 PyObject
* obj4
= 0 ;
4637 PyObject
* obj5
= 0 ;
4638 PyObject
* obj6
= 0 ;
4640 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4647 arg2
= (int const) SWIG_AsInt(obj1
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4652 arg3
= wxString_in_helper(obj2
);
4653 if (arg3
== NULL
) SWIG_fail
;
4660 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4666 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4670 arg6
= (long) SWIG_AsLong(obj5
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4675 arg7
= wxString_in_helper(obj6
);
4676 if (arg7
== NULL
) SWIG_fail
;
4681 if (!wxPyCheckForApp()) SWIG_fail
;
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4711 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
*resultobj
;
4713 wxMiniFrame
*result
;
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4720 if (!wxPyCheckForApp()) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (wxMiniFrame
*)new wxMiniFrame();
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4734 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
;
4736 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4737 wxWindow
*arg2
= (wxWindow
*) 0 ;
4738 int arg3
= (int) (int)-1 ;
4739 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4740 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4741 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4742 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4743 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4744 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4745 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4746 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4747 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4749 bool temp4
= False
;
4752 bool temp8
= False
;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4755 PyObject
* obj2
= 0 ;
4756 PyObject
* obj3
= 0 ;
4757 PyObject
* obj4
= 0 ;
4758 PyObject
* obj5
= 0 ;
4759 PyObject
* obj6
= 0 ;
4760 PyObject
* obj7
= 0 ;
4762 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4771 arg3
= (int const) SWIG_AsInt(obj2
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4776 arg4
= wxString_in_helper(obj3
);
4777 if (arg4
== NULL
) SWIG_fail
;
4784 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4790 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4794 arg7
= (long) SWIG_AsLong(obj6
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4799 arg8
= wxString_in_helper(obj7
);
4800 if (arg8
== NULL
) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4836 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4839 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4841 return Py_BuildValue((char *)"");
4843 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxBitmap
*arg1
= 0 ;
4846 wxWindow
*arg2
= (wxWindow
*) 0 ;
4848 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4849 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4850 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4851 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4852 long arg6
= (long) wxNO_BORDER
;
4853 wxSplashScreenWindow
*result
;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4858 PyObject
* obj2
= 0 ;
4859 PyObject
* obj3
= 0 ;
4860 PyObject
* obj4
= 0 ;
4861 PyObject
* obj5
= 0 ;
4863 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4871 PyErr_SetString(PyExc_TypeError
,"null reference");
4874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4876 arg3
= (int) SWIG_AsInt(obj2
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4881 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4887 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4891 arg6
= (long) SWIG_AsLong(obj5
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4895 if (!wxPyCheckForApp()) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4909 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4911 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4912 wxBitmap
*arg2
= 0 ;
4913 PyObject
* obj0
= 0 ;
4914 PyObject
* obj1
= 0 ;
4916 (char *) "self",(char *) "bitmap", NULL
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4926 PyErr_SetString(PyExc_TypeError
,"null reference");
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 Py_INCREF(Py_None
); resultobj
= Py_None
;
4943 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4947 PyObject
* obj0
= 0 ;
4949 (char *) "self", NULL
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4959 result
= (wxBitmap
*) &_result_ref
;
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4966 wxBitmap
* resultptr
= new wxBitmap(*result
);
4967 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4975 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4978 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4980 return Py_BuildValue((char *)"");
4982 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxBitmap
*arg1
= 0 ;
4987 wxWindow
*arg4
= (wxWindow
*) 0 ;
4988 int arg5
= (int) -1 ;
4989 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4990 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4991 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4992 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4993 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4994 wxSplashScreen
*result
;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
4999 PyObject
* obj2
= 0 ;
5000 PyObject
* obj3
= 0 ;
5001 PyObject
* obj4
= 0 ;
5002 PyObject
* obj5
= 0 ;
5003 PyObject
* obj6
= 0 ;
5004 PyObject
* obj7
= 0 ;
5006 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5014 PyErr_SetString(PyExc_TypeError
,"null reference");
5017 arg2
= (long) SWIG_AsLong(obj1
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5019 arg3
= (int) SWIG_AsInt(obj2
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5021 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5024 arg5
= (int) SWIG_AsInt(obj4
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5030 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5036 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5040 arg8
= (long) SWIG_AsLong(obj7
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5044 if (!wxPyCheckForApp()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5058 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5062 PyObject
* obj0
= 0 ;
5064 (char *) "self", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= SWIG_FromLong((long)result
);
5084 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5087 wxSplashScreenWindow
*result
;
5088 PyObject
* obj0
= 0 ;
5090 (char *) "self", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5110 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5116 (char *) "self", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= SWIG_FromInt((int)result
);
5136 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5139 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5141 return Py_BuildValue((char *)"");
5143 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxWindow
*arg1
= (wxWindow
*) 0 ;
5146 int arg2
= (int) -1 ;
5147 long arg3
= (long) wxST_SIZEGRIP
;
5148 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5149 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5150 wxStatusBar
*result
;
5151 bool temp4
= False
;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5154 PyObject
* obj2
= 0 ;
5155 PyObject
* obj3
= 0 ;
5157 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5164 arg2
= (int) SWIG_AsInt(obj1
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 arg3
= (long) SWIG_AsLong(obj2
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5173 arg4
= wxString_in_helper(obj3
);
5174 if (arg4
== NULL
) SWIG_fail
;
5179 if (!wxPyCheckForApp()) SWIG_fail
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5201 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxStatusBar
*result
;
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5210 if (!wxPyCheckForApp()) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (wxStatusBar
*)new wxStatusBar();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5224 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5227 wxWindow
*arg2
= (wxWindow
*) 0 ;
5228 int arg3
= (int) -1 ;
5229 long arg4
= (long) wxST_SIZEGRIP
;
5230 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5231 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5233 bool temp5
= False
;
5234 PyObject
* obj0
= 0 ;
5235 PyObject
* obj1
= 0 ;
5236 PyObject
* obj2
= 0 ;
5237 PyObject
* obj3
= 0 ;
5238 PyObject
* obj4
= 0 ;
5240 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 arg3
= (int) SWIG_AsInt(obj2
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5253 arg4
= (long) SWIG_AsLong(obj3
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5258 arg5
= wxString_in_helper(obj4
);
5259 if (arg5
== NULL
) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5287 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5290 int arg2
= (int) 1 ;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5294 (char *) "self",(char *) "number", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5301 arg2
= (int) SWIG_AsInt(obj1
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 (arg1
)->SetFieldsCount(arg2
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5311 Py_INCREF(Py_None
); resultobj
= Py_None
;
5318 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
;
5320 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5322 PyObject
* obj0
= 0 ;
5324 (char *) "self", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= SWIG_FromInt((int)result
);
5344 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5347 wxString
*arg2
= 0 ;
5348 int arg3
= (int) 0 ;
5349 bool temp2
= False
;
5350 PyObject
* obj0
= 0 ;
5351 PyObject
* obj1
= 0 ;
5352 PyObject
* obj2
= 0 ;
5354 (char *) "self",(char *) "text",(char *) "number", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5361 arg2
= wxString_in_helper(obj1
);
5362 if (arg2
== NULL
) SWIG_fail
;
5366 arg3
= (int) SWIG_AsInt(obj2
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 Py_INCREF(Py_None
); resultobj
= Py_None
;
5391 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
;
5393 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5394 int arg2
= (int) 0 ;
5396 PyObject
* obj0
= 0 ;
5397 PyObject
* obj1
= 0 ;
5399 (char *) "self",(char *) "number", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 arg2
= (int) SWIG_AsInt(obj1
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5429 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5432 wxString
*arg2
= 0 ;
5433 int arg3
= (int) 0 ;
5434 bool temp2
= False
;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5437 PyObject
* obj2
= 0 ;
5439 (char *) "self",(char *) "text",(char *) "number", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5446 arg2
= wxString_in_helper(obj1
);
5447 if (arg2
== NULL
) SWIG_fail
;
5451 arg3
= (int) SWIG_AsInt(obj2
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 Py_INCREF(Py_None
); resultobj
= Py_None
;
5476 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5479 int arg2
= (int) 0 ;
5480 PyObject
* obj0
= 0 ;
5481 PyObject
* obj1
= 0 ;
5483 (char *) "self",(char *) "number", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5490 arg2
= (int) SWIG_AsInt(obj1
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 (arg1
)->PopStatusText(arg2
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 Py_INCREF(Py_None
); resultobj
= Py_None
;
5507 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5511 int *arg3
= (int *) 0 ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5515 (char *) "self",(char *) "widths", NULL
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5522 arg2
= PyList_Size(obj1
);
5523 arg3
= int_LIST_helper(obj1
);
5524 if (arg3
== NULL
) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 Py_INCREF(Py_None
); resultobj
= Py_None
;
5535 if (arg3
) delete [] arg3
;
5540 if (arg3
) delete [] arg3
;
5546 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5554 (char *) "self",(char *) "i", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 arg2
= (int) SWIG_AsInt(obj1
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5571 resultptr
= new wxRect((wxRect
&) result
);
5572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5580 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5587 (char *) "self",(char *) "height", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 arg2
= (int) SWIG_AsInt(obj1
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 (arg1
)->SetMinHeight(arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 Py_INCREF(Py_None
); resultobj
= Py_None
;
5609 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5615 (char *) "self", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= SWIG_FromInt((int)result
);
5635 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "self", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= SWIG_FromInt((int)result
);
5661 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5664 wxVisualAttributes result
;
5665 PyObject
* obj0
= 0 ;
5667 (char *) "variant", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5672 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5676 if (!wxPyCheckForApp()) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 wxVisualAttributes
* resultptr
;
5685 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5694 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5697 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5699 return Py_BuildValue((char *)"");
5701 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5702 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5707 static PyObject
*_wrap_SplitterNameStr_get() {
5712 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5714 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5721 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxWindow
*arg1
= (wxWindow
*) 0 ;
5724 int arg2
= (int) -1 ;
5725 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5726 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5727 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5728 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5729 long arg5
= (long) wxSP_3D
;
5730 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5731 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5732 wxSplitterWindow
*result
;
5735 bool temp6
= False
;
5736 PyObject
* obj0
= 0 ;
5737 PyObject
* obj1
= 0 ;
5738 PyObject
* obj2
= 0 ;
5739 PyObject
* obj3
= 0 ;
5740 PyObject
* obj4
= 0 ;
5741 PyObject
* obj5
= 0 ;
5743 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5750 arg2
= (int) SWIG_AsInt(obj1
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5756 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5762 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5766 arg5
= (long) SWIG_AsLong(obj4
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5771 arg6
= wxString_in_helper(obj5
);
5772 if (arg6
== NULL
) SWIG_fail
;
5777 if (!wxPyCheckForApp()) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5799 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
;
5801 wxSplitterWindow
*result
;
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5808 if (!wxPyCheckForApp()) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5822 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5825 wxWindow
*arg2
= (wxWindow
*) 0 ;
5826 int arg3
= (int) -1 ;
5827 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5828 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5829 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5830 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5831 long arg6
= (long) wxSP_3D
;
5832 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5833 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5837 bool temp7
= False
;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5840 PyObject
* obj2
= 0 ;
5841 PyObject
* obj3
= 0 ;
5842 PyObject
* obj4
= 0 ;
5843 PyObject
* obj5
= 0 ;
5844 PyObject
* obj6
= 0 ;
5846 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5855 arg3
= (int) SWIG_AsInt(obj2
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5861 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5867 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5871 arg6
= (long) SWIG_AsLong(obj5
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5876 arg7
= wxString_in_helper(obj6
);
5877 if (arg7
== NULL
) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5905 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5909 PyObject
* obj0
= 0 ;
5911 (char *) "self", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= wxPyMake_wxObject(result
, 0);
5933 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5937 PyObject
* obj0
= 0 ;
5939 (char *) "self", NULL
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= wxPyMake_wxObject(result
, 0);
5961 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5966 PyObject
* obj1
= 0 ;
5968 (char *) "self",(char *) "mode", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 arg2
= (int) SWIG_AsInt(obj1
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 (arg1
)->SetSplitMode(arg2
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 Py_INCREF(Py_None
); resultobj
= Py_None
;
5990 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5996 (char *) "self", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_FromInt((int)result
);
6016 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6019 wxWindow
*arg2
= (wxWindow
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6021 PyObject
* obj1
= 0 ;
6023 (char *) "self",(char *) "window", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 (arg1
)->Initialize(arg2
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 Py_INCREF(Py_None
); resultobj
= Py_None
;
6045 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
;
6047 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6048 wxWindow
*arg2
= (wxWindow
*) 0 ;
6049 wxWindow
*arg3
= (wxWindow
*) 0 ;
6050 int arg4
= (int) 0 ;
6052 PyObject
* obj0
= 0 ;
6053 PyObject
* obj1
= 0 ;
6054 PyObject
* obj2
= 0 ;
6055 PyObject
* obj3
= 0 ;
6057 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6065 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6068 arg4
= (int) SWIG_AsInt(obj3
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6087 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6090 wxWindow
*arg2
= (wxWindow
*) 0 ;
6091 wxWindow
*arg3
= (wxWindow
*) 0 ;
6092 int arg4
= (int) 0 ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6096 PyObject
* obj2
= 0 ;
6097 PyObject
* obj3
= 0 ;
6099 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6107 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6110 arg4
= (int) SWIG_AsInt(obj3
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6129 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6132 wxWindow
*arg2
= (wxWindow
*) NULL
;
6134 PyObject
* obj0
= 0 ;
6135 PyObject
* obj1
= 0 ;
6137 (char *) "self",(char *) "toRemove", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 result
= (bool)(arg1
)->Unsplit(arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6163 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
;
6165 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6166 wxWindow
*arg2
= (wxWindow
*) 0 ;
6167 wxWindow
*arg3
= (wxWindow
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6170 PyObject
* obj1
= 0 ;
6171 PyObject
* obj2
= 0 ;
6173 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6199 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6202 PyObject
* obj0
= 0 ;
6204 (char *) "self", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 (arg1
)->UpdateSize();
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 Py_INCREF(Py_None
); resultobj
= Py_None
;
6224 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6228 PyObject
* obj0
= 0 ;
6230 (char *) "self", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6252 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6259 (char *) "self",(char *) "width", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6265 arg2
= (int) SWIG_AsInt(obj1
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 (arg1
)->SetSashSize(arg2
);
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 Py_INCREF(Py_None
); resultobj
= Py_None
;
6281 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6286 PyObject
* obj1
= 0 ;
6288 (char *) "self",(char *) "width", NULL
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6294 arg2
= (int) SWIG_AsInt(obj1
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 (arg1
)->SetBorderSize(arg2
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 Py_INCREF(Py_None
); resultobj
= Py_None
;
6310 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6314 PyObject
* obj0
= 0 ;
6316 (char *) "self", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 resultobj
= SWIG_FromInt((int)result
);
6336 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6338 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6340 PyObject
* obj0
= 0 ;
6342 (char *) "self", NULL
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= SWIG_FromInt((int)result
);
6362 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6366 bool arg3
= (bool) True
;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 PyObject
* obj2
= 0 ;
6371 (char *) "self",(char *) "position",(char *) "redraw", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 arg2
= (int) SWIG_AsInt(obj1
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 arg3
= (bool) SWIG_AsBool(obj2
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 (arg1
)->SetSashPosition(arg2
,arg3
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 Py_INCREF(Py_None
); resultobj
= Py_None
;
6397 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6401 PyObject
* obj0
= 0 ;
6403 (char *) "self", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= SWIG_FromInt((int)result
);
6423 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6428 PyObject
* obj1
= 0 ;
6430 (char *) "self",(char *) "min", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6436 arg2
= (int) SWIG_AsInt(obj1
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 (arg1
)->SetMinimumPaneSize(arg2
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 Py_INCREF(Py_None
); resultobj
= Py_None
;
6452 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6456 PyObject
* obj0
= 0 ;
6458 (char *) "self", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= SWIG_FromInt((int)result
);
6478 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6483 int arg4
= (int) 5 ;
6485 PyObject
* obj0
= 0 ;
6486 PyObject
* obj1
= 0 ;
6487 PyObject
* obj2
= 0 ;
6488 PyObject
* obj3
= 0 ;
6490 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6496 arg2
= (int) SWIG_AsInt(obj1
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6498 arg3
= (int) SWIG_AsInt(obj2
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 arg4
= (int) SWIG_AsInt(obj3
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6520 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6523 PyObject
* obj0
= 0 ;
6525 (char *) "self", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 (arg1
)->SizeWindows();
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 Py_INCREF(Py_None
); resultobj
= Py_None
;
6545 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6552 (char *) "self",(char *) "needUpdating", NULL
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6558 arg2
= (bool) SWIG_AsBool(obj1
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 (arg1
)->SetNeedUpdating(arg2
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 Py_INCREF(Py_None
); resultobj
= Py_None
;
6574 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6578 PyObject
* obj0
= 0 ;
6580 (char *) "self", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6602 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6605 wxVisualAttributes result
;
6606 PyObject
* obj0
= 0 ;
6608 (char *) "variant", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6613 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 if (!wxPyCheckForApp()) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 wxVisualAttributes
* resultptr
;
6626 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6635 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6638 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6640 return Py_BuildValue((char *)"");
6642 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6645 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6646 wxSplitterEvent
*result
;
6647 PyObject
* obj0
= 0 ;
6648 PyObject
* obj1
= 0 ;
6650 (char *) "type",(char *) "splitter", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6655 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6676 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6683 (char *) "self",(char *) "pos", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6689 arg2
= (int) SWIG_AsInt(obj1
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 (arg1
)->SetSashPosition(arg2
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 Py_INCREF(Py_None
); resultobj
= Py_None
;
6705 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6711 (char *) "self", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 resultobj
= SWIG_FromInt((int)result
);
6731 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
;
6733 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6735 PyObject
* obj0
= 0 ;
6737 (char *) "self", NULL
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6751 resultobj
= wxPyMake_wxObject(result
, 0);
6759 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6765 (char *) "self", NULL
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= SWIG_FromInt((int)result
);
6785 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6789 PyObject
* obj0
= 0 ;
6791 (char *) "self", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= SWIG_FromInt((int)result
);
6811 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6814 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6816 return Py_BuildValue((char *)"");
6818 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6819 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6824 static PyObject
*_wrap_SashNameStr_get() {
6829 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6831 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6838 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6839 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6844 static PyObject
*_wrap_SashLayoutNameStr_get() {
6849 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6851 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6858 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxWindow
*arg1
= (wxWindow
*) 0 ;
6861 int arg2
= (int) -1 ;
6862 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6863 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6864 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6865 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6866 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6867 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6868 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6869 wxSashWindow
*result
;
6872 bool temp6
= False
;
6873 PyObject
* obj0
= 0 ;
6874 PyObject
* obj1
= 0 ;
6875 PyObject
* obj2
= 0 ;
6876 PyObject
* obj3
= 0 ;
6877 PyObject
* obj4
= 0 ;
6878 PyObject
* obj5
= 0 ;
6880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6887 arg2
= (int) SWIG_AsInt(obj1
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6899 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6903 arg5
= (long) SWIG_AsLong(obj4
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6908 arg6
= wxString_in_helper(obj5
);
6909 if (arg6
== NULL
) SWIG_fail
;
6914 if (!wxPyCheckForApp()) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6936 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6938 wxSashWindow
*result
;
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6945 if (!wxPyCheckForApp()) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (wxSashWindow
*)new wxSashWindow();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6959 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6962 wxWindow
*arg2
= (wxWindow
*) 0 ;
6963 int arg3
= (int) -1 ;
6964 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6965 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6966 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6967 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6968 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6969 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6970 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6974 bool temp7
= False
;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6977 PyObject
* obj2
= 0 ;
6978 PyObject
* obj3
= 0 ;
6979 PyObject
* obj4
= 0 ;
6980 PyObject
* obj5
= 0 ;
6981 PyObject
* obj6
= 0 ;
6983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6992 arg3
= (int) SWIG_AsInt(obj2
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6998 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7004 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7008 arg6
= (long) SWIG_AsLong(obj5
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7013 arg7
= wxString_in_helper(obj6
);
7014 if (arg7
== NULL
) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7042 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7047 PyObject
* obj0
= 0 ;
7048 PyObject
* obj1
= 0 ;
7049 PyObject
* obj2
= 0 ;
7051 (char *) "self",(char *) "edge",(char *) "sash", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7057 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7059 arg3
= (bool) SWIG_AsBool(obj2
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 Py_INCREF(Py_None
); resultobj
= Py_None
;
7075 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7083 (char *) "self",(char *) "edge", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7089 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7107 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
;
7109 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7114 PyObject
* obj2
= 0 ;
7116 (char *) "self",(char *) "edge",(char *) "border", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7122 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7124 arg3
= (bool) SWIG_AsBool(obj2
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7133 Py_INCREF(Py_None
); resultobj
= Py_None
;
7140 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
;
7142 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7148 (char *) "self",(char *) "edge", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7154 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7172 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj1
= 0 ;
7180 (char *) "self",(char *) "edge", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7186 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= SWIG_FromInt((int)result
);
7202 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
;
7204 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7206 PyObject
* obj0
= 0 ;
7207 PyObject
* obj1
= 0 ;
7209 (char *) "self",(char *) "width", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7215 arg2
= (int) SWIG_AsInt(obj1
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 (arg1
)->SetDefaultBorderSize(arg2
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 Py_INCREF(Py_None
); resultobj
= Py_None
;
7231 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7233 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7235 PyObject
* obj0
= 0 ;
7237 (char *) "self", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= SWIG_FromInt((int)result
);
7257 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7264 (char *) "self",(char *) "width", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7270 arg2
= (int) SWIG_AsInt(obj1
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 (arg1
)->SetExtraBorderSize(arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 Py_INCREF(Py_None
); resultobj
= Py_None
;
7286 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7290 PyObject
* obj0
= 0 ;
7292 (char *) "self", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_FromInt((int)result
);
7312 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7316 PyObject
* obj0
= 0 ;
7317 PyObject
* obj1
= 0 ;
7319 (char *) "self",(char *) "min", NULL
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7325 arg2
= (int) SWIG_AsInt(obj1
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 (arg1
)->SetMinimumSizeX(arg2
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 Py_INCREF(Py_None
); resultobj
= Py_None
;
7341 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7343 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7345 PyObject
* obj0
= 0 ;
7346 PyObject
* obj1
= 0 ;
7348 (char *) "self",(char *) "min", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7354 arg2
= (int) SWIG_AsInt(obj1
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 (arg1
)->SetMinimumSizeY(arg2
);
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 Py_INCREF(Py_None
); resultobj
= Py_None
;
7370 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7376 (char *) "self", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_FromInt((int)result
);
7396 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7402 (char *) "self", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= SWIG_FromInt((int)result
);
7422 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7426 PyObject
* obj0
= 0 ;
7427 PyObject
* obj1
= 0 ;
7429 (char *) "self",(char *) "max", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7435 arg2
= (int) SWIG_AsInt(obj1
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 (arg1
)->SetMaximumSizeX(arg2
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 Py_INCREF(Py_None
); resultobj
= Py_None
;
7451 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
*resultobj
;
7453 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7455 PyObject
* obj0
= 0 ;
7456 PyObject
* obj1
= 0 ;
7458 (char *) "self",(char *) "max", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7464 arg2
= (int) SWIG_AsInt(obj1
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 (arg1
)->SetMaximumSizeY(arg2
);
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 Py_INCREF(Py_None
); resultobj
= Py_None
;
7480 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7484 PyObject
* obj0
= 0 ;
7486 (char *) "self", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_FromInt((int)result
);
7506 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7510 PyObject
* obj0
= 0 ;
7512 (char *) "self", NULL
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_FromInt((int)result
);
7532 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7534 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7537 int arg4
= (int) 2 ;
7539 PyObject
* obj0
= 0 ;
7540 PyObject
* obj1
= 0 ;
7541 PyObject
* obj2
= 0 ;
7542 PyObject
* obj3
= 0 ;
7544 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7550 arg2
= (int) SWIG_AsInt(obj1
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7552 arg3
= (int) SWIG_AsInt(obj2
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7555 arg4
= (int) SWIG_AsInt(obj3
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_FromInt((int)result
);
7572 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7575 PyObject
* obj0
= 0 ;
7577 (char *) "self", NULL
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 (arg1
)->SizeWindows();
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 Py_INCREF(Py_None
); resultobj
= Py_None
;
7597 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7600 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7602 return Py_BuildValue((char *)"");
7604 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 int arg1
= (int) 0 ;
7607 int arg2
= (int) wxSASH_NONE
;
7608 wxSashEvent
*result
;
7609 PyObject
* obj0
= 0 ;
7610 PyObject
* obj1
= 0 ;
7612 (char *) "id",(char *) "edge", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7617 arg1
= (int) SWIG_AsInt(obj0
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7621 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7638 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7640 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7645 (char *) "self",(char *) "edge", NULL
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7651 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 Py_INCREF(Py_None
); resultobj
= Py_None
;
7667 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7671 PyObject
* obj0
= 0 ;
7673 (char *) "self", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= SWIG_FromInt((int)result
);
7693 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7698 PyObject
* obj0
= 0 ;
7699 PyObject
* obj1
= 0 ;
7701 (char *) "self",(char *) "rect", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7709 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 Py_INCREF(Py_None
); resultobj
= Py_None
;
7725 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7729 PyObject
* obj0
= 0 ;
7731 (char *) "self", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7746 resultptr
= new wxRect((wxRect
&) result
);
7747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7755 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7759 PyObject
* obj0
= 0 ;
7760 PyObject
* obj1
= 0 ;
7762 (char *) "self",(char *) "status", NULL
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7768 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 Py_INCREF(Py_None
); resultobj
= Py_None
;
7784 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7790 (char *) "self", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_FromInt((int)result
);
7810 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7813 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7815 return Py_BuildValue((char *)"");
7817 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 int arg1
= (int) 0 ;
7820 wxQueryLayoutInfoEvent
*result
;
7821 PyObject
* obj0
= 0 ;
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7828 arg1
= (int) SWIG_AsInt(obj0
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7845 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7852 (char *) "self",(char *) "length", NULL
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 arg2
= (int) SWIG_AsInt(obj1
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 (arg1
)->SetRequestedLength(arg2
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 Py_INCREF(Py_None
); resultobj
= Py_None
;
7874 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7878 PyObject
* obj0
= 0 ;
7880 (char *) "self", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 resultobj
= SWIG_FromInt((int)result
);
7900 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
;
7902 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7904 PyObject
* obj0
= 0 ;
7905 PyObject
* obj1
= 0 ;
7907 (char *) "self",(char *) "flags", NULL
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7913 arg2
= (int) SWIG_AsInt(obj1
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 (arg1
)->SetFlags(arg2
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 Py_INCREF(Py_None
); resultobj
= Py_None
;
7929 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7933 PyObject
* obj0
= 0 ;
7935 (char *) "self", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_FromInt((int)result
);
7955 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7963 (char *) "self",(char *) "size", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7971 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 (arg1
)->SetSize((wxSize
const &)*arg2
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 Py_INCREF(Py_None
); resultobj
= Py_None
;
7987 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7989 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7991 PyObject
* obj0
= 0 ;
7993 (char *) "self", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8008 resultptr
= new wxSize((wxSize
&) result
);
8009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8017 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8024 (char *) "self",(char *) "orient", NULL
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8030 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 Py_INCREF(Py_None
); resultobj
= Py_None
;
8046 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8050 PyObject
* obj0
= 0 ;
8052 (char *) "self", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= SWIG_FromInt((int)result
);
8072 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8079 (char *) "self",(char *) "align", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8085 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 Py_INCREF(Py_None
); resultobj
= Py_None
;
8101 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8105 PyObject
* obj0
= 0 ;
8107 (char *) "self", NULL
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_FromInt((int)result
);
8127 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8130 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8132 return Py_BuildValue((char *)"");
8134 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 int arg1
= (int) 0 ;
8137 wxCalculateLayoutEvent
*result
;
8138 PyObject
* obj0
= 0 ;
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8145 arg1
= (int) SWIG_AsInt(obj0
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8162 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8166 PyObject
* obj0
= 0 ;
8167 PyObject
* obj1
= 0 ;
8169 (char *) "self",(char *) "flags", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 arg2
= (int) SWIG_AsInt(obj1
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 (arg1
)->SetFlags(arg2
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 Py_INCREF(Py_None
); resultobj
= Py_None
;
8191 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8197 (char *) "self", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_FromInt((int)result
);
8217 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8222 PyObject
* obj0
= 0 ;
8223 PyObject
* obj1
= 0 ;
8225 (char *) "self",(char *) "rect", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8233 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 (arg1
)->SetRect((wxRect
const &)*arg2
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 Py_INCREF(Py_None
); resultobj
= Py_None
;
8249 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
;
8251 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8255 (char *) "self", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8270 resultptr
= new wxRect((wxRect
&) result
);
8271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8279 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8282 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8284 return Py_BuildValue((char *)"");
8286 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxWindow
*arg1
= (wxWindow
*) 0 ;
8289 int arg2
= (int) -1 ;
8290 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8291 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8292 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8293 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8294 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8295 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8296 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8297 wxSashLayoutWindow
*result
;
8300 bool temp6
= False
;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 PyObject
* obj2
= 0 ;
8304 PyObject
* obj3
= 0 ;
8305 PyObject
* obj4
= 0 ;
8306 PyObject
* obj5
= 0 ;
8308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8315 arg2
= (int) SWIG_AsInt(obj1
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8321 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8327 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8331 arg5
= (long) SWIG_AsLong(obj4
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8336 arg6
= wxString_in_helper(obj5
);
8337 if (arg6
== NULL
) SWIG_fail
;
8342 if (!wxPyCheckForApp()) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8364 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxSashLayoutWindow
*result
;
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8373 if (!wxPyCheckForApp()) SWIG_fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8387 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
;
8389 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8390 wxWindow
*arg2
= (wxWindow
*) 0 ;
8391 int arg3
= (int) -1 ;
8392 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8393 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8394 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8395 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8396 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8397 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8398 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8402 bool temp7
= False
;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8405 PyObject
* obj2
= 0 ;
8406 PyObject
* obj3
= 0 ;
8407 PyObject
* obj4
= 0 ;
8408 PyObject
* obj5
= 0 ;
8409 PyObject
* obj6
= 0 ;
8411 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8420 arg3
= (int) SWIG_AsInt(obj2
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8436 arg6
= (long) SWIG_AsLong(obj5
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8441 arg7
= wxString_in_helper(obj6
);
8442 if (arg7
== NULL
) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8470 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8474 PyObject
* obj0
= 0 ;
8476 (char *) "self", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (int)(arg1
)->GetAlignment();
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_FromInt((int)result
);
8496 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8500 PyObject
* obj0
= 0 ;
8502 (char *) "self", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (int)(arg1
)->GetOrientation();
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= SWIG_FromInt((int)result
);
8522 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
;
8524 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8529 (char *) "self",(char *) "alignment", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 Py_INCREF(Py_None
); resultobj
= Py_None
;
8551 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8559 (char *) "self",(char *) "size", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8567 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 Py_INCREF(Py_None
); resultobj
= Py_None
;
8583 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj1
= 0 ;
8590 (char *) "self",(char *) "orientation", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8596 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8605 Py_INCREF(Py_None
); resultobj
= Py_None
;
8612 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8615 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8617 return Py_BuildValue((char *)"");
8619 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxLayoutAlgorithm
*result
;
8626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8641 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8644 PyObject
* obj0
= 0 ;
8646 (char *) "self", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 Py_INCREF(Py_None
); resultobj
= Py_None
;
8666 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8669 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8670 wxRect
*arg3
= (wxRect
*) NULL
;
8672 PyObject
* obj0
= 0 ;
8673 PyObject
* obj1
= 0 ;
8674 PyObject
* obj2
= 0 ;
8676 (char *) "self",(char *) "frame",(char *) "rect", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8685 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8704 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8707 wxFrame
*arg2
= (wxFrame
*) 0 ;
8708 wxWindow
*arg3
= (wxWindow
*) NULL
;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8712 PyObject
* obj2
= 0 ;
8714 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8723 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8728 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8742 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8745 wxWindow
*arg2
= (wxWindow
*) 0 ;
8746 wxWindow
*arg3
= (wxWindow
*) NULL
;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8752 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8761 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8780 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8783 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8785 return Py_BuildValue((char *)"");
8787 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxWindow
*arg1
= (wxWindow
*) 0 ;
8790 int arg2
= (int) wxBORDER_NONE
;
8791 wxPopupWindow
*result
;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8795 (char *) "parent",(char *) "flags", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8802 arg2
= (int) SWIG_AsInt(obj1
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8819 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxPopupWindow
*result
;
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (wxPopupWindow
*)new wxPopupWindow();
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8841 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8844 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8846 return Py_BuildValue((char *)"");
8848 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxWindow
*arg1
= (wxWindow
*) 0 ;
8851 int arg2
= (int) wxBORDER_NONE
;
8852 wxPyPopupTransientWindow
*result
;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8856 (char *) "parent",(char *) "style", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8863 arg2
= (int) SWIG_AsInt(obj1
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8880 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxPyPopupTransientWindow
*result
;
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8902 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8905 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8907 return Py_BuildValue((char *)"");
8909 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxWindow
*arg1
= (wxWindow
*) 0 ;
8912 wxString
*arg2
= 0 ;
8913 int arg3
= (int) 100 ;
8914 wxRect
*arg4
= (wxRect
*) NULL
;
8915 wxTipWindow
*result
;
8916 bool temp2
= False
;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8919 PyObject
* obj2
= 0 ;
8920 PyObject
* obj3
= 0 ;
8922 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 arg2
= wxString_in_helper(obj1
);
8930 if (arg2
== NULL
) SWIG_fail
;
8934 arg3
= (int) SWIG_AsInt(obj2
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8938 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8942 if (!wxPyCheckForApp()) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8964 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8969 PyObject
* obj0
= 0 ;
8970 PyObject
* obj1
= 0 ;
8972 (char *) "self",(char *) "rectBound", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8980 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 Py_INCREF(Py_None
); resultobj
= Py_None
;
8996 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8999 PyObject
* obj0
= 0 ;
9001 (char *) "self", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 Py_INCREF(Py_None
); resultobj
= Py_None
;
9021 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9024 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9026 return Py_BuildValue((char *)"");
9028 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxWindow
*arg1
= (wxWindow
*) 0 ;
9031 int arg2
= (int) wxID_ANY
;
9032 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9033 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9034 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9035 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9036 long arg5
= (long) 0 ;
9037 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9038 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9039 wxPyVScrolledWindow
*result
;
9042 bool temp6
= False
;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9045 PyObject
* obj2
= 0 ;
9046 PyObject
* obj3
= 0 ;
9047 PyObject
* obj4
= 0 ;
9048 PyObject
* obj5
= 0 ;
9050 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9057 arg2
= (int) SWIG_AsInt(obj1
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9063 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9069 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9073 arg5
= (long) SWIG_AsLong(obj4
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9078 arg6
= wxString_in_helper(obj5
);
9079 if (arg6
== NULL
) SWIG_fail
;
9084 if (!wxPyCheckForApp()) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9106 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxPyVScrolledWindow
*result
;
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9115 if (!wxPyCheckForApp()) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9129 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9131 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9132 PyObject
*arg2
= (PyObject
*) 0 ;
9133 PyObject
*arg3
= (PyObject
*) 0 ;
9134 PyObject
* obj0
= 0 ;
9135 PyObject
* obj1
= 0 ;
9136 PyObject
* obj2
= 0 ;
9138 (char *) "self",(char *) "self",(char *) "_class", NULL
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 Py_INCREF(Py_None
); resultobj
= Py_None
;
9160 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
;
9162 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9163 wxWindow
*arg2
= (wxWindow
*) 0 ;
9164 int arg3
= (int) wxID_ANY
;
9165 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9166 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9167 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9168 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9169 long arg6
= (long) 0 ;
9170 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9171 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9175 bool temp7
= False
;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9178 PyObject
* obj2
= 0 ;
9179 PyObject
* obj3
= 0 ;
9180 PyObject
* obj4
= 0 ;
9181 PyObject
* obj5
= 0 ;
9182 PyObject
* obj6
= 0 ;
9184 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 arg3
= (int) SWIG_AsInt(obj2
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9199 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9205 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9209 arg6
= (long) SWIG_AsLong(obj5
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9214 arg7
= wxString_in_helper(obj6
);
9215 if (arg7
== NULL
) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9243 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9248 PyObject
* obj1
= 0 ;
9250 (char *) "self",(char *) "count", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9256 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 (arg1
)->SetLineCount(arg2
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 Py_INCREF(Py_None
); resultobj
= Py_None
;
9272 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
;
9274 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9280 (char *) "self",(char *) "line", NULL
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9286 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9304 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9310 PyObject
* obj1
= 0 ;
9312 (char *) "self",(char *) "lines", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9318 arg2
= (int) SWIG_AsInt(obj1
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (bool)(arg1
)->ScrollLines(arg2
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9336 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9344 (char *) "self",(char *) "pages", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9350 arg2
= (int) SWIG_AsInt(obj1
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (bool)(arg1
)->ScrollPages(arg2
);
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9368 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
;
9370 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9372 PyObject
* obj0
= 0 ;
9373 PyObject
* obj1
= 0 ;
9375 (char *) "self",(char *) "line", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9381 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 (arg1
)->RefreshLine(arg2
);
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 Py_INCREF(Py_None
); resultobj
= Py_None
;
9397 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
;
9399 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9402 PyObject
* obj0
= 0 ;
9403 PyObject
* obj1
= 0 ;
9404 PyObject
* obj2
= 0 ;
9406 (char *) "self",(char *) "from",(char *) "to", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9412 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9414 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 (arg1
)->RefreshLines(arg2
,arg3
);
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 Py_INCREF(Py_None
); resultobj
= Py_None
;
9430 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9437 PyObject
* obj1
= 0 ;
9438 PyObject
* obj2
= 0 ;
9440 (char *) "self",(char *) "x",(char *) "y", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9446 arg2
= (int) SWIG_AsInt(obj1
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9448 arg3
= (int) SWIG_AsInt(obj2
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_FromInt((int)result
);
9464 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9471 PyObject
* obj1
= 0 ;
9473 (char *) "self",(char *) "pt", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_FromInt((int)result
);
9497 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9502 (char *) "self", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 (arg1
)->RefreshAll();
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 Py_INCREF(Py_None
); resultobj
= Py_None
;
9522 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9548 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9552 PyObject
* obj0
= 0 ;
9554 (char *) "self", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9574 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9600 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9608 (char *) "self",(char *) "line", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9632 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9635 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9637 return Py_BuildValue((char *)"");
9639 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9640 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9645 static PyObject
*_wrap_VListBoxNameStr_get() {
9650 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9652 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9659 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
;
9661 wxWindow
*arg1
= (wxWindow
*) 0 ;
9662 int arg2
= (int) wxID_ANY
;
9663 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9664 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9665 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9666 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9667 long arg5
= (long) 0 ;
9668 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9669 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9670 wxPyVListBox
*result
;
9673 bool temp6
= False
;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 PyObject
* obj2
= 0 ;
9677 PyObject
* obj3
= 0 ;
9678 PyObject
* obj4
= 0 ;
9679 PyObject
* obj5
= 0 ;
9681 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9688 arg2
= (int) SWIG_AsInt(obj1
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9694 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9700 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9704 arg5
= (long) SWIG_AsLong(obj4
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9709 arg6
= wxString_in_helper(obj5
);
9710 if (arg6
== NULL
) SWIG_fail
;
9715 if (!wxPyCheckForApp()) SWIG_fail
;
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9737 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxPyVListBox
*result
;
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9746 if (!wxPyCheckForApp()) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= (wxPyVListBox
*)new wxPyVListBox();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9760 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9763 PyObject
*arg2
= (PyObject
*) 0 ;
9764 PyObject
*arg3
= (PyObject
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 PyObject
* obj2
= 0 ;
9769 (char *) "self",(char *) "self",(char *) "_class", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 Py_INCREF(Py_None
); resultobj
= Py_None
;
9791 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9793 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9794 wxWindow
*arg2
= (wxWindow
*) 0 ;
9795 int arg3
= (int) wxID_ANY
;
9796 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9797 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9798 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9799 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9800 long arg6
= (long) 0 ;
9801 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9802 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9806 bool temp7
= False
;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9809 PyObject
* obj2
= 0 ;
9810 PyObject
* obj3
= 0 ;
9811 PyObject
* obj4
= 0 ;
9812 PyObject
* obj5
= 0 ;
9813 PyObject
* obj6
= 0 ;
9815 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9824 arg3
= (int) SWIG_AsInt(obj2
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9840 arg6
= (long) SWIG_AsLong(obj5
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9845 arg7
= wxString_in_helper(obj6
);
9846 if (arg7
== NULL
) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9874 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9880 (char *) "self", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9900 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9904 PyObject
* obj0
= 0 ;
9906 (char *) "self", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9928 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9934 (char *) "self", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_FromInt((int)result
);
9954 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9959 PyObject
* obj0
= 0 ;
9960 PyObject
* obj1
= 0 ;
9962 (char *) "self",(char *) "item", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9968 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9986 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9991 PyObject
* obj0
= 0 ;
9992 PyObject
* obj1
= 0 ;
9994 (char *) "self",(char *) "item", NULL
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10000 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10018 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10022 PyObject
* obj0
= 0 ;
10023 char *kwnames
[] = {
10024 (char *) "self", NULL
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10044 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10048 PyObject
* obj0
= 0 ;
10049 char *kwnames
[] = {
10050 (char *) "self", NULL
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= result
;
10070 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
*resultobj
;
10072 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10073 unsigned long arg2
;
10075 PyObject
* obj0
= 0 ;
10076 PyObject
* obj1
= 0 ;
10077 char *kwnames
[] = {
10078 (char *) "self",(char *) "cookie", NULL
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10084 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= result
;
10100 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10104 PyObject
* obj0
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "self", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10120 wxPoint
* resultptr
;
10121 resultptr
= new wxPoint((wxPoint
&) result
);
10122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10130 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10134 PyObject
* obj0
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "self", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10146 result
= (wxColour
*) &_result_ref
;
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10159 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "count", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 (arg1
)->SetItemCount(arg2
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 Py_INCREF(Py_None
); resultobj
= Py_None
;
10188 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 Py_INCREF(Py_None
); resultobj
= Py_None
;
10213 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self",(char *) "selection", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10226 arg2
= (int) SWIG_AsInt(obj1
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 (arg1
)->SetSelection(arg2
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 Py_INCREF(Py_None
); resultobj
= Py_None
;
10242 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
;
10244 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10246 bool arg3
= (bool) True
;
10248 PyObject
* obj0
= 0 ;
10249 PyObject
* obj1
= 0 ;
10250 PyObject
* obj2
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self",(char *) "item",(char *) "select", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10258 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 arg3
= (bool) SWIG_AsBool(obj2
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10280 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 PyObject
* obj1
= 0 ;
10288 PyObject
* obj2
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self",(char *) "from",(char *) "to", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10296 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10298 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10316 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
;
10318 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 PyObject
* obj1
= 0 ;
10322 char *kwnames
[] = {
10323 (char *) "self",(char *) "item", NULL
10326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10329 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 (arg1
)->Toggle(arg2
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 Py_INCREF(Py_None
); resultobj
= Py_None
;
10345 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 char *kwnames
[] = {
10351 (char *) "self", NULL
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 result
= (bool)(arg1
)->SelectAll();
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10373 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (bool)(arg1
)->DeselectAll();
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10401 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10404 wxPoint
*arg2
= 0 ;
10406 PyObject
* obj0
= 0 ;
10407 PyObject
* obj1
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "self",(char *) "pt", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 Py_INCREF(Py_None
); resultobj
= Py_None
;
10433 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 PyObject
* obj2
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self",(char *) "x",(char *) "y", NULL
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10448 arg2
= (int) SWIG_AsInt(obj1
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10450 arg3
= (int) SWIG_AsInt(obj2
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 (arg1
)->SetMargins(arg2
,arg3
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 Py_INCREF(Py_None
); resultobj
= Py_None
;
10466 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10469 wxColour
*arg2
= 0 ;
10471 PyObject
* obj0
= 0 ;
10472 PyObject
* obj1
= 0 ;
10473 char *kwnames
[] = {
10474 (char *) "self",(char *) "col", NULL
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10482 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 Py_INCREF(Py_None
); resultobj
= Py_None
;
10498 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10501 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10503 return Py_BuildValue((char *)"");
10505 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxWindow
*arg1
= (wxWindow
*) 0 ;
10508 int arg2
= (int) wxID_ANY
;
10509 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10510 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10511 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10512 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10513 long arg5
= (long) 0 ;
10514 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10515 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10516 wxPyHtmlListBox
*result
;
10519 bool temp6
= False
;
10520 PyObject
* obj0
= 0 ;
10521 PyObject
* obj1
= 0 ;
10522 PyObject
* obj2
= 0 ;
10523 PyObject
* obj3
= 0 ;
10524 PyObject
* obj4
= 0 ;
10525 PyObject
* obj5
= 0 ;
10526 char *kwnames
[] = {
10527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10534 arg2
= (int) SWIG_AsInt(obj1
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10546 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10550 arg5
= (long) SWIG_AsLong(obj4
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10555 arg6
= wxString_in_helper(obj5
);
10556 if (arg6
== NULL
) SWIG_fail
;
10561 if (!wxPyCheckForApp()) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10583 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 wxPyHtmlListBox
*result
;
10586 char *kwnames
[] = {
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10592 if (!wxPyCheckForApp()) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10606 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10609 PyObject
*arg2
= (PyObject
*) 0 ;
10610 PyObject
*arg3
= (PyObject
*) 0 ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 PyObject
* obj2
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self",(char *) "self",(char *) "_class", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10637 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10640 wxWindow
*arg2
= (wxWindow
*) 0 ;
10641 int arg3
= (int) wxID_ANY
;
10642 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10643 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10644 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10645 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10646 long arg6
= (long) 0 ;
10647 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10648 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10652 bool temp7
= False
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 PyObject
* obj2
= 0 ;
10656 PyObject
* obj3
= 0 ;
10657 PyObject
* obj4
= 0 ;
10658 PyObject
* obj5
= 0 ;
10659 PyObject
* obj6
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10670 arg3
= (int) SWIG_AsInt(obj2
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10686 arg6
= (long) SWIG_AsLong(obj5
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10691 arg7
= wxString_in_helper(obj6
);
10692 if (arg7
== NULL
) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10720 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 (arg1
)->RefreshAll();
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 Py_INCREF(Py_None
); resultobj
= Py_None
;
10745 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self",(char *) "count", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 (arg1
)->SetItemCount(arg2
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 Py_INCREF(Py_None
); resultobj
= Py_None
;
10774 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10777 wxFileSystem
*result
;
10778 PyObject
* obj0
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10790 result
= (wxFileSystem
*) &_result_ref
;
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10803 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10806 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10808 return Py_BuildValue((char *)"");
10810 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
;
10812 wxTaskBarIcon
*result
;
10813 char *kwnames
[] = {
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10819 if (!wxPyCheckForApp()) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10833 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10861 PyObject
* obj0
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "self", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 wxTaskBarIcon_Destroy(arg1
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 Py_INCREF(Py_None
); resultobj
= Py_None
;
10883 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10886 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10888 return Py_BuildValue((char *)"");
10890 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
;
10893 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10894 wxTaskBarIconEvent
*result
;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "evtType",(char *) "tbIcon", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10902 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10920 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10923 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10925 return Py_BuildValue((char *)"");
10927 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10928 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10933 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10938 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10940 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10947 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10948 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10953 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10958 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10960 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10967 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10968 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10973 static PyObject
*_wrap_DirDialogNameStr_get() {
10978 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10980 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10987 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10988 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10993 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10998 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11000 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11007 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11008 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11013 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11018 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11020 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11027 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11028 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11033 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11038 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11040 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11047 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxColourData
*result
;
11050 char *kwnames
[] = {
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (wxColourData
*)new wxColourData();
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11069 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
;
11071 wxColourData
*arg1
= (wxColourData
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxColourData
*arg1
= (wxColourData
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "self", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (bool)(arg1
)->GetChooseFull();
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11122 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
*resultobj
;
11124 wxColourData
*arg1
= (wxColourData
*) 0 ;
11126 PyObject
* obj0
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (arg1
)->GetColour();
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11142 wxColour
* resultptr
;
11143 resultptr
= new wxColour((wxColour
&) result
);
11144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11152 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxColourData
*arg1
= (wxColourData
*) 0 ;
11157 PyObject
* obj0
= 0 ;
11158 PyObject
* obj1
= 0 ;
11159 char *kwnames
[] = {
11160 (char *) "self",(char *) "i", NULL
11163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11166 arg2
= (int) SWIG_AsInt(obj1
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (arg1
)->GetCustomColour(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 wxColour
* resultptr
;
11177 resultptr
= new wxColour((wxColour
&) result
);
11178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11186 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxColourData
*arg1
= (wxColourData
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self",(char *) "flag", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11199 arg2
= (int) SWIG_AsInt(obj1
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 (arg1
)->SetChooseFull(arg2
);
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 Py_INCREF(Py_None
); resultobj
= Py_None
;
11215 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxColourData
*arg1
= (wxColourData
*) 0 ;
11218 wxColour
*arg2
= 0 ;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self",(char *) "colour", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11231 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 (arg1
)->SetColour((wxColour
const &)*arg2
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 Py_INCREF(Py_None
); resultobj
= Py_None
;
11247 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxColourData
*arg1
= (wxColourData
*) 0 ;
11251 wxColour
*arg3
= 0 ;
11253 PyObject
* obj0
= 0 ;
11254 PyObject
* obj1
= 0 ;
11255 PyObject
* obj2
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self",(char *) "i",(char *) "colour", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11263 arg2
= (int) SWIG_AsInt(obj1
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11276 Py_INCREF(Py_None
); resultobj
= Py_None
;
11283 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11286 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11288 return Py_BuildValue((char *)"");
11290 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxWindow
*arg1
= (wxWindow
*) 0 ;
11293 wxColourData
*arg2
= (wxColourData
*) NULL
;
11294 wxColourDialog
*result
;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "parent",(char *) "data", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11309 if (!wxPyCheckForApp()) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11323 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11326 wxColourData
*result
;
11327 PyObject
* obj0
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "self", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11339 result
= (wxColourData
*) &_result_ref
;
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11352 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11355 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11357 return Py_BuildValue((char *)"");
11359 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxWindow
*arg1
= (wxWindow
*) 0 ;
11362 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11363 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11364 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11365 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11366 long arg4
= (long) 0 ;
11367 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11368 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11369 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11370 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11371 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11372 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11373 wxDirDialog
*result
;
11374 bool temp2
= False
;
11375 bool temp3
= False
;
11378 bool temp7
= False
;
11379 PyObject
* obj0
= 0 ;
11380 PyObject
* obj1
= 0 ;
11381 PyObject
* obj2
= 0 ;
11382 PyObject
* obj3
= 0 ;
11383 PyObject
* obj4
= 0 ;
11384 PyObject
* obj5
= 0 ;
11385 PyObject
* obj6
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11395 arg2
= wxString_in_helper(obj1
);
11396 if (arg2
== NULL
) SWIG_fail
;
11402 arg3
= wxString_in_helper(obj2
);
11403 if (arg3
== NULL
) SWIG_fail
;
11408 arg4
= (long) SWIG_AsLong(obj3
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11414 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11420 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11425 arg7
= wxString_in_helper(obj6
);
11426 if (arg7
== NULL
) SWIG_fail
;
11431 if (!wxPyCheckForApp()) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11469 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (arg1
)->GetPath();
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11501 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (arg1
)->GetMessage();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11533 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11537 PyObject
* obj0
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "self", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (long)(arg1
)->GetStyle();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_FromLong((long)result
);
11559 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11562 wxString
*arg2
= 0 ;
11563 bool temp2
= False
;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self",(char *) "message", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11574 arg2
= wxString_in_helper(obj1
);
11575 if (arg2
== NULL
) SWIG_fail
;
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 (arg1
)->SetMessage((wxString
const &)*arg2
);
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 Py_INCREF(Py_None
); resultobj
= Py_None
;
11600 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
;
11602 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11603 wxString
*arg2
= 0 ;
11604 bool temp2
= False
;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "self",(char *) "path", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11615 arg2
= wxString_in_helper(obj1
);
11616 if (arg2
== NULL
) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 (arg1
)->SetPath((wxString
const &)*arg2
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 Py_INCREF(Py_None
); resultobj
= Py_None
;
11641 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11644 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11646 return Py_BuildValue((char *)"");
11648 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxWindow
*arg1
= (wxWindow
*) 0 ;
11651 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11652 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11653 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11654 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11655 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11656 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11657 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11658 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11659 long arg6
= (long) 0 ;
11660 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11661 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11662 wxFileDialog
*result
;
11663 bool temp2
= False
;
11664 bool temp3
= False
;
11665 bool temp4
= False
;
11666 bool temp5
= False
;
11668 PyObject
* obj0
= 0 ;
11669 PyObject
* obj1
= 0 ;
11670 PyObject
* obj2
= 0 ;
11671 PyObject
* obj3
= 0 ;
11672 PyObject
* obj4
= 0 ;
11673 PyObject
* obj5
= 0 ;
11674 PyObject
* obj6
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11684 arg2
= wxString_in_helper(obj1
);
11685 if (arg2
== NULL
) SWIG_fail
;
11691 arg3
= wxString_in_helper(obj2
);
11692 if (arg3
== NULL
) SWIG_fail
;
11698 arg4
= wxString_in_helper(obj3
);
11699 if (arg4
== NULL
) SWIG_fail
;
11705 arg5
= wxString_in_helper(obj4
);
11706 if (arg5
== NULL
) SWIG_fail
;
11711 arg6
= (long) SWIG_AsLong(obj5
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11717 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11721 if (!wxPyCheckForApp()) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11767 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11770 wxString
*arg2
= 0 ;
11771 bool temp2
= False
;
11772 PyObject
* obj0
= 0 ;
11773 PyObject
* obj1
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "self",(char *) "message", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11782 arg2
= wxString_in_helper(obj1
);
11783 if (arg2
== NULL
) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 (arg1
)->SetMessage((wxString
const &)*arg2
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 Py_INCREF(Py_None
); resultobj
= Py_None
;
11808 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11811 wxString
*arg2
= 0 ;
11812 bool temp2
= False
;
11813 PyObject
* obj0
= 0 ;
11814 PyObject
* obj1
= 0 ;
11815 char *kwnames
[] = {
11816 (char *) "self",(char *) "path", NULL
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11823 arg2
= wxString_in_helper(obj1
);
11824 if (arg2
== NULL
) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 (arg1
)->SetPath((wxString
const &)*arg2
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 Py_INCREF(Py_None
); resultobj
= Py_None
;
11849 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11852 wxString
*arg2
= 0 ;
11853 bool temp2
= False
;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self",(char *) "dir", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11864 arg2
= wxString_in_helper(obj1
);
11865 if (arg2
== NULL
) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 Py_INCREF(Py_None
); resultobj
= Py_None
;
11890 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11893 wxString
*arg2
= 0 ;
11894 bool temp2
= False
;
11895 PyObject
* obj0
= 0 ;
11896 PyObject
* obj1
= 0 ;
11897 char *kwnames
[] = {
11898 (char *) "self",(char *) "name", NULL
11901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11905 arg2
= wxString_in_helper(obj1
);
11906 if (arg2
== NULL
) SWIG_fail
;
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 (arg1
)->SetFilename((wxString
const &)*arg2
);
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 Py_INCREF(Py_None
); resultobj
= Py_None
;
11931 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
;
11933 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11934 wxString
*arg2
= 0 ;
11935 bool temp2
= False
;
11936 PyObject
* obj0
= 0 ;
11937 PyObject
* obj1
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "self",(char *) "wildCard", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11946 arg2
= wxString_in_helper(obj1
);
11947 if (arg2
== NULL
) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 Py_INCREF(Py_None
); resultobj
= Py_None
;
11972 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
;
11974 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self",(char *) "style", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11985 arg2
= (long) SWIG_AsLong(obj1
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 (arg1
)->SetStyle(arg2
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 Py_INCREF(Py_None
); resultobj
= Py_None
;
12001 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self",(char *) "filterIndex", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12014 arg2
= (int) SWIG_AsInt(obj1
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 (arg1
)->SetFilterIndex(arg2
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 Py_INCREF(Py_None
); resultobj
= Py_None
;
12030 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12034 PyObject
* obj0
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12062 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
;
12064 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 char *kwnames
[] = {
12068 (char *) "self", NULL
12071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12094 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12126 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12130 PyObject
* obj0
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12158 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12190 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= SWIG_FromLong((long)result
);
12216 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12220 PyObject
* obj0
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_FromInt((int)result
);
12242 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12246 PyObject
* obj0
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
;
12268 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12272 PyObject
* obj0
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= result
;
12294 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12297 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12299 return Py_BuildValue((char *)"");
12301 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxWindow
*arg1
= (wxWindow
*) 0 ;
12304 wxString
*arg2
= 0 ;
12305 wxString
*arg3
= 0 ;
12306 int arg4
= (int) 0 ;
12307 wxString
*arg5
= (wxString
*) NULL
;
12308 long arg6
= (long) wxCHOICEDLG_STYLE
;
12309 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12310 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12311 wxMultiChoiceDialog
*result
;
12312 bool temp2
= False
;
12313 bool temp3
= False
;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 PyObject
* obj2
= 0 ;
12318 PyObject
* obj3
= 0 ;
12319 PyObject
* obj4
= 0 ;
12320 PyObject
* obj5
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12329 arg2
= wxString_in_helper(obj1
);
12330 if (arg2
== NULL
) SWIG_fail
;
12334 arg3
= wxString_in_helper(obj2
);
12335 if (arg3
== NULL
) SWIG_fail
;
12340 arg4
= PyList_Size(obj3
);
12341 arg5
= wxString_LIST_helper(obj3
);
12342 if (arg5
== NULL
) SWIG_fail
;
12346 arg6
= (long) SWIG_AsLong(obj4
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12352 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12356 if (!wxPyCheckForApp()) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12373 if (arg5
) delete [] arg5
;
12386 if (arg5
) delete [] arg5
;
12392 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12395 wxArrayInt
*arg2
= 0 ;
12396 bool temp2
= False
;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self",(char *) "selections", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12407 if (! PySequence_Check(obj1
)) {
12408 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12411 arg2
= new wxArrayInt
;
12413 int i
, len
=PySequence_Length(obj1
);
12414 for (i
=0; i
<len
; i
++) {
12415 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12416 PyObject
* number
= PyNumber_Int(item
);
12417 arg2
->Add(PyInt_AS_LONG(number
));
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 Py_INCREF(Py_None
); resultobj
= Py_None
;
12431 if (temp2
) delete arg2
;
12436 if (temp2
) delete arg2
;
12442 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= result
;
12468 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12471 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12473 return Py_BuildValue((char *)"");
12475 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxWindow
*arg1
= (wxWindow
*) 0 ;
12478 wxString
*arg2
= 0 ;
12479 wxString
*arg3
= 0 ;
12481 wxString
*arg5
= (wxString
*) 0 ;
12482 long arg6
= (long) wxCHOICEDLG_STYLE
;
12483 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12484 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12485 wxSingleChoiceDialog
*result
;
12486 bool temp2
= False
;
12487 bool temp3
= False
;
12489 PyObject
* obj0
= 0 ;
12490 PyObject
* obj1
= 0 ;
12491 PyObject
* obj2
= 0 ;
12492 PyObject
* obj3
= 0 ;
12493 PyObject
* obj4
= 0 ;
12494 PyObject
* obj5
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12503 arg2
= wxString_in_helper(obj1
);
12504 if (arg2
== NULL
) SWIG_fail
;
12508 arg3
= wxString_in_helper(obj2
);
12509 if (arg3
== NULL
) SWIG_fail
;
12513 arg4
= PyList_Size(obj3
);
12514 arg5
= wxString_LIST_helper(obj3
);
12515 if (arg5
== NULL
) SWIG_fail
;
12518 arg6
= (long) SWIG_AsLong(obj4
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12524 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12528 if (!wxPyCheckForApp()) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12545 if (arg5
) delete [] arg5
;
12558 if (arg5
) delete [] arg5
;
12564 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12568 PyObject
* obj0
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "self", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 result
= (int)(arg1
)->GetSelection();
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= SWIG_FromInt((int)result
);
12590 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
;
12592 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12594 PyObject
* obj0
= 0 ;
12595 char *kwnames
[] = {
12596 (char *) "self", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 result
= (arg1
)->GetStringSelection();
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12622 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self",(char *) "sel", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12635 arg2
= (int) SWIG_AsInt(obj1
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 (arg1
)->SetSelection(arg2
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 Py_INCREF(Py_None
); resultobj
= Py_None
;
12651 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12654 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12656 return Py_BuildValue((char *)"");
12658 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxWindow
*arg1
= (wxWindow
*) 0 ;
12661 wxString
*arg2
= 0 ;
12662 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12663 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12664 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12665 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12666 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12667 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12668 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12669 wxTextEntryDialog
*result
;
12670 bool temp2
= False
;
12671 bool temp3
= False
;
12672 bool temp4
= False
;
12674 PyObject
* obj0
= 0 ;
12675 PyObject
* obj1
= 0 ;
12676 PyObject
* obj2
= 0 ;
12677 PyObject
* obj3
= 0 ;
12678 PyObject
* obj4
= 0 ;
12679 PyObject
* obj5
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12688 arg2
= wxString_in_helper(obj1
);
12689 if (arg2
== NULL
) SWIG_fail
;
12694 arg3
= wxString_in_helper(obj2
);
12695 if (arg3
== NULL
) SWIG_fail
;
12701 arg4
= wxString_in_helper(obj3
);
12702 if (arg4
== NULL
) SWIG_fail
;
12707 arg5
= (long) SWIG_AsLong(obj4
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12713 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12717 if (!wxPyCheckForApp()) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12755 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (arg1
)->GetValue();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12787 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12790 wxString
*arg2
= 0 ;
12791 bool temp2
= False
;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self",(char *) "value", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12802 arg2
= wxString_in_helper(obj1
);
12803 if (arg2
== NULL
) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 (arg1
)->SetValue((wxString
const &)*arg2
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12831 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12833 return Py_BuildValue((char *)"");
12835 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxFontData
*result
;
12838 char *kwnames
[] = {
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (wxFontData
*)new wxFontData();
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12857 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
;
12859 wxFontData
*arg1
= (wxFontData
*) 0 ;
12860 PyObject
* obj0
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 Py_INCREF(Py_None
); resultobj
= Py_None
;
12882 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxFontData
*arg1
= (wxFontData
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 PyObject
* obj1
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self",(char *) "enable", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12895 arg2
= (bool) SWIG_AsBool(obj1
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 (arg1
)->EnableEffects(arg2
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 Py_INCREF(Py_None
); resultobj
= Py_None
;
12911 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxFontData
*arg1
= (wxFontData
*) 0 ;
12915 PyObject
* obj0
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (bool)(arg1
)->GetAllowSymbols();
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12939 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxFontData
*arg1
= (wxFontData
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (arg1
)->GetColour();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12959 wxColour
* resultptr
;
12960 resultptr
= new wxColour((wxColour
&) result
);
12961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12969 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxFontData
*arg1
= (wxFontData
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (arg1
)->GetChosenFont();
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12989 wxFont
* resultptr
;
12990 resultptr
= new wxFont((wxFont
&) result
);
12991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12999 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxFontData
*arg1
= (wxFontData
*) 0 ;
13003 PyObject
* obj0
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 result
= (bool)(arg1
)->GetEnableEffects();
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13027 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxFontData
*arg1
= (wxFontData
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (arg1
)->GetInitialFont();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 wxFont
* resultptr
;
13048 resultptr
= new wxFont((wxFont
&) result
);
13049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13057 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxFontData
*arg1
= (wxFontData
*) 0 ;
13061 PyObject
* obj0
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (bool)(arg1
)->GetShowHelp();
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13085 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxFontData
*arg1
= (wxFontData
*) 0 ;
13089 PyObject
* obj0
= 0 ;
13090 PyObject
* obj1
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self",(char *) "allowSymbols", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 arg2
= (bool) SWIG_AsBool(obj1
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 (arg1
)->SetAllowSymbols(arg2
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 Py_INCREF(Py_None
); resultobj
= Py_None
;
13114 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxFontData
*arg1
= (wxFontData
*) 0 ;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self",(char *) "font", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13130 if (arg2
== NULL
) {
13131 PyErr_SetString(PyExc_TypeError
,"null reference");
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 Py_INCREF(Py_None
); resultobj
= Py_None
;
13148 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxFontData
*arg1
= (wxFontData
*) 0 ;
13151 wxColour
*arg2
= 0 ;
13153 PyObject
* obj0
= 0 ;
13154 PyObject
* obj1
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "colour", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13164 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 (arg1
)->SetColour((wxColour
const &)*arg2
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 Py_INCREF(Py_None
); resultobj
= Py_None
;
13180 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxFontData
*arg1
= (wxFontData
*) 0 ;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self",(char *) "font", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13196 if (arg2
== NULL
) {
13197 PyErr_SetString(PyExc_TypeError
,"null reference");
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxFontData
*arg1
= (wxFontData
*) 0 ;
13219 PyObject
* obj0
= 0 ;
13220 PyObject
* obj1
= 0 ;
13221 PyObject
* obj2
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self",(char *) "min",(char *) "max", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13229 arg2
= (int) SWIG_AsInt(obj1
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13231 arg3
= (int) SWIG_AsInt(obj2
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 (arg1
)->SetRange(arg2
,arg3
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 Py_INCREF(Py_None
); resultobj
= Py_None
;
13247 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxFontData
*arg1
= (wxFontData
*) 0 ;
13251 PyObject
* obj0
= 0 ;
13252 PyObject
* obj1
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self",(char *) "showHelp", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13260 arg2
= (bool) SWIG_AsBool(obj1
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 (arg1
)->SetShowHelp(arg2
);
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13269 Py_INCREF(Py_None
); resultobj
= Py_None
;
13276 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13279 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13281 return Py_BuildValue((char *)"");
13283 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxWindow
*arg1
= (wxWindow
*) 0 ;
13286 wxFontData
*arg2
= 0 ;
13287 wxFontDialog
*result
;
13288 PyObject
* obj0
= 0 ;
13289 PyObject
* obj1
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "parent",(char *) "data", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13300 if (arg2
== NULL
) {
13301 PyErr_SetString(PyExc_TypeError
,"null reference");
13305 if (!wxPyCheckForApp()) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13319 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13322 wxFontData
*result
;
13323 PyObject
* obj0
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13335 result
= (wxFontData
*) &_result_ref
;
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13348 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13351 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13353 return Py_BuildValue((char *)"");
13355 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxWindow
*arg1
= (wxWindow
*) 0 ;
13358 wxString
*arg2
= 0 ;
13359 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13360 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13361 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13362 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13363 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13364 wxMessageDialog
*result
;
13365 bool temp2
= False
;
13366 bool temp3
= False
;
13368 PyObject
* obj0
= 0 ;
13369 PyObject
* obj1
= 0 ;
13370 PyObject
* obj2
= 0 ;
13371 PyObject
* obj3
= 0 ;
13372 PyObject
* obj4
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13381 arg2
= wxString_in_helper(obj1
);
13382 if (arg2
== NULL
) SWIG_fail
;
13387 arg3
= wxString_in_helper(obj2
);
13388 if (arg3
== NULL
) SWIG_fail
;
13393 arg4
= (long) SWIG_AsLong(obj3
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13399 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13403 if (!wxPyCheckForApp()) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13433 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13436 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13438 return Py_BuildValue((char *)"");
13440 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxString
*arg1
= 0 ;
13443 wxString
*arg2
= 0 ;
13444 int arg3
= (int) 100 ;
13445 wxWindow
*arg4
= (wxWindow
*) NULL
;
13446 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13447 wxProgressDialog
*result
;
13448 bool temp1
= False
;
13449 bool temp2
= False
;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 PyObject
* obj2
= 0 ;
13453 PyObject
* obj3
= 0 ;
13454 PyObject
* obj4
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13461 arg1
= wxString_in_helper(obj0
);
13462 if (arg1
== NULL
) SWIG_fail
;
13466 arg2
= wxString_in_helper(obj1
);
13467 if (arg2
== NULL
) SWIG_fail
;
13471 arg3
= (int) SWIG_AsInt(obj2
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13475 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13479 arg5
= (int) SWIG_AsInt(obj4
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 if (!wxPyCheckForApp()) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13513 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13517 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13518 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13520 bool temp3
= False
;
13521 PyObject
* obj0
= 0 ;
13522 PyObject
* obj1
= 0 ;
13523 PyObject
* obj2
= 0 ;
13524 char *kwnames
[] = {
13525 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13531 arg2
= (int) SWIG_AsInt(obj1
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13535 arg3
= wxString_in_helper(obj2
);
13536 if (arg3
== NULL
) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13564 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "self", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 Py_INCREF(Py_None
); resultobj
= Py_None
;
13589 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13592 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13594 return Py_BuildValue((char *)"");
13596 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13599 int arg2
= (int) 0 ;
13600 wxFindDialogEvent
*result
;
13601 PyObject
* obj0
= 0 ;
13602 PyObject
* obj1
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "commandType",(char *) "id", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13609 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13613 arg2
= (int) SWIG_AsInt(obj1
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13618 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13630 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13634 PyObject
* obj0
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (int)(arg1
)->GetFlags();
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13649 resultobj
= SWIG_FromInt((int)result
);
13656 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13660 PyObject
* obj0
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 wxString
const &_result_ref
= (arg1
)->GetFindString();
13672 result
= (wxString
*) &_result_ref
;
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13682 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13691 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "self", NULL
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13707 result
= (wxString
*) &_result_ref
;
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13717 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13726 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13729 wxFindReplaceDialog
*result
;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13752 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13756 PyObject
* obj0
= 0 ;
13757 PyObject
* obj1
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "flags", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13765 arg2
= (int) SWIG_AsInt(obj1
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 (arg1
)->SetFlags(arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 Py_INCREF(Py_None
); resultobj
= Py_None
;
13781 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13784 wxString
*arg2
= 0 ;
13785 bool temp2
= False
;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self",(char *) "str", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13796 arg2
= wxString_in_helper(obj1
);
13797 if (arg2
== NULL
) SWIG_fail
;
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 (arg1
)->SetFindString((wxString
const &)*arg2
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13807 Py_INCREF(Py_None
); resultobj
= Py_None
;
13822 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
;
13824 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13825 wxString
*arg2
= 0 ;
13826 bool temp2
= False
;
13827 PyObject
* obj0
= 0 ;
13828 PyObject
* obj1
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self",(char *) "str", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13837 arg2
= wxString_in_helper(obj1
);
13838 if (arg2
== NULL
) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 Py_INCREF(Py_None
); resultobj
= Py_None
;
13863 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13866 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13868 return Py_BuildValue((char *)"");
13870 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
;
13872 int arg1
= (int) 0 ;
13873 wxFindReplaceData
*result
;
13874 PyObject
* obj0
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "flags", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13881 arg1
= (int) SWIG_AsInt(obj0
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13898 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13901 PyObject
* obj0
= 0 ;
13902 char *kwnames
[] = {
13903 (char *) "self", NULL
13906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 Py_INCREF(Py_None
); resultobj
= Py_None
;
13923 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
;
13925 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13927 PyObject
* obj0
= 0 ;
13928 char *kwnames
[] = {
13929 (char *) "self", NULL
13932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 wxString
const &_result_ref
= (arg1
)->GetFindString();
13939 result
= (wxString
*) &_result_ref
;
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13947 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13949 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13958 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13962 PyObject
* obj0
= 0 ;
13963 char *kwnames
[] = {
13964 (char *) "self", NULL
13967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13974 result
= (wxString
*) &_result_ref
;
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13984 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13993 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13994 PyObject
*resultobj
;
13995 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13997 PyObject
* obj0
= 0 ;
13998 char *kwnames
[] = {
13999 (char *) "self", NULL
14002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 result
= (int)(arg1
)->GetFlags();
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= SWIG_FromInt((int)result
);
14019 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
;
14021 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 char *kwnames
[] = {
14026 (char *) "self",(char *) "flags", NULL
14029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14032 arg2
= (int) SWIG_AsInt(obj1
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 (arg1
)->SetFlags(arg2
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 Py_INCREF(Py_None
); resultobj
= Py_None
;
14048 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
;
14050 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14051 wxString
*arg2
= 0 ;
14052 bool temp2
= False
;
14053 PyObject
* obj0
= 0 ;
14054 PyObject
* obj1
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "self",(char *) "str", NULL
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14063 arg2
= wxString_in_helper(obj1
);
14064 if (arg2
== NULL
) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 (arg1
)->SetFindString((wxString
const &)*arg2
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 Py_INCREF(Py_None
); resultobj
= Py_None
;
14089 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14092 wxString
*arg2
= 0 ;
14093 bool temp2
= False
;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self",(char *) "str", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14104 arg2
= wxString_in_helper(obj1
);
14105 if (arg2
== NULL
) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 Py_INCREF(Py_None
); resultobj
= Py_None
;
14130 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14133 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14135 return Py_BuildValue((char *)"");
14137 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxWindow
*arg1
= (wxWindow
*) 0 ;
14140 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14141 wxString
*arg3
= 0 ;
14142 int arg4
= (int) 0 ;
14143 wxFindReplaceDialog
*result
;
14144 bool temp3
= False
;
14145 PyObject
* obj0
= 0 ;
14146 PyObject
* obj1
= 0 ;
14147 PyObject
* obj2
= 0 ;
14148 PyObject
* obj3
= 0 ;
14149 char *kwnames
[] = {
14150 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 arg3
= wxString_in_helper(obj2
);
14160 if (arg3
== NULL
) SWIG_fail
;
14164 arg4
= (int) SWIG_AsInt(obj3
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14168 if (!wxPyCheckForApp()) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14190 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxFindReplaceDialog
*result
;
14193 char *kwnames
[] = {
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14199 if (!wxPyCheckForApp()) SWIG_fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14213 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14216 wxWindow
*arg2
= (wxWindow
*) 0 ;
14217 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14218 wxString
*arg4
= 0 ;
14219 int arg5
= (int) 0 ;
14221 bool temp4
= False
;
14222 PyObject
* obj0
= 0 ;
14223 PyObject
* obj1
= 0 ;
14224 PyObject
* obj2
= 0 ;
14225 PyObject
* obj3
= 0 ;
14226 PyObject
* obj4
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14236 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14239 arg4
= wxString_in_helper(obj3
);
14240 if (arg4
== NULL
) SWIG_fail
;
14244 arg5
= (int) SWIG_AsInt(obj4
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14271 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14274 wxFindReplaceData
*result
;
14275 PyObject
* obj0
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14297 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14300 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14301 PyObject
* obj0
= 0 ;
14302 PyObject
* obj1
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self",(char *) "data", NULL
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 (arg1
)->SetData(arg2
);
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14319 Py_INCREF(Py_None
); resultobj
= Py_None
;
14326 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14329 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14331 return Py_BuildValue((char *)"");
14333 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxWindow
*arg1
= (wxWindow
*) 0 ;
14336 int arg2
= (int) (int)-1 ;
14337 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14338 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14339 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14340 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14341 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14342 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14343 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14344 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14345 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14346 wxMDIParentFrame
*result
;
14347 bool temp3
= False
;
14350 bool temp7
= False
;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 PyObject
* obj2
= 0 ;
14354 PyObject
* obj3
= 0 ;
14355 PyObject
* obj4
= 0 ;
14356 PyObject
* obj5
= 0 ;
14357 PyObject
* obj6
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14366 arg2
= (int const) SWIG_AsInt(obj1
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14371 arg3
= wxString_in_helper(obj2
);
14372 if (arg3
== NULL
) SWIG_fail
;
14379 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14385 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14389 arg6
= (long) SWIG_AsLong(obj5
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14394 arg7
= wxString_in_helper(obj6
);
14395 if (arg7
== NULL
) SWIG_fail
;
14400 if (!wxPyCheckForApp()) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14430 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxMDIParentFrame
*result
;
14433 char *kwnames
[] = {
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14439 if (!wxPyCheckForApp()) SWIG_fail
;
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14453 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
;
14455 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14456 wxWindow
*arg2
= (wxWindow
*) 0 ;
14457 int arg3
= (int) (int)-1 ;
14458 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14459 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14460 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14461 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14462 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14463 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14464 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14465 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14468 bool temp4
= False
;
14471 bool temp8
= False
;
14472 PyObject
* obj0
= 0 ;
14473 PyObject
* obj1
= 0 ;
14474 PyObject
* obj2
= 0 ;
14475 PyObject
* obj3
= 0 ;
14476 PyObject
* obj4
= 0 ;
14477 PyObject
* obj5
= 0 ;
14478 PyObject
* obj6
= 0 ;
14479 PyObject
* obj7
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14490 arg3
= (int const) SWIG_AsInt(obj2
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14495 arg4
= wxString_in_helper(obj3
);
14496 if (arg4
== NULL
) SWIG_fail
;
14503 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14509 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14513 arg7
= (long) SWIG_AsLong(obj6
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14518 arg8
= wxString_in_helper(obj7
);
14519 if (arg8
== NULL
) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14555 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14558 PyObject
* obj0
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 (arg1
)->ActivateNext();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 Py_INCREF(Py_None
); resultobj
= Py_None
;
14580 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14583 PyObject
* obj0
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 (arg1
)->ActivatePrevious();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 Py_INCREF(Py_None
); resultobj
= Py_None
;
14605 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14608 PyObject
* obj0
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 (arg1
)->ArrangeIcons();
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 Py_INCREF(Py_None
); resultobj
= Py_None
;
14630 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14633 PyObject
* obj0
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14648 Py_INCREF(Py_None
); resultobj
= Py_None
;
14655 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14658 wxMDIChildFrame
*result
;
14659 PyObject
* obj0
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= wxPyMake_wxObject(result
, 0);
14683 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14686 wxMDIClientWindow
*result
;
14687 PyObject
* obj0
= 0 ;
14688 char *kwnames
[] = {
14689 (char *) "self", NULL
14692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14703 resultobj
= wxPyMake_wxObject(result
, 0);
14711 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14715 PyObject
* obj0
= 0 ;
14716 char *kwnames
[] = {
14717 (char *) "self", NULL
14720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (wxWindow
*)(arg1
)->GetToolBar();
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= wxPyMake_wxObject(result
, 0);
14739 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14742 PyObject
* obj0
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 Py_INCREF(Py_None
); resultobj
= Py_None
;
14764 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14767 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14769 return Py_BuildValue((char *)"");
14771 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14773 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14774 int arg2
= (int) (int)-1 ;
14775 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14776 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14781 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14782 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14784 wxMDIChildFrame
*result
;
14785 bool temp3
= False
;
14788 bool temp7
= False
;
14789 PyObject
* obj0
= 0 ;
14790 PyObject
* obj1
= 0 ;
14791 PyObject
* obj2
= 0 ;
14792 PyObject
* obj3
= 0 ;
14793 PyObject
* obj4
= 0 ;
14794 PyObject
* obj5
= 0 ;
14795 PyObject
* obj6
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14804 arg2
= (int const) SWIG_AsInt(obj1
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14809 arg3
= wxString_in_helper(obj2
);
14810 if (arg3
== NULL
) SWIG_fail
;
14817 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14823 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14827 arg6
= (long) SWIG_AsLong(obj5
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14832 arg7
= wxString_in_helper(obj6
);
14833 if (arg7
== NULL
) SWIG_fail
;
14838 if (!wxPyCheckForApp()) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
14868 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxMDIChildFrame
*result
;
14871 char *kwnames
[] = {
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14877 if (!wxPyCheckForApp()) SWIG_fail
;
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14879 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14881 wxPyEndAllowThreads(__tstate
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
14891 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
;
14893 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14894 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14895 int arg3
= (int) (int)-1 ;
14896 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14897 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14898 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14899 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14900 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14901 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14902 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14903 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14904 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14906 bool temp4
= False
;
14909 bool temp8
= False
;
14910 PyObject
* obj0
= 0 ;
14911 PyObject
* obj1
= 0 ;
14912 PyObject
* obj2
= 0 ;
14913 PyObject
* obj3
= 0 ;
14914 PyObject
* obj4
= 0 ;
14915 PyObject
* obj5
= 0 ;
14916 PyObject
* obj6
= 0 ;
14917 PyObject
* obj7
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14928 arg3
= (int const) SWIG_AsInt(obj2
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14933 arg4
= wxString_in_helper(obj3
);
14934 if (arg4
== NULL
) SWIG_fail
;
14941 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14947 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14951 arg7
= (long) SWIG_AsLong(obj6
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14956 arg8
= wxString_in_helper(obj7
);
14957 if (arg8
== NULL
) SWIG_fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14993 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 (arg1
)->Activate();
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 Py_INCREF(Py_None
); resultobj
= Py_None
;
15018 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self",(char *) "maximize", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15031 arg2
= (bool) SWIG_AsBool(obj1
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 (arg1
)->Maximize(arg2
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 Py_INCREF(Py_None
); resultobj
= Py_None
;
15047 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
;
15049 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 Py_INCREF(Py_None
); resultobj
= Py_None
;
15072 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15075 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15077 return Py_BuildValue((char *)"");
15079 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15082 long arg2
= (long) 0 ;
15083 wxMDIClientWindow
*result
;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "parent",(char *) "style", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15094 arg2
= (long) SWIG_AsLong(obj1
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15098 if (!wxPyCheckForApp()) SWIG_fail
;
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15112 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxMDIClientWindow
*result
;
15115 char *kwnames
[] = {
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15121 if (!wxPyCheckForApp()) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15135 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15138 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15139 long arg3
= (long) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 PyObject
* obj2
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "self",(char *) "parent",(char *) "style", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15154 arg3
= (long) SWIG_AsLong(obj2
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15173 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15176 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15178 return Py_BuildValue((char *)"");
15180 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxWindow
*arg1
= (wxWindow
*) 0 ;
15183 int arg2
= (int) (int)-1 ;
15184 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15185 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15186 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15187 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15188 long arg5
= (long) 0 ;
15189 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15190 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15191 wxPyWindow
*result
;
15194 bool temp6
= False
;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 PyObject
* obj2
= 0 ;
15198 PyObject
* obj3
= 0 ;
15199 PyObject
* obj4
= 0 ;
15200 PyObject
* obj5
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15209 arg2
= (int const) SWIG_AsInt(obj1
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15215 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15221 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15225 arg5
= (long) SWIG_AsLong(obj4
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15230 arg6
= wxString_in_helper(obj5
);
15231 if (arg6
== NULL
) SWIG_fail
;
15236 if (!wxPyCheckForApp()) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15258 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxPyWindow
*result
;
15261 char *kwnames
[] = {
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15267 if (!wxPyCheckForApp()) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (wxPyWindow
*)new wxPyWindow();
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15281 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15284 PyObject
*arg2
= (PyObject
*) 0 ;
15285 PyObject
*arg3
= (PyObject
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 PyObject
* obj2
= 0 ;
15289 char *kwnames
[] = {
15290 (char *) "self",(char *) "self",(char *) "_class", NULL
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 Py_INCREF(Py_None
); resultobj
= Py_None
;
15312 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 PyObject
* obj1
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self",(char *) "size", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15328 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 Py_INCREF(Py_None
); resultobj
= Py_None
;
15344 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
;
15346 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 PyObject
* obj1
= 0 ;
15353 PyObject
* obj2
= 0 ;
15354 PyObject
* obj3
= 0 ;
15355 PyObject
* obj4
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15363 arg2
= (int) SWIG_AsInt(obj1
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15365 arg3
= (int) SWIG_AsInt(obj2
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15367 arg4
= (int) SWIG_AsInt(obj3
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15369 arg5
= (int) SWIG_AsInt(obj4
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 Py_INCREF(Py_None
); resultobj
= Py_None
;
15385 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15392 int arg6
= (int) wxSIZE_AUTO
;
15393 PyObject
* obj0
= 0 ;
15394 PyObject
* obj1
= 0 ;
15395 PyObject
* obj2
= 0 ;
15396 PyObject
* obj3
= 0 ;
15397 PyObject
* obj4
= 0 ;
15398 PyObject
* obj5
= 0 ;
15399 char *kwnames
[] = {
15400 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15406 arg2
= (int) SWIG_AsInt(obj1
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15408 arg3
= (int) SWIG_AsInt(obj2
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15410 arg4
= (int) SWIG_AsInt(obj3
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15412 arg5
= (int) SWIG_AsInt(obj4
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 arg6
= (int) SWIG_AsInt(obj5
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 Py_INCREF(Py_None
); resultobj
= Py_None
;
15432 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15437 PyObject
* obj0
= 0 ;
15438 PyObject
* obj1
= 0 ;
15439 PyObject
* obj2
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self",(char *) "width",(char *) "height", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15447 arg2
= (int) SWIG_AsInt(obj1
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15449 arg3
= (int) SWIG_AsInt(obj2
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 Py_INCREF(Py_None
); resultobj
= Py_None
;
15465 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 PyObject
* obj2
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "self",(char *) "x",(char *) "y", NULL
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15480 arg2
= (int) SWIG_AsInt(obj1
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15482 arg3
= (int) SWIG_AsInt(obj2
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 Py_INCREF(Py_None
); resultobj
= Py_None
;
15498 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15501 int *arg2
= (int *) 0 ;
15502 int *arg3
= (int *) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 Py_INCREF(Py_None
); resultobj
= Py_None
;
15524 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15525 resultobj
= t_output_helper(resultobj
,o
);
15528 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15529 resultobj
= t_output_helper(resultobj
,o
);
15537 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
;
15539 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15540 int *arg2
= (int *) 0 ;
15541 int *arg3
= (int *) 0 ;
15544 PyObject
* obj0
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 Py_INCREF(Py_None
); resultobj
= Py_None
;
15563 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15564 resultobj
= t_output_helper(resultobj
,o
);
15567 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15568 resultobj
= t_output_helper(resultobj
,o
);
15576 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15579 int *arg2
= (int *) 0 ;
15580 int *arg3
= (int *) 0 ;
15583 PyObject
* obj0
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15603 resultobj
= t_output_helper(resultobj
,o
);
15606 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15607 resultobj
= t_output_helper(resultobj
,o
);
15615 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15619 PyObject
* obj0
= 0 ;
15620 char *kwnames
[] = {
15621 (char *) "self", NULL
15624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15635 wxSize
* resultptr
;
15636 resultptr
= new wxSize((wxSize
&) result
);
15637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15645 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15649 PyObject
* obj0
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15665 wxSize
* resultptr
;
15666 resultptr
= new wxSize((wxSize
&) result
);
15667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15675 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15678 PyObject
* obj0
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "self", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 (arg1
)->base_InitDialog();
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15693 Py_INCREF(Py_None
); resultobj
= Py_None
;
15700 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15704 PyObject
* obj0
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 result
= (bool)(arg1
)->base_TransferDataToWindow();
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15728 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(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_TransferDataFromWindow",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_TransferDataFromWindow();
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_Validate(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_Validate",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_Validate();
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_AcceptsFocus(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_AcceptsFocus",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)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
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_AcceptsFocusFromKeyboard(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_AcceptsFocusFromKeyboard",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_AcceptsFocusFromKeyboard();
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_GetMaxSize(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_GetMaxSize",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
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15860 wxSize
* resultptr
;
15861 resultptr
= new wxSize((wxSize
&) result
);
15862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15870 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15873 wxWindow
*arg2
= (wxWindow
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 PyObject
* obj1
= 0 ;
15876 char *kwnames
[] = {
15877 (char *) "self",(char *) "child", NULL
15880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 (arg1
)->base_AddChild(arg2
);
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 Py_INCREF(Py_None
); resultobj
= Py_None
;
15899 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15902 wxWindow
*arg2
= (wxWindow
*) 0 ;
15903 PyObject
* obj0
= 0 ;
15904 PyObject
* obj1
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "self",(char *) "child", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 (arg1
)->base_RemoveChild(arg2
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 Py_INCREF(Py_None
); resultobj
= Py_None
;
15928 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15956 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15959 wxColour
*arg2
= 0 ;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self",(char *) "c", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 Py_INCREF(Py_None
); resultobj
= Py_None
;
15988 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15991 wxVisualAttributes result
;
15992 PyObject
* obj0
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (arg1
)->base_GetDefaultAttributes();
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16008 wxVisualAttributes
* resultptr
;
16009 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16018 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16021 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16023 return Py_BuildValue((char *)"");
16025 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxWindow
*arg1
= (wxWindow
*) 0 ;
16028 int arg2
= (int) (int)-1 ;
16029 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16030 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16031 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16032 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16033 long arg5
= (long) 0 ;
16034 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16035 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16039 bool temp6
= False
;
16040 PyObject
* obj0
= 0 ;
16041 PyObject
* obj1
= 0 ;
16042 PyObject
* obj2
= 0 ;
16043 PyObject
* obj3
= 0 ;
16044 PyObject
* obj4
= 0 ;
16045 PyObject
* obj5
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16054 arg2
= (int const) SWIG_AsInt(obj1
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16060 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16066 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16070 arg5
= (long) SWIG_AsLong(obj4
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16075 arg6
= wxString_in_helper(obj5
);
16076 if (arg6
== NULL
) SWIG_fail
;
16081 if (!wxPyCheckForApp()) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16103 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16106 char *kwnames
[] = {
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16112 if (!wxPyCheckForApp()) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (wxPyPanel
*)new wxPyPanel();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16126 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16129 PyObject
*arg2
= (PyObject
*) 0 ;
16130 PyObject
*arg3
= (PyObject
*) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 PyObject
* obj2
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self",(char *) "self",(char *) "_class", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 Py_INCREF(Py_None
); resultobj
= Py_None
;
16157 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16162 PyObject
* obj0
= 0 ;
16163 PyObject
* obj1
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "self",(char *) "size", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16173 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16182 Py_INCREF(Py_None
); resultobj
= Py_None
;
16189 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16190 PyObject
*resultobj
;
16191 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 PyObject
* obj2
= 0 ;
16199 PyObject
* obj3
= 0 ;
16200 PyObject
* obj4
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16208 arg2
= (int) SWIG_AsInt(obj1
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16210 arg3
= (int) SWIG_AsInt(obj2
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16212 arg4
= (int) SWIG_AsInt(obj3
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16214 arg5
= (int) SWIG_AsInt(obj4
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 Py_INCREF(Py_None
); resultobj
= Py_None
;
16230 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16237 int arg6
= (int) wxSIZE_AUTO
;
16238 PyObject
* obj0
= 0 ;
16239 PyObject
* obj1
= 0 ;
16240 PyObject
* obj2
= 0 ;
16241 PyObject
* obj3
= 0 ;
16242 PyObject
* obj4
= 0 ;
16243 PyObject
* obj5
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 arg2
= (int) SWIG_AsInt(obj1
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16253 arg3
= (int) SWIG_AsInt(obj2
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16255 arg4
= (int) SWIG_AsInt(obj3
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16257 arg5
= (int) SWIG_AsInt(obj4
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 arg6
= (int) SWIG_AsInt(obj5
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 Py_INCREF(Py_None
); resultobj
= Py_None
;
16277 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
;
16279 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16282 PyObject
* obj0
= 0 ;
16283 PyObject
* obj1
= 0 ;
16284 PyObject
* obj2
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "width",(char *) "height", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16292 arg2
= (int) SWIG_AsInt(obj1
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16294 arg3
= (int) SWIG_AsInt(obj2
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16315 PyObject
* obj0
= 0 ;
16316 PyObject
* obj1
= 0 ;
16317 PyObject
* obj2
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self",(char *) "x",(char *) "y", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16325 arg2
= (int) SWIG_AsInt(obj1
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16327 arg3
= (int) SWIG_AsInt(obj2
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 Py_INCREF(Py_None
); resultobj
= Py_None
;
16343 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16346 int *arg2
= (int *) 0 ;
16347 int *arg3
= (int *) 0 ;
16350 PyObject
* obj0
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "self", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16367 Py_INCREF(Py_None
); resultobj
= Py_None
;
16369 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16370 resultobj
= t_output_helper(resultobj
,o
);
16373 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16374 resultobj
= t_output_helper(resultobj
,o
);
16382 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16385 int *arg2
= (int *) 0 ;
16386 int *arg3
= (int *) 0 ;
16389 PyObject
* obj0
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16406 Py_INCREF(Py_None
); resultobj
= Py_None
;
16408 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16409 resultobj
= t_output_helper(resultobj
,o
);
16412 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16413 resultobj
= t_output_helper(resultobj
,o
);
16421 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16424 int *arg2
= (int *) 0 ;
16425 int *arg3
= (int *) 0 ;
16428 PyObject
* obj0
= 0 ;
16429 char *kwnames
[] = {
16430 (char *) "self", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 Py_INCREF(Py_None
); resultobj
= Py_None
;
16447 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16448 resultobj
= t_output_helper(resultobj
,o
);
16451 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16452 resultobj
= t_output_helper(resultobj
,o
);
16460 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16464 PyObject
* obj0
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "self", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16480 wxSize
* resultptr
;
16481 resultptr
= new wxSize((wxSize
&) result
);
16482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16490 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16510 wxSize
* resultptr
;
16511 resultptr
= new wxSize((wxSize
&) result
);
16512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16520 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16523 PyObject
* obj0
= 0 ;
16524 char *kwnames
[] = {
16525 (char *) "self", NULL
16528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 (arg1
)->base_InitDialog();
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16538 Py_INCREF(Py_None
); resultobj
= Py_None
;
16545 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16549 PyObject
* obj0
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 result
= (bool)(arg1
)->base_TransferDataToWindow();
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16573 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(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_TransferDataFromWindow",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_TransferDataFromWindow();
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_Validate(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_Validate",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_Validate();
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_AcceptsFocus(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_AcceptsFocus",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)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
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_AcceptsFocusFromKeyboard(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_AcceptsFocusFromKeyboard",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_AcceptsFocusFromKeyboard();
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_GetMaxSize(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_GetMaxSize",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
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16705 wxSize
* resultptr
;
16706 resultptr
= new wxSize((wxSize
&) result
);
16707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16715 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16718 wxWindow
*arg2
= (wxWindow
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 PyObject
* obj1
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "self",(char *) "child", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 (arg1
)->base_AddChild(arg2
);
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 Py_INCREF(Py_None
); resultobj
= Py_None
;
16744 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16747 wxWindow
*arg2
= (wxWindow
*) 0 ;
16748 PyObject
* obj0
= 0 ;
16749 PyObject
* obj1
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self",(char *) "child", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 (arg1
)->base_RemoveChild(arg2
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 Py_INCREF(Py_None
); resultobj
= Py_None
;
16773 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16801 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16804 wxColour
*arg2
= 0 ;
16806 PyObject
* obj0
= 0 ;
16807 PyObject
* obj1
= 0 ;
16808 char *kwnames
[] = {
16809 (char *) "self",(char *) "c", NULL
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16817 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 Py_INCREF(Py_None
); resultobj
= Py_None
;
16833 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16836 wxVisualAttributes result
;
16837 PyObject
* obj0
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (arg1
)->base_GetDefaultAttributes();
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 wxVisualAttributes
* resultptr
;
16854 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16863 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16866 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16868 return Py_BuildValue((char *)"");
16870 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxWindow
*arg1
= (wxWindow
*) 0 ;
16873 int arg2
= (int) (int)-1 ;
16874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16878 long arg5
= (long) 0 ;
16879 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16880 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16881 wxPyScrolledWindow
*result
;
16884 bool temp6
= False
;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 PyObject
* obj2
= 0 ;
16888 PyObject
* obj3
= 0 ;
16889 PyObject
* obj4
= 0 ;
16890 PyObject
* obj5
= 0 ;
16891 char *kwnames
[] = {
16892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16899 arg2
= (int const) SWIG_AsInt(obj1
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16905 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16911 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16915 arg5
= (long) SWIG_AsLong(obj4
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16920 arg6
= wxString_in_helper(obj5
);
16921 if (arg6
== NULL
) SWIG_fail
;
16926 if (!wxPyCheckForApp()) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16948 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxPyScrolledWindow
*result
;
16951 char *kwnames
[] = {
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16957 if (!wxPyCheckForApp()) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16971 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16974 PyObject
*arg2
= (PyObject
*) 0 ;
16975 PyObject
*arg3
= (PyObject
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 PyObject
* obj2
= 0 ;
16979 char *kwnames
[] = {
16980 (char *) "self",(char *) "self",(char *) "_class", NULL
16983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16995 Py_INCREF(Py_None
); resultobj
= Py_None
;
17002 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
;
17004 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "self",(char *) "size", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17018 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 Py_INCREF(Py_None
); resultobj
= Py_None
;
17034 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 PyObject
* obj2
= 0 ;
17044 PyObject
* obj3
= 0 ;
17045 PyObject
* obj4
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17053 arg2
= (int) SWIG_AsInt(obj1
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17055 arg3
= (int) SWIG_AsInt(obj2
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17057 arg4
= (int) SWIG_AsInt(obj3
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17059 arg5
= (int) SWIG_AsInt(obj4
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 Py_INCREF(Py_None
); resultobj
= Py_None
;
17075 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17082 int arg6
= (int) wxSIZE_AUTO
;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 PyObject
* obj2
= 0 ;
17086 PyObject
* obj3
= 0 ;
17087 PyObject
* obj4
= 0 ;
17088 PyObject
* obj5
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17096 arg2
= (int) SWIG_AsInt(obj1
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17098 arg3
= (int) SWIG_AsInt(obj2
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17100 arg4
= (int) SWIG_AsInt(obj3
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17102 arg5
= (int) SWIG_AsInt(obj4
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 arg6
= (int) SWIG_AsInt(obj5
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17112 wxPyEndAllowThreads(__tstate
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17115 Py_INCREF(Py_None
); resultobj
= Py_None
;
17122 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
;
17124 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 PyObject
* obj2
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self",(char *) "width",(char *) "height", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17137 arg2
= (int) SWIG_AsInt(obj1
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17139 arg3
= (int) SWIG_AsInt(obj2
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 Py_INCREF(Py_None
); resultobj
= Py_None
;
17155 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17160 PyObject
* obj0
= 0 ;
17161 PyObject
* obj1
= 0 ;
17162 PyObject
* obj2
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self",(char *) "x",(char *) "y", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17170 arg2
= (int) SWIG_AsInt(obj1
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17172 arg3
= (int) SWIG_AsInt(obj2
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 Py_INCREF(Py_None
); resultobj
= Py_None
;
17188 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17191 int *arg2
= (int *) 0 ;
17192 int *arg3
= (int *) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17212 Py_INCREF(Py_None
); resultobj
= Py_None
;
17214 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17215 resultobj
= t_output_helper(resultobj
,o
);
17218 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17219 resultobj
= t_output_helper(resultobj
,o
);
17227 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17230 int *arg2
= (int *) 0 ;
17231 int *arg3
= (int *) 0 ;
17234 PyObject
* obj0
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "self", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 Py_INCREF(Py_None
); resultobj
= Py_None
;
17253 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17254 resultobj
= t_output_helper(resultobj
,o
);
17257 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17258 resultobj
= t_output_helper(resultobj
,o
);
17266 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17269 int *arg2
= (int *) 0 ;
17270 int *arg3
= (int *) 0 ;
17273 PyObject
* obj0
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 Py_INCREF(Py_None
); resultobj
= Py_None
;
17292 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17293 resultobj
= t_output_helper(resultobj
,o
);
17296 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17297 resultobj
= t_output_helper(resultobj
,o
);
17305 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17309 PyObject
* obj0
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17325 wxSize
* resultptr
;
17326 resultptr
= new wxSize((wxSize
&) result
);
17327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17335 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17355 wxSize
* resultptr
;
17356 resultptr
= new wxSize((wxSize
&) result
);
17357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17365 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17368 PyObject
* obj0
= 0 ;
17369 char *kwnames
[] = {
17370 (char *) "self", NULL
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 (arg1
)->base_InitDialog();
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17383 Py_INCREF(Py_None
); resultobj
= Py_None
;
17390 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17394 PyObject
* obj0
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= (bool)(arg1
)->base_TransferDataToWindow();
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17418 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(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_TransferDataFromWindow",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_TransferDataFromWindow();
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_Validate(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_Validate",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_Validate();
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_AcceptsFocus(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_AcceptsFocus",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)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
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_AcceptsFocusFromKeyboard(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_AcceptsFocusFromKeyboard",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_AcceptsFocusFromKeyboard();
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_GetMaxSize(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_GetMaxSize",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
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17550 wxSize
* resultptr
;
17551 resultptr
= new wxSize((wxSize
&) result
);
17552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17560 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17563 wxWindow
*arg2
= (wxWindow
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self",(char *) "child", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 (arg1
)->base_AddChild(arg2
);
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 Py_INCREF(Py_None
); resultobj
= Py_None
;
17589 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17592 wxWindow
*arg2
= (wxWindow
*) 0 ;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj1
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self",(char *) "child", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 (arg1
)->base_RemoveChild(arg2
);
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17611 Py_INCREF(Py_None
); resultobj
= Py_None
;
17618 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17646 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17649 wxColour
*arg2
= 0 ;
17651 PyObject
* obj0
= 0 ;
17652 PyObject
* obj1
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self",(char *) "c", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 Py_INCREF(Py_None
); resultobj
= Py_None
;
17678 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17681 wxVisualAttributes result
;
17682 PyObject
* obj0
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (arg1
)->base_GetDefaultAttributes();
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17698 wxVisualAttributes
* resultptr
;
17699 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17708 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17711 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17713 return Py_BuildValue((char *)"");
17715 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17716 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17721 static PyObject
*_wrap_PrintoutTitleStr_get() {
17726 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17728 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17735 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17736 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17741 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17746 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17748 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17755 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*self
, PyObject
*args
) {
17756 PyObject
*resultobj
;
17757 wxPrintData
*result
;
17759 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (wxPrintData
*)new wxPrintData();
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17774 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*self
, PyObject
*args
) {
17775 PyObject
*resultobj
;
17776 wxPrintData
*arg1
= 0 ;
17777 wxPrintData
*result
;
17778 PyObject
* obj0
= 0 ;
17780 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
17781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17784 if (arg1
== NULL
) {
17785 PyErr_SetString(PyExc_TypeError
,"null reference");
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
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(PyObject
*self
, PyObject
*args
) {
17807 argc
= PyObject_Length(args
);
17808 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
17809 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17812 return _wrap_new_PrintData__SWIG_0(self
,args
);
17818 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
17826 return _wrap_new_PrintData__SWIG_1(self
,args
);
17830 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
17835 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17838 PyObject
* obj0
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 Py_INCREF(Py_None
); resultobj
= Py_None
;
17860 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
;
17862 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17864 PyObject
* obj0
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (int)(arg1
)->GetNoCopies();
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= SWIG_FromInt((int)result
);
17886 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "self", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (bool)(arg1
)->GetCollate();
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17914 static PyObject
*_wrap_PrintData_GetOrientation(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_GetOrientation",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
= (int)(arg1
)->GetOrientation();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_FromInt((int)result
);
17940 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= (bool)(arg1
)->Ok();
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17968 static PyObject
*_wrap_PrintData_GetPrinterName(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_GetPrinterName",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();
17983 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17984 result
= (wxString
*) &_result_ref
;
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17994 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18003 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (bool)(arg1
)->GetColour();
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18031 static PyObject
*_wrap_PrintData_GetDuplex(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_GetDuplex",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
= (int)(arg1
)->GetDuplex();
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_FromInt((int)result
);
18057 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (int)(arg1
)->GetPaperId();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_FromInt((int)result
);
18083 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 char *kwnames
[] = {
18089 (char *) "self", NULL
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18099 result
= (wxSize
*) &_result_ref
;
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18112 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (int)(arg1
)->GetQuality();
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= SWIG_FromInt((int)result
);
18138 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "self",(char *) "v", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18151 arg2
= (int) SWIG_AsInt(obj1
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 (arg1
)->SetNoCopies(arg2
);
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 Py_INCREF(Py_None
); resultobj
= Py_None
;
18167 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18171 PyObject
* obj0
= 0 ;
18172 PyObject
* obj1
= 0 ;
18173 char *kwnames
[] = {
18174 (char *) "self",(char *) "flag", NULL
18177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18180 arg2
= (bool) SWIG_AsBool(obj1
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 (arg1
)->SetCollate(arg2
);
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 Py_INCREF(Py_None
); resultobj
= Py_None
;
18196 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18198 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18200 PyObject
* obj0
= 0 ;
18201 PyObject
* obj1
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self",(char *) "orient", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18209 arg2
= (int) SWIG_AsInt(obj1
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 (arg1
)->SetOrientation(arg2
);
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 Py_INCREF(Py_None
); resultobj
= Py_None
;
18225 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18228 wxString
*arg2
= 0 ;
18229 bool temp2
= False
;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self",(char *) "name", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18240 arg2
= wxString_in_helper(obj1
);
18241 if (arg2
== NULL
) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 Py_INCREF(Py_None
); resultobj
= Py_None
;
18266 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "colour", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18279 arg2
= (bool) SWIG_AsBool(obj1
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 (arg1
)->SetColour(arg2
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 Py_INCREF(Py_None
); resultobj
= Py_None
;
18295 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self",(char *) "duplex", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18308 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 Py_INCREF(Py_None
); resultobj
= Py_None
;
18324 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 PyObject
* obj1
= 0 ;
18330 char *kwnames
[] = {
18331 (char *) "self",(char *) "sizeId", NULL
18334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 Py_INCREF(Py_None
); resultobj
= Py_None
;
18353 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "sz", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18369 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 Py_INCREF(Py_None
); resultobj
= Py_None
;
18385 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
;
18387 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self",(char *) "quality", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18398 arg2
= (int) SWIG_AsInt(obj1
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 (arg1
)->SetQuality(arg2
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 Py_INCREF(Py_None
); resultobj
= Py_None
;
18414 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
;
18416 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18418 PyObject
* obj0
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "self", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18430 result
= (wxString
*) &_result_ref
;
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18440 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18449 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
;
18451 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18453 PyObject
* obj0
= 0 ;
18454 char *kwnames
[] = {
18455 (char *) "self", NULL
18458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18465 result
= (wxString
*) &_result_ref
;
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18475 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18484 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 char *kwnames
[] = {
18490 (char *) "self", NULL
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18500 result
= (wxString
*) &_result_ref
;
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18510 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18519 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
;
18521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18523 PyObject
* obj0
= 0 ;
18524 char *kwnames
[] = {
18525 (char *) "self", NULL
18528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 wxString
const &_result_ref
= (arg1
)->GetFilename();
18535 result
= (wxString
*) &_result_ref
;
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18545 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18554 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18570 result
= (wxString
*) &_result_ref
;
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18580 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18589 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
;
18591 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18593 PyObject
* obj0
= 0 ;
18594 char *kwnames
[] = {
18595 (char *) "self", NULL
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 result
= (double)(arg1
)->GetPrinterScaleX();
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_FromDouble((double)result
);
18615 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18617 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 result
= (double)(arg1
)->GetPrinterScaleY();
18631 wxPyEndAllowThreads(__tstate
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= SWIG_FromDouble((double)result
);
18641 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (long)(arg1
)->GetPrinterTranslateX();
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= SWIG_FromLong((long)result
);
18667 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (long)(arg1
)->GetPrinterTranslateY();
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_FromLong((long)result
);
18693 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
;
18695 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18697 PyObject
* obj0
= 0 ;
18698 char *kwnames
[] = {
18699 (char *) "self", NULL
18702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= (int)(arg1
)->GetPrintMode();
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= SWIG_FromInt((int)result
);
18719 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18722 wxString
*arg2
= 0 ;
18723 bool temp2
= False
;
18724 PyObject
* obj0
= 0 ;
18725 PyObject
* obj1
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self",(char *) "command", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18734 arg2
= wxString_in_helper(obj1
);
18735 if (arg2
== NULL
) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 Py_INCREF(Py_None
); resultobj
= Py_None
;
18760 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18763 wxString
*arg2
= 0 ;
18764 bool temp2
= False
;
18765 PyObject
* obj0
= 0 ;
18766 PyObject
* obj1
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self",(char *) "options", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18775 arg2
= wxString_in_helper(obj1
);
18776 if (arg2
== NULL
) SWIG_fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 Py_INCREF(Py_None
); resultobj
= Py_None
;
18801 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18802 PyObject
*resultobj
;
18803 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18804 wxString
*arg2
= 0 ;
18805 bool temp2
= False
;
18806 PyObject
* obj0
= 0 ;
18807 PyObject
* obj1
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self",(char *) "command", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18816 arg2
= wxString_in_helper(obj1
);
18817 if (arg2
== NULL
) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 Py_INCREF(Py_None
); resultobj
= Py_None
;
18842 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18845 wxString
*arg2
= 0 ;
18846 bool temp2
= False
;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "self",(char *) "filename", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18857 arg2
= wxString_in_helper(obj1
);
18858 if (arg2
== NULL
) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 (arg1
)->SetFilename((wxString
const &)*arg2
);
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18868 Py_INCREF(Py_None
); resultobj
= Py_None
;
18883 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18886 wxString
*arg2
= 0 ;
18887 bool temp2
= False
;
18888 PyObject
* obj0
= 0 ;
18889 PyObject
* obj1
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self",(char *) "path", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18898 arg2
= wxString_in_helper(obj1
);
18899 if (arg2
== NULL
) SWIG_fail
;
18903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18904 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18909 Py_INCREF(Py_None
); resultobj
= Py_None
;
18924 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18928 PyObject
* obj0
= 0 ;
18929 PyObject
* obj1
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self",(char *) "x", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18937 arg2
= (double) SWIG_AsDouble(obj1
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 (arg1
)->SetPrinterScaleX(arg2
);
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 Py_INCREF(Py_None
); resultobj
= Py_None
;
18953 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18957 PyObject
* obj0
= 0 ;
18958 PyObject
* obj1
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self",(char *) "y", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18966 arg2
= (double) SWIG_AsDouble(obj1
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 (arg1
)->SetPrinterScaleY(arg2
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 Py_INCREF(Py_None
); resultobj
= Py_None
;
18982 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 PyObject
* obj1
= 0 ;
18989 PyObject
* obj2
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self",(char *) "x",(char *) "y", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 arg2
= (double) SWIG_AsDouble(obj1
);
18998 if (PyErr_Occurred()) SWIG_fail
;
18999 arg3
= (double) SWIG_AsDouble(obj2
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 Py_INCREF(Py_None
); resultobj
= Py_None
;
19015 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19019 PyObject
* obj0
= 0 ;
19020 PyObject
* obj1
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "x", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19028 arg2
= (long) SWIG_AsLong(obj1
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 (arg1
)->SetPrinterTranslateX(arg2
);
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 Py_INCREF(Py_None
); resultobj
= Py_None
;
19044 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self",(char *) "y", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19057 arg2
= (long) SWIG_AsLong(obj1
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 (arg1
)->SetPrinterTranslateY(arg2
);
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 Py_INCREF(Py_None
); resultobj
= Py_None
;
19073 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19078 PyObject
* obj0
= 0 ;
19079 PyObject
* obj1
= 0 ;
19080 PyObject
* obj2
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self",(char *) "x",(char *) "y", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19088 arg2
= (long) SWIG_AsLong(obj1
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19090 arg3
= (long) SWIG_AsLong(obj2
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 Py_INCREF(Py_None
); resultobj
= Py_None
;
19106 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 PyObject
* obj1
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self",(char *) "printMode", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19119 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 Py_INCREF(Py_None
); resultobj
= Py_None
;
19135 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19138 wxOutputStream
*result
;
19139 PyObject
* obj0
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19161 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
;
19163 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19164 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19165 PyObject
* obj0
= 0 ;
19166 PyObject
* obj1
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self",(char *) "outputstream", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 (arg1
)->SetOutputStream(arg2
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 Py_INCREF(Py_None
); resultobj
= Py_None
;
19190 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19193 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19195 return Py_BuildValue((char *)"");
19197 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19198 PyObject
*resultobj
;
19199 wxPageSetupDialogData
*result
;
19201 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19216 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19217 PyObject
*resultobj
;
19218 wxPageSetupDialogData
*arg1
= 0 ;
19219 wxPageSetupDialogData
*result
;
19220 PyObject
* obj0
= 0 ;
19222 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19226 if (arg1
== NULL
) {
19227 PyErr_SetString(PyExc_TypeError
,"null reference");
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
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(PyObject
*self
, PyObject
*args
) {
19249 argc
= PyObject_Length(args
);
19250 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19251 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19254 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19260 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19268 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19272 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19277 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
;
19279 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19280 PyObject
* obj0
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 Py_INCREF(Py_None
); resultobj
= Py_None
;
19302 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self",(char *) "flag", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19315 arg2
= (bool) SWIG_AsBool(obj1
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 (arg1
)->EnableHelp(arg2
);
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19324 Py_INCREF(Py_None
); resultobj
= Py_None
;
19331 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19335 PyObject
* obj0
= 0 ;
19336 PyObject
* obj1
= 0 ;
19337 char *kwnames
[] = {
19338 (char *) "self",(char *) "flag", NULL
19341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19344 arg2
= (bool) SWIG_AsBool(obj1
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 (arg1
)->EnableMargins(arg2
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 Py_INCREF(Py_None
); resultobj
= Py_None
;
19360 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self",(char *) "flag", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19373 arg2
= (bool) SWIG_AsBool(obj1
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 (arg1
)->EnableOrientation(arg2
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 Py_INCREF(Py_None
); resultobj
= Py_None
;
19389 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj1
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self",(char *) "flag", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19402 arg2
= (bool) SWIG_AsBool(obj1
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 (arg1
)->EnablePaper(arg2
);
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 Py_INCREF(Py_None
); resultobj
= Py_None
;
19418 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self",(char *) "flag", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19431 arg2
= (bool) SWIG_AsBool(obj1
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 (arg1
)->EnablePrinter(arg2
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 Py_INCREF(Py_None
); resultobj
= Py_None
;
19447 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= (bool)(arg1
)->GetDefaultMinMargins();
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19475 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(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_GetEnableMargins",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
)->GetEnableMargins();
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19503 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(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_GetEnableOrientation",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
)->GetEnableOrientation();
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19531 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(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_GetEnablePaper",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
)->GetEnablePaper();
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19559 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(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_GetEnablePrinter",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
)->GetEnablePrinter();
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19587 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(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_GetEnableHelp",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
)->GetEnableHelp();
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19615 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(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_GetDefaultInfo",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
)->GetDefaultInfo();
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19643 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(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_GetMarginTopLeft",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
= (arg1
)->GetMarginTopLeft();
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19663 wxPoint
* resultptr
;
19664 resultptr
= new wxPoint((wxPoint
&) result
);
19665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19673 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
;
19675 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19677 PyObject
* obj0
= 0 ;
19678 char *kwnames
[] = {
19679 (char *) "self", NULL
19682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (arg1
)->GetMarginBottomRight();
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19693 wxPoint
* resultptr
;
19694 resultptr
= new wxPoint((wxPoint
&) result
);
19695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19703 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19705 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19707 PyObject
* obj0
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 result
= (arg1
)->GetMinMarginTopLeft();
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19723 wxPoint
* resultptr
;
19724 resultptr
= new wxPoint((wxPoint
&) result
);
19725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19733 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "self", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (arg1
)->GetMinMarginBottomRight();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 wxPoint
* resultptr
;
19754 resultptr
= new wxPoint((wxPoint
&) result
);
19755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19763 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19767 PyObject
* obj0
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (int)(arg1
)->GetPaperId();
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= SWIG_FromInt((int)result
);
19789 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19790 PyObject
*resultobj
;
19791 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19793 PyObject
* obj0
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "self", NULL
19798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 result
= (arg1
)->GetPaperSize();
19805 wxPyEndAllowThreads(__tstate
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19809 wxSize
* resultptr
;
19810 resultptr
= new wxSize((wxSize
&) result
);
19811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19819 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19822 wxPrintData
*result
;
19823 PyObject
* obj0
= 0 ;
19824 char *kwnames
[] = {
19825 (char *) "self", NULL
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19835 result
= (wxPrintData
*) &_result_ref
;
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19848 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
;
19850 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19852 PyObject
* obj0
= 0 ;
19853 char *kwnames
[] = {
19854 (char *) "self", NULL
19857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 result
= (bool)(arg1
)->Ok();
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19876 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
;
19878 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19880 PyObject
* obj0
= 0 ;
19881 PyObject
* obj1
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self",(char *) "flag", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19889 arg2
= (bool) SWIG_AsBool(obj1
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 (arg1
)->SetDefaultInfo(arg2
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 Py_INCREF(Py_None
); resultobj
= Py_None
;
19905 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
;
19907 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self",(char *) "flag", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19918 arg2
= (bool) SWIG_AsBool(obj1
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 (arg1
)->SetDefaultMinMargins(arg2
);
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 Py_INCREF(Py_None
); resultobj
= Py_None
;
19934 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19937 wxPoint
*arg2
= 0 ;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self",(char *) "pt", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 Py_INCREF(Py_None
); resultobj
= Py_None
;
19966 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19969 wxPoint
*arg2
= 0 ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 char *kwnames
[] = {
19974 (char *) "self",(char *) "pt", NULL
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 Py_INCREF(Py_None
); resultobj
= Py_None
;
19998 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20001 wxPoint
*arg2
= 0 ;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self",(char *) "pt", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20014 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 Py_INCREF(Py_None
); resultobj
= Py_None
;
20030 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
;
20032 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20033 wxPoint
*arg2
= 0 ;
20035 PyObject
* obj0
= 0 ;
20036 PyObject
* obj1
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self",(char *) "pt", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20046 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 Py_INCREF(Py_None
); resultobj
= Py_None
;
20062 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 PyObject
* obj1
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self",(char *) "id", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20075 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 Py_INCREF(Py_None
); resultobj
= Py_None
;
20091 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self",(char *) "size", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20107 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 Py_INCREF(Py_None
); resultobj
= Py_None
;
20123 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
;
20125 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20126 wxPrintData
*arg2
= 0 ;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20129 char *kwnames
[] = {
20130 (char *) "self",(char *) "printData", NULL
20133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20139 if (arg2
== NULL
) {
20140 PyErr_SetString(PyExc_TypeError
,"null reference");
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 Py_INCREF(Py_None
); resultobj
= Py_None
;
20157 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20160 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20162 return Py_BuildValue((char *)"");
20164 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxWindow
*arg1
= (wxWindow
*) 0 ;
20167 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20168 wxPageSetupDialog
*result
;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "parent",(char *) "data", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20183 if (!wxPyCheckForApp()) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20197 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20200 wxPageSetupDialogData
*result
;
20201 PyObject
* obj0
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20213 result
= (wxPageSetupDialogData
*) &_result_ref
;
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20226 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20228 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20230 PyObject
* obj0
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 result
= (int)(arg1
)->ShowModal();
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= SWIG_FromInt((int)result
);
20252 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20255 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20257 return Py_BuildValue((char *)"");
20259 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20260 PyObject
*resultobj
;
20261 wxPrintDialogData
*result
;
20263 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20278 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20279 PyObject
*resultobj
;
20280 wxPrintData
*arg1
= 0 ;
20281 wxPrintDialogData
*result
;
20282 PyObject
* obj0
= 0 ;
20284 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20288 if (arg1
== NULL
) {
20289 PyErr_SetString(PyExc_TypeError
,"null reference");
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
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(PyObject
*self
, PyObject
*args
) {
20311 argc
= PyObject_Length(args
);
20312 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20313 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20316 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20322 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20330 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20334 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20339 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20341 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20342 PyObject
* obj0
= 0 ;
20343 char *kwnames
[] = {
20344 (char *) "self", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 Py_INCREF(Py_None
); resultobj
= Py_None
;
20364 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20368 PyObject
* obj0
= 0 ;
20369 char *kwnames
[] = {
20370 (char *) "self", NULL
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_FromInt((int)result
);
20390 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20394 PyObject
* obj0
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self", NULL
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= SWIG_FromInt((int)result
);
20416 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "self", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20435 resultobj
= SWIG_FromInt((int)result
);
20442 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20443 PyObject
*resultobj
;
20444 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= SWIG_FromInt((int)result
);
20468 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20470 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20472 PyObject
* obj0
= 0 ;
20473 char *kwnames
[] = {
20474 (char *) "self", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_FromInt((int)result
);
20494 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20498 PyObject
* obj0
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20522 static PyObject
*_wrap_PrintDialogData_GetSelection(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_GetSelection",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
)->GetSelection();
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20550 static PyObject
*_wrap_PrintDialogData_GetCollate(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_GetCollate",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
)->GetCollate();
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20578 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(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_GetPrintToFile",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
)->GetPrintToFile();
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20606 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(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_GetSetupDialog",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
)->GetSetupDialog();
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20634 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
;
20636 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20638 PyObject
* obj0
= 0 ;
20639 PyObject
* obj1
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self",(char *) "v", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20647 arg2
= (int) SWIG_AsInt(obj1
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 (arg1
)->SetFromPage(arg2
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 Py_INCREF(Py_None
); resultobj
= Py_None
;
20663 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20667 PyObject
* obj0
= 0 ;
20668 PyObject
* obj1
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self",(char *) "v", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20676 arg2
= (int) SWIG_AsInt(obj1
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 (arg1
)->SetToPage(arg2
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20685 Py_INCREF(Py_None
); resultobj
= Py_None
;
20692 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20696 PyObject
* obj0
= 0 ;
20697 PyObject
* obj1
= 0 ;
20698 char *kwnames
[] = {
20699 (char *) "self",(char *) "v", NULL
20702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20705 arg2
= (int) SWIG_AsInt(obj1
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 (arg1
)->SetMinPage(arg2
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 Py_INCREF(Py_None
); resultobj
= Py_None
;
20721 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
;
20723 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20725 PyObject
* obj0
= 0 ;
20726 PyObject
* obj1
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self",(char *) "v", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20734 arg2
= (int) SWIG_AsInt(obj1
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 (arg1
)->SetMaxPage(arg2
);
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 Py_INCREF(Py_None
); resultobj
= Py_None
;
20750 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20754 PyObject
* obj0
= 0 ;
20755 PyObject
* obj1
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self",(char *) "v", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20763 arg2
= (int) SWIG_AsInt(obj1
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 (arg1
)->SetNoCopies(arg2
);
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 Py_INCREF(Py_None
); resultobj
= Py_None
;
20779 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self",(char *) "flag", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20792 arg2
= (bool) SWIG_AsBool(obj1
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 (arg1
)->SetAllPages(arg2
);
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 Py_INCREF(Py_None
); resultobj
= Py_None
;
20808 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 PyObject
* obj1
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self",(char *) "flag", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20821 arg2
= (bool) SWIG_AsBool(obj1
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 (arg1
)->SetSelection(arg2
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 Py_INCREF(Py_None
); resultobj
= Py_None
;
20837 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "self",(char *) "flag", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20850 arg2
= (bool) SWIG_AsBool(obj1
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 (arg1
)->SetCollate(arg2
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 Py_INCREF(Py_None
); resultobj
= Py_None
;
20866 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20870 PyObject
* obj0
= 0 ;
20871 PyObject
* obj1
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self",(char *) "flag", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20879 arg2
= (bool) SWIG_AsBool(obj1
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 (arg1
)->SetPrintToFile(arg2
);
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 Py_INCREF(Py_None
); resultobj
= Py_None
;
20895 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20897 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20899 PyObject
* obj0
= 0 ;
20900 PyObject
* obj1
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self",(char *) "flag", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20908 arg2
= (bool) SWIG_AsBool(obj1
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 (arg1
)->SetSetupDialog(arg2
);
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 Py_INCREF(Py_None
); resultobj
= Py_None
;
20924 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self",(char *) "flag", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20937 arg2
= (bool) SWIG_AsBool(obj1
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 (arg1
)->EnablePrintToFile(arg2
);
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 Py_INCREF(Py_None
); resultobj
= Py_None
;
20953 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20957 PyObject
* obj0
= 0 ;
20958 PyObject
* obj1
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self",(char *) "flag", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20966 arg2
= (bool) SWIG_AsBool(obj1
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 (arg1
)->EnableSelection(arg2
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 Py_INCREF(Py_None
); resultobj
= Py_None
;
20982 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 PyObject
* obj1
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self",(char *) "flag", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 arg2
= (bool) SWIG_AsBool(obj1
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 (arg1
)->EnablePageNumbers(arg2
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 Py_INCREF(Py_None
); resultobj
= Py_None
;
21011 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self",(char *) "flag", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21024 arg2
= (bool) SWIG_AsBool(obj1
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 (arg1
)->EnableHelp(arg2
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 Py_INCREF(Py_None
); resultobj
= Py_None
;
21040 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21044 PyObject
* obj0
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21068 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(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_GetEnableSelection",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
)->GetEnableSelection();
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21096 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(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_GetEnablePageNumbers",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
)->GetEnablePageNumbers();
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21124 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(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_GetEnableHelp",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
)->GetEnableHelp();
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21152 static PyObject
*_wrap_PrintDialogData_Ok(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_Ok",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
)->Ok();
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21180 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
;
21182 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21183 wxPrintData
*result
;
21184 PyObject
* obj0
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "self", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",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();
21195 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21196 result
= (wxPrintData
*) &_result_ref
;
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21209 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
;
21211 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21212 wxPrintData
*arg2
= 0 ;
21213 PyObject
* obj0
= 0 ;
21214 PyObject
* obj1
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self",(char *) "printData", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21225 if (arg2
== NULL
) {
21226 PyErr_SetString(PyExc_TypeError
,"null reference");
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 Py_INCREF(Py_None
); resultobj
= Py_None
;
21243 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21246 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21248 return Py_BuildValue((char *)"");
21250 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxWindow
*arg1
= (wxWindow
*) 0 ;
21253 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21254 wxPrintDialog
*result
;
21255 PyObject
* obj0
= 0 ;
21256 PyObject
* obj1
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "parent",(char *) "data", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21269 if (!wxPyCheckForApp()) SWIG_fail
;
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21283 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
;
21285 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21286 wxPrintDialogData
*result
;
21287 PyObject
* obj0
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21299 result
= (wxPrintDialogData
*) &_result_ref
;
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21312 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21316 PyObject
* obj0
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (wxDC
*)(arg1
)->GetPrintDC();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= wxPyMake_wxObject(result
, 1);
21340 static PyObject
*_wrap_PrintDialog_ShowModal(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_ShowModal",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
= (int)(arg1
)->ShowModal();
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= SWIG_FromInt((int)result
);
21366 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21369 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21371 return Py_BuildValue((char *)"");
21373 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21377 PyObject
* obj0
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "data", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21388 if (!wxPyCheckForApp()) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (wxPrinter
*)new wxPrinter(arg1
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21402 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
;
21404 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 char *kwnames
[] = {
21407 (char *) "self", NULL
21410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 Py_INCREF(Py_None
); resultobj
= Py_None
;
21427 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21430 wxWindow
*arg2
= (wxWindow
*) 0 ;
21431 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21432 PyObject
* obj0
= 0 ;
21433 PyObject
* obj1
= 0 ;
21434 PyObject
* obj2
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "self",(char *) "parent",(char *) "printout", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21444 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 Py_INCREF(Py_None
); resultobj
= Py_None
;
21460 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21462 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21463 wxPrintDialogData
*result
;
21464 PyObject
* obj0
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21475 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21476 result
= (wxPrintDialogData
*) &_result_ref
;
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21489 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21490 PyObject
*resultobj
;
21491 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21492 wxWindow
*arg2
= (wxWindow
*) 0 ;
21493 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21494 int arg4
= (int) True
;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 PyObject
* obj2
= 0 ;
21499 PyObject
* obj3
= 0 ;
21500 char *kwnames
[] = {
21501 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21509 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21512 arg4
= (int) SWIG_AsInt(obj3
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21531 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
;
21533 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21534 wxWindow
*arg2
= (wxWindow
*) 0 ;
21536 PyObject
* obj0
= 0 ;
21537 PyObject
* obj1
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self",(char *) "parent", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= wxPyMake_wxObject(result
, 0);
21563 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21566 wxWindow
*arg2
= (wxWindow
*) 0 ;
21567 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21568 wxString
*arg4
= 0 ;
21569 bool temp4
= False
;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 PyObject
* obj2
= 0 ;
21573 PyObject
* obj3
= 0 ;
21574 char *kwnames
[] = {
21575 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21583 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21586 arg4
= wxString_in_helper(obj3
);
21587 if (arg4
== NULL
) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 Py_INCREF(Py_None
); resultobj
= Py_None
;
21612 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21615 wxWindow
*arg2
= (wxWindow
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "parent", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= (bool)(arg1
)->Setup(arg2
);
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21644 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= (bool)(arg1
)->GetAbort();
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21672 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
;
21675 char *kwnames
[] = {
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= (int)wxPrinter::GetLastError();
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 resultobj
= SWIG_FromInt((int)result
);
21694 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21697 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21699 return Py_BuildValue((char *)"");
21701 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21704 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21705 wxPyPrintout
*result
;
21706 bool temp1
= False
;
21707 PyObject
* obj0
= 0 ;
21708 char *kwnames
[] = {
21709 (char *) "title", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21715 arg1
= wxString_in_helper(obj0
);
21716 if (arg1
== NULL
) SWIG_fail
;
21721 if (!wxPyCheckForApp()) SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= wxPyMake_wxObject(result
, 1);
21745 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21747 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21748 PyObject
*arg2
= (PyObject
*) 0 ;
21749 PyObject
*arg3
= (PyObject
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 PyObject
* obj2
= 0 ;
21753 char *kwnames
[] = {
21754 (char *) "self",(char *) "self",(char *) "_class", NULL
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 Py_INCREF(Py_None
); resultobj
= Py_None
;
21776 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
;
21778 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21780 PyObject
* obj0
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21808 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21810 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21812 PyObject
* obj0
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self", NULL
21817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 result
= (wxDC
*)(arg1
)->GetDC();
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= wxPyMake_wxObject(result
, 0);
21836 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21839 wxDC
*arg2
= (wxDC
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self",(char *) "dc", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 (arg1
)->SetDC(arg2
);
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 Py_INCREF(Py_None
); resultobj
= Py_None
;
21865 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
;
21867 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21870 PyObject
* obj0
= 0 ;
21871 PyObject
* obj1
= 0 ;
21872 PyObject
* obj2
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "w",(char *) "h", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 arg2
= (int) SWIG_AsInt(obj1
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21882 arg3
= (int) SWIG_AsInt(obj2
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 Py_INCREF(Py_None
); resultobj
= Py_None
;
21898 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21901 int *arg2
= (int *) 0 ;
21902 int *arg3
= (int *) 0 ;
21905 PyObject
* obj0
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 Py_INCREF(Py_None
); resultobj
= Py_None
;
21924 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21925 resultobj
= t_output_helper(resultobj
,o
);
21928 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21929 resultobj
= t_output_helper(resultobj
,o
);
21937 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21942 PyObject
* obj0
= 0 ;
21943 PyObject
* obj1
= 0 ;
21944 PyObject
* obj2
= 0 ;
21945 char *kwnames
[] = {
21946 (char *) "self",(char *) "w",(char *) "h", NULL
21949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21952 arg2
= (int) SWIG_AsInt(obj1
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21954 arg3
= (int) SWIG_AsInt(obj2
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 Py_INCREF(Py_None
); resultobj
= Py_None
;
21970 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
;
21972 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21973 int *arg2
= (int *) 0 ;
21974 int *arg3
= (int *) 0 ;
21977 PyObject
* obj0
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 Py_INCREF(Py_None
); resultobj
= Py_None
;
21996 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21997 resultobj
= t_output_helper(resultobj
,o
);
22000 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22001 resultobj
= t_output_helper(resultobj
,o
);
22009 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 PyObject
* obj2
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "x",(char *) "y", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22024 arg2
= (int) SWIG_AsInt(obj1
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22026 arg3
= (int) SWIG_AsInt(obj2
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 (arg1
)->SetPPIScreen(arg2
,arg3
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 Py_INCREF(Py_None
); resultobj
= Py_None
;
22042 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22045 int *arg2
= (int *) 0 ;
22046 int *arg3
= (int *) 0 ;
22049 PyObject
* obj0
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22061 (arg1
)->GetPPIScreen(arg2
,arg3
);
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 Py_INCREF(Py_None
); resultobj
= Py_None
;
22068 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22069 resultobj
= t_output_helper(resultobj
,o
);
22072 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22073 resultobj
= t_output_helper(resultobj
,o
);
22081 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22086 PyObject
* obj0
= 0 ;
22087 PyObject
* obj1
= 0 ;
22088 PyObject
* obj2
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "x",(char *) "y", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22096 arg2
= (int) SWIG_AsInt(obj1
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22098 arg3
= (int) SWIG_AsInt(obj2
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 Py_INCREF(Py_None
); resultobj
= Py_None
;
22114 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22117 int *arg2
= (int *) 0 ;
22118 int *arg3
= (int *) 0 ;
22121 PyObject
* obj0
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self", NULL
22128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22141 resultobj
= t_output_helper(resultobj
,o
);
22144 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22145 resultobj
= t_output_helper(resultobj
,o
);
22153 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22155 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22157 PyObject
* obj0
= 0 ;
22158 char *kwnames
[] = {
22159 (char *) "self", NULL
22162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (bool)(arg1
)->IsPreview();
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22181 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22182 PyObject
*resultobj
;
22183 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22185 PyObject
* obj0
= 0 ;
22186 PyObject
* obj1
= 0 ;
22187 char *kwnames
[] = {
22188 (char *) "self",(char *) "p", NULL
22191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22194 arg2
= (bool) SWIG_AsBool(obj1
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 (arg1
)->SetIsPreview(arg2
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 Py_INCREF(Py_None
); resultobj
= Py_None
;
22210 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22216 PyObject
* obj0
= 0 ;
22217 PyObject
* obj1
= 0 ;
22218 PyObject
* obj2
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22226 arg2
= (int) SWIG_AsInt(obj1
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22228 arg3
= (int) SWIG_AsInt(obj2
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22246 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22249 PyObject
* obj0
= 0 ;
22250 char *kwnames
[] = {
22251 (char *) "self", NULL
22254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 (arg1
)->base_OnEndDocument();
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22264 Py_INCREF(Py_None
); resultobj
= Py_None
;
22271 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 char *kwnames
[] = {
22276 (char *) "self", NULL
22279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 (arg1
)->base_OnBeginPrinting();
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 Py_INCREF(Py_None
); resultobj
= Py_None
;
22296 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 (arg1
)->base_OnEndPrinting();
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 Py_INCREF(Py_None
); resultobj
= Py_None
;
22321 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22324 PyObject
* obj0
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 (arg1
)->base_OnPreparePrinting();
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 Py_INCREF(Py_None
); resultobj
= Py_None
;
22346 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
;
22348 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22351 PyObject
* obj0
= 0 ;
22352 PyObject
* obj1
= 0 ;
22353 char *kwnames
[] = {
22354 (char *) "self",(char *) "page", NULL
22357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22360 arg2
= (int) SWIG_AsInt(obj1
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= (bool)(arg1
)->base_HasPage(arg2
);
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22378 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
;
22380 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22381 int *arg2
= (int *) 0 ;
22382 int *arg3
= (int *) 0 ;
22383 int *arg4
= (int *) 0 ;
22384 int *arg5
= (int *) 0 ;
22389 PyObject
* obj0
= 0 ;
22390 char *kwnames
[] = {
22391 (char *) "self", NULL
22398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 Py_INCREF(Py_None
); resultobj
= Py_None
;
22410 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22411 resultobj
= t_output_helper(resultobj
,o
);
22414 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22415 resultobj
= t_output_helper(resultobj
,o
);
22418 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22419 resultobj
= t_output_helper(resultobj
,o
);
22422 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22423 resultobj
= t_output_helper(resultobj
,o
);
22431 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22434 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22436 return Py_BuildValue((char *)"");
22438 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22441 wxWindow
*arg2
= (wxWindow
*) 0 ;
22442 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22443 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22444 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22445 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22446 long arg5
= (long) 0 ;
22447 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22448 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22449 wxPreviewCanvas
*result
;
22452 bool temp6
= False
;
22453 PyObject
* obj0
= 0 ;
22454 PyObject
* obj1
= 0 ;
22455 PyObject
* obj2
= 0 ;
22456 PyObject
* obj3
= 0 ;
22457 PyObject
* obj4
= 0 ;
22458 PyObject
* obj5
= 0 ;
22459 char *kwnames
[] = {
22460 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22477 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22481 arg5
= (long) SWIG_AsLong(obj4
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22486 arg6
= wxString_in_helper(obj5
);
22487 if (arg6
== NULL
) SWIG_fail
;
22492 if (!wxPyCheckForApp()) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22514 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22517 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22519 return Py_BuildValue((char *)"");
22521 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22524 wxFrame
*arg2
= (wxFrame
*) 0 ;
22525 wxString
*arg3
= 0 ;
22526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22530 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22531 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22532 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22533 wxPreviewFrame
*result
;
22534 bool temp3
= False
;
22537 bool temp7
= False
;
22538 PyObject
* obj0
= 0 ;
22539 PyObject
* obj1
= 0 ;
22540 PyObject
* obj2
= 0 ;
22541 PyObject
* obj3
= 0 ;
22542 PyObject
* obj4
= 0 ;
22543 PyObject
* obj5
= 0 ;
22544 PyObject
* obj6
= 0 ;
22545 char *kwnames
[] = {
22546 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 arg3
= wxString_in_helper(obj2
);
22556 if (arg3
== NULL
) SWIG_fail
;
22562 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22568 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22572 arg6
= (long) SWIG_AsLong(obj5
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22577 arg7
= wxString_in_helper(obj6
);
22578 if (arg7
== NULL
) SWIG_fail
;
22583 if (!wxPyCheckForApp()) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22613 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
;
22615 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22616 PyObject
* obj0
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 (arg1
)->Initialize();
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 Py_INCREF(Py_None
); resultobj
= Py_None
;
22638 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
;
22640 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22641 PyObject
* obj0
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 (arg1
)->CreateControlBar();
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 Py_INCREF(Py_None
); resultobj
= Py_None
;
22663 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22665 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22666 PyObject
* obj0
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 (arg1
)->CreateCanvas();
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 Py_INCREF(Py_None
); resultobj
= Py_None
;
22688 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22691 wxPreviewControlBar
*result
;
22692 PyObject
* obj0
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "self", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22714 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22717 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22719 return Py_BuildValue((char *)"");
22721 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22723 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22725 wxWindow
*arg3
= (wxWindow
*) 0 ;
22726 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22727 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22728 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22729 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22730 long arg6
= (long) wxTAB_TRAVERSAL
;
22731 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22732 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22733 wxPreviewControlBar
*result
;
22736 bool temp7
= False
;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 PyObject
* obj2
= 0 ;
22740 PyObject
* obj3
= 0 ;
22741 PyObject
* obj4
= 0 ;
22742 PyObject
* obj5
= 0 ;
22743 PyObject
* obj6
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22751 arg2
= (long) SWIG_AsLong(obj1
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22753 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22758 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22764 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22768 arg6
= (long) SWIG_AsLong(obj5
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22773 arg7
= wxString_in_helper(obj6
);
22774 if (arg7
== NULL
) SWIG_fail
;
22779 if (!wxPyCheckForApp()) SWIG_fail
;
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22801 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22802 PyObject
*resultobj
;
22803 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22805 PyObject
* obj0
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (int)(arg1
)->GetZoomControl();
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22820 resultobj
= SWIG_FromInt((int)result
);
22827 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
;
22829 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "self",(char *) "zoom", NULL
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22840 arg2
= (int) SWIG_AsInt(obj1
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 (arg1
)->SetZoomControl(arg2
);
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 Py_INCREF(Py_None
); resultobj
= Py_None
;
22856 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
;
22858 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22859 wxPrintPreview
*result
;
22860 PyObject
* obj0
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "self", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22882 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
;
22884 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22885 PyObject
* obj0
= 0 ;
22886 char *kwnames
[] = {
22887 (char *) "self", NULL
22890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 Py_INCREF(Py_None
); resultobj
= Py_None
;
22907 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
;
22909 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22910 PyObject
* obj0
= 0 ;
22911 char *kwnames
[] = {
22912 (char *) "self", NULL
22915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 (arg1
)->OnPrevious();
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 Py_INCREF(Py_None
); resultobj
= Py_None
;
22932 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22935 PyObject
* obj0
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 Py_INCREF(Py_None
); resultobj
= Py_None
;
22957 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
;
22959 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22960 PyObject
* obj0
= 0 ;
22961 char *kwnames
[] = {
22962 (char *) "self", NULL
22965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 Py_INCREF(Py_None
); resultobj
= Py_None
;
22982 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 Py_INCREF(Py_None
); resultobj
= Py_None
;
23007 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23010 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23012 return Py_BuildValue((char *)"");
23014 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23015 PyObject
*resultobj
;
23016 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23017 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23018 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23019 wxPrintPreview
*result
;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 PyObject
* obj2
= 0 ;
23024 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23030 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23034 if (!wxPyCheckForApp()) SWIG_fail
;
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23048 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23049 PyObject
*resultobj
;
23050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23051 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23052 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23053 wxPrintPreview
*result
;
23054 PyObject
* obj0
= 0 ;
23055 PyObject
* obj1
= 0 ;
23056 PyObject
* obj2
= 0 ;
23058 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23063 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23066 if (!wxPyCheckForApp()) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23080 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23085 argc
= PyObject_Length(args
);
23086 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23087 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23089 if ((argc
>= 2) && (argc
<= 3)) {
23093 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23103 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23112 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23116 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23124 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23133 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23143 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23153 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23161 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23167 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23172 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
;
23174 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23177 PyObject
* obj0
= 0 ;
23178 PyObject
* obj1
= 0 ;
23179 char *kwnames
[] = {
23180 (char *) "self",(char *) "pageNum", NULL
23183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23186 arg2
= (int) SWIG_AsInt(obj1
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23204 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23206 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23208 PyObject
* obj0
= 0 ;
23209 char *kwnames
[] = {
23210 (char *) "self", NULL
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23218 result
= (int)(arg1
)->GetCurrentPage();
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= SWIG_FromInt((int)result
);
23230 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23232 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23233 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "self",(char *) "printout", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 (arg1
)->SetPrintout(arg2
);
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 Py_INCREF(Py_None
); resultobj
= Py_None
;
23259 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
;
23261 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23262 wxPyPrintout
*result
;
23263 PyObject
* obj0
= 0 ;
23264 char *kwnames
[] = {
23265 (char *) "self", NULL
23268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= wxPyMake_wxObject(result
, 0);
23287 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(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_GetPrintoutForPrinting",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
)->GetPrintoutForPrinting();
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= wxPyMake_wxObject(result
, 0);
23315 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
;
23317 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23318 wxFrame
*arg2
= (wxFrame
*) 0 ;
23319 PyObject
* obj0
= 0 ;
23320 PyObject
* obj1
= 0 ;
23321 char *kwnames
[] = {
23322 (char *) "self",(char *) "frame", NULL
23325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 (arg1
)->SetFrame(arg2
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 Py_INCREF(Py_None
); resultobj
= Py_None
;
23344 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23347 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23348 PyObject
* obj0
= 0 ;
23349 PyObject
* obj1
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self",(char *) "canvas", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 (arg1
)->SetCanvas(arg2
);
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 Py_INCREF(Py_None
); resultobj
= Py_None
;
23373 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23377 PyObject
* obj0
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (wxFrame
*)(arg1
)->GetFrame();
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= wxPyMake_wxObject(result
, 0);
23401 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23404 wxPreviewCanvas
*result
;
23405 PyObject
* obj0
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",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
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23427 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23429 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23430 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23433 PyObject
* obj0
= 0 ;
23434 PyObject
* obj1
= 0 ;
23435 PyObject
* obj2
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23445 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23448 if (arg3
== NULL
) {
23449 PyErr_SetString(PyExc_TypeError
,"null reference");
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23468 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23471 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23474 PyObject
* obj0
= 0 ;
23475 PyObject
* obj1
= 0 ;
23476 PyObject
* obj2
= 0 ;
23477 char *kwnames
[] = {
23478 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23486 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23489 if (arg3
== NULL
) {
23490 PyErr_SetString(PyExc_TypeError
,"null reference");
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23509 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23514 PyObject
* obj0
= 0 ;
23515 PyObject
* obj1
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self",(char *) "pageNum", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23523 arg2
= (int) SWIG_AsInt(obj1
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (bool)(arg1
)->RenderPage(arg2
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23541 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23544 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 PyObject
* obj1
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self",(char *) "canvas", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 (arg1
)->AdjustScrollbars(arg2
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 Py_INCREF(Py_None
); resultobj
= Py_None
;
23570 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23573 wxPrintDialogData
*result
;
23574 PyObject
* obj0
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23586 result
= (wxPrintDialogData
*) &_result_ref
;
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23599 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 char *kwnames
[] = {
23606 (char *) "self",(char *) "percent", NULL
23609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23612 arg2
= (int) SWIG_AsInt(obj1
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 (arg1
)->SetZoom(arg2
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 Py_INCREF(Py_None
); resultobj
= Py_None
;
23628 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
;
23630 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23632 PyObject
* obj0
= 0 ;
23633 char *kwnames
[] = {
23634 (char *) "self", NULL
23637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 result
= (int)(arg1
)->GetZoom();
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_FromInt((int)result
);
23654 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 result
= (int)(arg1
)->GetMaxPage();
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_FromInt((int)result
);
23680 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23684 PyObject
* obj0
= 0 ;
23685 char *kwnames
[] = {
23686 (char *) "self", NULL
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 result
= (int)(arg1
)->GetMinPage();
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_FromInt((int)result
);
23706 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
;
23708 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "self", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 result
= (bool)(arg1
)->Ok();
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23734 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
;
23736 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23738 PyObject
* obj0
= 0 ;
23739 PyObject
* obj1
= 0 ;
23740 char *kwnames
[] = {
23741 (char *) "self",(char *) "ok", NULL
23744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23747 arg2
= (bool) SWIG_AsBool(obj1
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 (arg1
)->SetOk(arg2
);
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23756 Py_INCREF(Py_None
); resultobj
= Py_None
;
23763 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23764 PyObject
*resultobj
;
23765 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 PyObject
* obj1
= 0 ;
23770 char *kwnames
[] = {
23771 (char *) "self",(char *) "interactive", NULL
23774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23777 arg2
= (bool) SWIG_AsBool(obj1
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= (bool)(arg1
)->Print(arg2
);
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23795 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23798 PyObject
* obj0
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "self", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 (arg1
)->DetermineScaling();
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 Py_INCREF(Py_None
); resultobj
= Py_None
;
23820 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23823 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23825 return Py_BuildValue((char *)"");
23827 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23828 PyObject
*resultobj
;
23829 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23830 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23831 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23832 wxPyPrintPreview
*result
;
23833 PyObject
* obj0
= 0 ;
23834 PyObject
* obj1
= 0 ;
23835 PyObject
* obj2
= 0 ;
23837 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23843 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23847 if (!wxPyCheckForApp()) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23861 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23862 PyObject
*resultobj
;
23863 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23864 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23865 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23866 wxPyPrintPreview
*result
;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 PyObject
* obj2
= 0 ;
23871 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23876 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23879 if (!wxPyCheckForApp()) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23893 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23898 argc
= PyObject_Length(args
);
23899 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23900 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23902 if ((argc
>= 2) && (argc
<= 3)) {
23906 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23916 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23925 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23929 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23937 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23946 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23956 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23966 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23974 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23980 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23985 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
;
23987 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23988 PyObject
*arg2
= (PyObject
*) 0 ;
23989 PyObject
*arg3
= (PyObject
*) 0 ;
23990 PyObject
* obj0
= 0 ;
23991 PyObject
* obj1
= 0 ;
23992 PyObject
* obj2
= 0 ;
23993 char *kwnames
[] = {
23994 (char *) "self",(char *) "self",(char *) "_class", NULL
23997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24009 Py_INCREF(Py_None
); resultobj
= Py_None
;
24016 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24017 PyObject
*resultobj
;
24018 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24021 PyObject
* obj0
= 0 ;
24022 PyObject
* obj1
= 0 ;
24023 char *kwnames
[] = {
24024 (char *) "self",(char *) "pageNum", NULL
24027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24030 arg2
= (int) SWIG_AsInt(obj1
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24048 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24051 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24054 PyObject
* obj0
= 0 ;
24055 PyObject
* obj1
= 0 ;
24056 PyObject
* obj2
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24066 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24069 if (arg3
== NULL
) {
24070 PyErr_SetString(PyExc_TypeError
,"null reference");
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24089 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24092 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24095 PyObject
* obj0
= 0 ;
24096 PyObject
* obj1
= 0 ;
24097 PyObject
* obj2
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24107 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24110 if (arg3
== NULL
) {
24111 PyErr_SetString(PyExc_TypeError
,"null reference");
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24130 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24135 PyObject
* obj0
= 0 ;
24136 PyObject
* obj1
= 0 ;
24137 char *kwnames
[] = {
24138 (char *) "self",(char *) "pageNum", NULL
24141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24144 arg2
= (int) SWIG_AsInt(obj1
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24162 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24166 PyObject
* obj0
= 0 ;
24167 PyObject
* obj1
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self",(char *) "percent", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24175 arg2
= (int) SWIG_AsInt(obj1
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 (arg1
)->base_SetZoom(arg2
);
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 Py_INCREF(Py_None
); resultobj
= Py_None
;
24191 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 PyObject
* obj1
= 0 ;
24198 char *kwnames
[] = {
24199 (char *) "self",(char *) "interactive", NULL
24202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24205 arg2
= (bool) SWIG_AsBool(obj1
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (bool)(arg1
)->base_Print(arg2
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24223 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24226 PyObject
* obj0
= 0 ;
24227 char *kwnames
[] = {
24228 (char *) "self", NULL
24231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 (arg1
)->base_DetermineScaling();
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 Py_INCREF(Py_None
); resultobj
= Py_None
;
24248 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24251 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24253 return Py_BuildValue((char *)"");
24255 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24258 wxFrame
*arg2
= (wxFrame
*) 0 ;
24259 wxString
*arg3
= 0 ;
24260 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24261 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24262 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24263 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24264 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24265 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24266 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24267 wxPyPreviewFrame
*result
;
24268 bool temp3
= False
;
24271 bool temp7
= False
;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 PyObject
* obj2
= 0 ;
24275 PyObject
* obj3
= 0 ;
24276 PyObject
* obj4
= 0 ;
24277 PyObject
* obj5
= 0 ;
24278 PyObject
* obj6
= 0 ;
24279 char *kwnames
[] = {
24280 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24289 arg3
= wxString_in_helper(obj2
);
24290 if (arg3
== NULL
) SWIG_fail
;
24296 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24302 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24306 arg6
= (long) SWIG_AsLong(obj5
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24311 arg7
= wxString_in_helper(obj6
);
24312 if (arg7
== NULL
) SWIG_fail
;
24317 if (!wxPyCheckForApp()) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24347 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
;
24349 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24350 PyObject
*arg2
= (PyObject
*) 0 ;
24351 PyObject
*arg3
= (PyObject
*) 0 ;
24352 PyObject
* obj0
= 0 ;
24353 PyObject
* obj1
= 0 ;
24354 PyObject
* obj2
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self",(char *) "self",(char *) "_class", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 Py_INCREF(Py_None
); resultobj
= Py_None
;
24378 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
;
24380 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24381 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self",(char *) "canvas", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 (arg1
)->SetPreviewCanvas(arg2
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 Py_INCREF(Py_None
); resultobj
= Py_None
;
24407 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24410 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self",(char *) "bar", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 (arg1
)->SetControlBar(arg2
);
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 Py_INCREF(Py_None
); resultobj
= Py_None
;
24436 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
;
24438 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 (arg1
)->base_Initialize();
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 Py_INCREF(Py_None
); resultobj
= Py_None
;
24461 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24464 PyObject
* obj0
= 0 ;
24465 char *kwnames
[] = {
24466 (char *) "self", NULL
24469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 (arg1
)->base_CreateCanvas();
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 Py_INCREF(Py_None
); resultobj
= Py_None
;
24486 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 (arg1
)->base_CreateControlBar();
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24504 Py_INCREF(Py_None
); resultobj
= Py_None
;
24511 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24514 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24516 return Py_BuildValue((char *)"");
24518 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
;
24520 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24522 wxWindow
*arg3
= (wxWindow
*) 0 ;
24523 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24524 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24525 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24526 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24527 long arg6
= (long) 0 ;
24528 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24529 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24530 wxPyPreviewControlBar
*result
;
24533 bool temp7
= False
;
24534 PyObject
* obj0
= 0 ;
24535 PyObject
* obj1
= 0 ;
24536 PyObject
* obj2
= 0 ;
24537 PyObject
* obj3
= 0 ;
24538 PyObject
* obj4
= 0 ;
24539 PyObject
* obj5
= 0 ;
24540 PyObject
* obj6
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24548 arg2
= (long) SWIG_AsLong(obj1
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24550 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24565 arg6
= (long) SWIG_AsLong(obj5
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24570 arg7
= wxString_in_helper(obj6
);
24571 if (arg7
== NULL
) SWIG_fail
;
24576 if (!wxPyCheckForApp()) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24598 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
;
24600 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24601 PyObject
*arg2
= (PyObject
*) 0 ;
24602 PyObject
*arg3
= (PyObject
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 PyObject
* obj1
= 0 ;
24605 PyObject
* obj2
= 0 ;
24606 char *kwnames
[] = {
24607 (char *) "self",(char *) "self",(char *) "_class", NULL
24610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24622 Py_INCREF(Py_None
); resultobj
= Py_None
;
24629 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
;
24631 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24632 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 char *kwnames
[] = {
24636 (char *) "self",(char *) "preview", NULL
24639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 (arg1
)->SetPrintPreview(arg2
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 Py_INCREF(Py_None
); resultobj
= Py_None
;
24658 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "self", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24671 (arg1
)->base_CreateButtons();
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24676 Py_INCREF(Py_None
); resultobj
= Py_None
;
24683 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
;
24685 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj1
= 0 ;
24689 char *kwnames
[] = {
24690 (char *) "self",(char *) "zoom", NULL
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24696 arg2
= (int) SWIG_AsInt(obj1
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 (arg1
)->base_SetZoomControl(arg2
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 Py_INCREF(Py_None
); resultobj
= Py_None
;
24712 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24715 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24717 return Py_BuildValue((char *)"");
24719 static PyMethodDef SwigMethods
[] = {
24720 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24726 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24741 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24742 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24750 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24766 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24790 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24802 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24806 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24810 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24815 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24831 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24859 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24866 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24889 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24897 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24909 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24915 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24924 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24930 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24933 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24936 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24940 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24958 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24984 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24992 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24996 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24998 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25007 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25010 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25017 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25035 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25039 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25044 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25048 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25064 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25067 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25069 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25073 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25082 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25091 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25097 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25109 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25116 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25120 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25146 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25172 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25198 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
},
25199 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25244 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
},
25245 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25276 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25280 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25281 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25314 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25319 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25330 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25353 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25355 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25361 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25371 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25372 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25395 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25396 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25405 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25413 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25423 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25425 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25426 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25428 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25429 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25431 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25432 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25434 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25435 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25437 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25438 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25440 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25441 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25443 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25444 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25446 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25447 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25449 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25450 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25452 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25453 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25455 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25456 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25458 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25459 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25461 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25462 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25464 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25465 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25467 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25468 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25470 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25471 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25473 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25474 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25476 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25477 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25479 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25480 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25482 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25483 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25485 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25486 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25488 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25489 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25491 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25492 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25494 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25495 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25497 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25498 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25500 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25501 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25503 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25504 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25506 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25507 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25509 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25510 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25512 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25513 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25515 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25516 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25518 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25519 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25521 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25522 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25524 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25525 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25527 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25528 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25530 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25531 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25533 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25534 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25536 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25537 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25539 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25540 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25542 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25543 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25545 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25546 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25548 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25549 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25551 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25552 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25554 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25557 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25560 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25563 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25564 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25566 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25567 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25569 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25570 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25572 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25573 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25575 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25578 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25581 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25584 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25587 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25590 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25593 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25596 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25597 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25599 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25600 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25602 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25605 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25608 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25611 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25612 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25614 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25617 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25618 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25620 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25621 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25623 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25624 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25626 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25627 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25629 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25632 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25633 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25635 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25636 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25638 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25641 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25642 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25644 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25647 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25650 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25653 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25654 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25656 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25659 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25660 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25662 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25665 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25668 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25671 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25674 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25677 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25678 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25680 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25683 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25686 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25689 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25692 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25695 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25698 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25701 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25704 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25705 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25707 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25708 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25710 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25711 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25713 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
25714 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
25716 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25717 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25719 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25720 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25722 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25723 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25725 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25726 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25728 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25729 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25731 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25732 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25734 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25735 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25737 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25740 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25743 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25744 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25746 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25747 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25749 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25750 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25752 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25753 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25755 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25756 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25758 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25759 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25761 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25762 return (void *)((wxObject
*) ((wxSizer
*) x
));
25764 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25765 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25767 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25768 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25770 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25773 static void *_p_wxEventTo_p_wxObject(void *x
) {
25774 return (void *)((wxObject
*) ((wxEvent
*) x
));
25776 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25777 return (void *)((wxObject
*) ((wxFontData
*) x
));
25779 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25780 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25782 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25783 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25785 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25786 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25788 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25789 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25791 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25792 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25794 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25795 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25797 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25800 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25801 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25803 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25804 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25806 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25807 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25809 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25810 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25812 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25813 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25815 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25816 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25818 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25821 static void *_p_wxControlTo_p_wxObject(void *x
) {
25822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25824 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25825 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25827 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25830 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25831 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25833 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25834 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25836 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25837 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25839 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25842 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25843 return (void *)((wxObject
*) ((wxColourData
*) x
));
25845 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25846 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25848 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25849 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25851 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25854 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25857 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25860 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25863 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25866 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25869 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25872 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25875 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25878 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25879 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25881 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25882 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25884 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25885 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25887 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25888 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25890 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25893 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25894 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25896 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25897 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25899 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25900 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25902 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25903 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25905 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25906 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25908 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25909 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25911 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25912 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25914 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25915 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25917 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25918 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25920 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25921 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25923 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25926 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25927 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25929 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25930 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25932 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25933 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25935 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25936 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25938 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25939 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25941 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25942 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25944 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25945 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25947 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25948 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25950 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25951 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25953 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25956 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25959 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25960 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25962 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25965 static void *_p_wxImageTo_p_wxObject(void *x
) {
25966 return (void *)((wxObject
*) ((wxImage
*) x
));
25968 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25971 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25972 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25974 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25975 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25977 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25978 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25980 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25983 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25986 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25987 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25989 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25990 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25992 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25993 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25995 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25996 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25998 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25999 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26001 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26004 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26007 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26010 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26013 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26016 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26019 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26022 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26025 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26028 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26031 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26034 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26037 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26040 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26043 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26044 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26046 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26047 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26049 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26052 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26055 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26058 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26061 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26064 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26067 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26070 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26071 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26073 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26074 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26076 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26077 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26079 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26080 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26082 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26083 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26085 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26086 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26088 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26089 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26091 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26092 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26094 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26095 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26097 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26100 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26103 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26104 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26106 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26107 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26109 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26112 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26115 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26116 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26118 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26119 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26121 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26124 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26125 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26127 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26128 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26130 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26131 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26133 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26134 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26136 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26137 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26139 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26140 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26142 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26143 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26145 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26146 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26148 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26149 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26151 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26152 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26154 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26155 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26157 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26158 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26160 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26161 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26163 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26164 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26166 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
26167 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
26169 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26170 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26172 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26173 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26175 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26176 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26178 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26179 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26181 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26182 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26184 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26185 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26187 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26188 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26190 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26191 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26193 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26194 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26196 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26197 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26199 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26200 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26202 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26203 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26205 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26206 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26208 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26209 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26211 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26212 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26214 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26215 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26217 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26218 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26220 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26221 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26223 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26224 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26226 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26227 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26229 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26230 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26232 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26233 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26235 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26236 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26238 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26239 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26241 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26242 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26244 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26245 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26247 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26248 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26250 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26251 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26253 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26254 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26256 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26257 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26259 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26260 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26262 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26263 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26265 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26266 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26268 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26269 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26271 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26272 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26274 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26275 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26277 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26278 return (void *)((wxWindow
*) ((wxControl
*) x
));
26280 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26281 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26283 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26284 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26286 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26287 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26289 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26290 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26292 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26293 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26295 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26296 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26298 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26299 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26301 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26302 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26304 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26305 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26307 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26308 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26310 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26311 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26313 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26314 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26316 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26317 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26319 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26320 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26322 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26323 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26325 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26326 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26328 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26329 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26331 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26332 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26334 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26335 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26337 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26338 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26340 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26341 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26343 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26344 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26346 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26347 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26349 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26350 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26352 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26353 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26355 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26356 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26358 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26359 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26361 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26362 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26364 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26365 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26367 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26368 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26370 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26371 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26373 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26374 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26376 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26377 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26379 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26380 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26382 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26383 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26385 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26386 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26388 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26389 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26391 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26392 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26394 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26395 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26397 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26398 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26400 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26401 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26403 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26404 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26406 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26407 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26409 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26410 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26412 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26413 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26415 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26416 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26418 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26419 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26421 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26422 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26424 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26425 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26427 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26428 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26430 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26431 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26433 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26434 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26436 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26437 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26439 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}};
26440 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}};
26441 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}};
26442 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}};
26443 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}};
26444 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}};
26445 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}};
26446 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}};
26447 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}};
26448 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}};
26449 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}};
26450 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}};
26451 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}};
26452 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}};
26453 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}};
26454 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}};
26455 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}};
26456 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}};
26457 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}};
26458 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}};
26459 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}};
26460 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}};
26461 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}};
26462 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}};
26463 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}};
26464 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}};
26465 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}};
26466 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}};
26467 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}};
26468 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}};
26469 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}};
26470 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}};
26471 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}};
26472 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}};
26473 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}};
26474 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}};
26475 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}};
26476 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}};
26477 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}};
26478 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}};
26479 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}};
26480 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}};
26481 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}};
26482 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}};
26483 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}};
26484 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}};
26485 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}};
26486 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}};
26487 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}};
26488 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}};
26489 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}};
26490 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}};
26491 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}};
26492 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}};
26493 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}};
26494 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}};
26495 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}};
26496 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}};
26497 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}};
26498 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}};
26499 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}};
26500 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}};
26501 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}};
26502 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}};
26503 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}};
26504 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}};
26505 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}};
26506 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}};
26507 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}};
26508 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}};
26509 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}};
26510 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}};
26511 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}};
26512 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}};
26513 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}};
26514 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}};
26515 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}};
26516 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}};
26517 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}};
26518 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}};
26519 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}};
26520 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}};
26521 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}};
26522 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}};
26523 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}};
26524 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}};
26526 static swig_type_info
*swig_types_initial
[] = {
26527 _swigt__p_wxQueryLayoutInfoEvent
,
26528 _swigt__p_wxPreviewFrame
,
26529 _swigt__p_wxPyPreviewFrame
,
26530 _swigt__p_wxPyPanel
,
26532 _swigt__p_wxPrintData
,
26533 _swigt__p_wxFontData
,
26535 _swigt__p_wxTaskBarIcon
,
26536 _swigt__p_wxIconBundle
,
26537 _swigt__p_wxLayoutAlgorithm
,
26538 _swigt__p_wxFindDialogEvent
,
26539 _swigt__p_wxPreviewCanvas
,
26541 _swigt__p_wxSplitterEvent
,
26542 _swigt__p_wxRegion
,
26543 _swigt__p_wxFindReplaceData
,
26548 _swigt__p_wxVisualAttributes
,
26549 _swigt__p_wxMDIChildFrame
,
26550 _swigt__p_wxColourData
,
26551 _swigt__p_wxNotifyEvent
,
26552 _swigt__p_wxPyWindow
,
26553 _swigt__p_wxSplashScreen
,
26554 _swigt__p_wxFindReplaceDialog
,
26555 _swigt__p_wxProgressDialog
,
26556 _swigt__p_wxMessageDialog
,
26557 _swigt__p_wxTextEntryDialog
,
26558 _swigt__p_wxSingleChoiceDialog
,
26559 _swigt__p_wxMultiChoiceDialog
,
26560 _swigt__p_wxFileDialog
,
26561 _swigt__p_wxPrinter
,
26562 _swigt__p_wxArrayInt
,
26563 _swigt__p_wxEvtHandler
,
26564 _swigt__p_wxCalculateLayoutEvent
,
26565 _swigt__p_wxPyHtmlListBox
,
26566 _swigt__p_wxPyVListBox
,
26569 _swigt__p_wxMiniFrame
,
26571 _swigt__p_wxPyPrintout
,
26572 _swigt__p_wxTaskBarIconEvent
,
26573 _swigt__p_wxScrollWinEvent
,
26574 _swigt__p_wxStatusBar
,
26575 _swigt__p_wxMDIParentFrame
,
26577 _swigt__p_wxObject
,
26578 _swigt__p_wxOutputStream
,
26579 _swigt__p_wxPyScrolledWindow
,
26580 _swigt__p_wxMDIClientWindow
,
26581 _swigt__p_wxTipWindow
,
26582 _swigt__p_wxPyPopupTransientWindow
,
26583 _swigt__p_wxSashLayoutWindow
,
26584 _swigt__p_wxSplitterWindow
,
26585 _swigt__p_wxPyVScrolledWindow
,
26586 _swigt__p_wxPopupWindow
,
26587 _swigt__p_wxSashWindow
,
26588 _swigt__p_wxTopLevelWindow
,
26589 _swigt__p_wxWindow
,
26590 _swigt__p_wxScrolledWindow
,
26591 _swigt__p_wxSplashScreenWindow
,
26592 _swigt__p_wxMenuBar
,
26593 _swigt__p_wxPrintPreview
,
26594 _swigt__p_wxSashEvent
,
26595 _swigt__p_wxString
,
26596 _swigt__p_wxPyPrintPreview
,
26597 _swigt__p_wxFontDialog
,
26598 _swigt__p_wxDirDialog
,
26599 _swigt__p_wxColourDialog
,
26600 _swigt__p_wxDialog
,
26602 _swigt__p_wxPageSetupDialog
,
26603 _swigt__p_wxPrintDialog
,
26604 _swigt__p_wxFileSystem
,
26605 _swigt__p_wxBitmap
,
26606 _swigt__p_wxCommandEvent
,
26607 _swigt__p_wxPreviewControlBar
,
26608 _swigt__p_wxPyPreviewControlBar
,
26609 _swigt__p_wxColour
,
26610 _swigt__p_wxToolBar
,
26611 _swigt__p_wxPageSetupDialogData
,
26612 _swigt__p_wxPrintDialogData
,
26617 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26619 static swig_const_info swig_const_table
[] = {
26629 SWIGEXPORT(void) SWIG_init(void) {
26630 static PyObject
*SWIG_globals
= 0;
26631 static int typeinit
= 0;
26634 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26635 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26636 d
= PyModule_GetDict(m
);
26639 for (i
= 0; swig_types_initial
[i
]; i
++) {
26640 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26644 SWIG_InstallConstants(d
,swig_const_table
);
26646 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26647 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26648 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26649 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26650 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26651 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26652 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26653 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26654 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26655 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26656 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26657 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26658 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26659 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26660 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26661 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26662 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26663 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26664 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26665 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26666 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26667 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26668 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26669 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26670 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26671 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26672 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26673 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26674 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26675 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26676 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26677 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26678 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26679 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26680 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26681 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26682 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26683 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26684 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26685 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26686 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26687 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26688 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26689 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26690 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26691 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26692 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26693 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26694 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26695 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26696 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26697 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26698 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26699 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26700 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26701 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26702 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26703 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26704 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26705 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26706 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26707 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26708 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26709 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26710 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26711 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26712 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26713 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26714 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26715 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26716 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26717 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26718 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26719 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26720 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26721 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26722 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26723 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26724 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26725 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26726 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26727 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26728 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26729 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26730 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26731 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26732 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26733 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26734 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26735 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26736 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26737 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26738 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26740 // Map renamed classes back to their common name for OOR
26741 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26742 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26743 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26745 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26746 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26747 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26748 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26749 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26750 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26751 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26752 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26753 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26754 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26755 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26756 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26757 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26758 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26759 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26760 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26761 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26762 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26763 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26764 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26765 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26766 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26767 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26768 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26769 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26770 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26771 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26772 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26773 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26774 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26775 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26776 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26777 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26778 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26779 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26780 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26781 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26782 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26783 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26784 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26785 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26786 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26787 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26788 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26789 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26790 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26791 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26792 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26793 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26794 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26795 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26796 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26797 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26798 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26799 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26800 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26801 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26802 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26803 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26804 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26806 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");