1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _windows_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows_
304 #define SWIG_name "_windows_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
426 SWIGSTATICINLINE(int)
427 SWIG_CheckLong(PyObject
* obj
)
430 if (PyErr_Occurred()) {
439 SWIGSTATICINLINE(bool)
440 SWIG_AsBool(PyObject
*obj
)
442 return PyObject_IsTrue(obj
) ? true : false;
446 SWIGSTATICINLINE(int)
447 SWIG_CheckBool(PyObject
* obj
)
450 if (PyErr_Occurred()) {
459 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
465 } else if (target
== Py_None
) {
469 if (!PyTuple_Check(target
)) {
471 target
= PyTuple_New(1);
472 PyTuple_SetItem(target
, 0, o2
);
475 PyTuple_SetItem(o3
, 0, o
);
478 target
= PySequence_Concat(o2
, o3
);
486 SWIGSTATICINLINE(double)
487 SWIG_AsDouble(PyObject
*obj
)
489 if (PyNumber_Check(obj
))
490 return PyFloat_AsDouble(obj
);
492 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
493 obj
->ob_type
->tp_name
);
494 PyErr_SetObject(PyExc_TypeError
, errmsg
);
501 SWIGSTATICINLINE(int)
502 SWIG_CheckDouble(PyObject
* obj
)
505 if (PyErr_Occurred()) {
513 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
514 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
515 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
516 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
519 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
521 self
->GetFieldRect(i
, r
);
524 static const wxString
wxPySplitterNameStr(wxT("splitter"));
525 static const wxString
wxPySashNameStr(wxT("sashWindow"));
526 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
528 #include <wx/popupwin.h>
531 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
534 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
535 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
536 : wxPopupTransientWindow(parent
, style
) {}
538 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
539 DEC_PYCALLBACK__(OnDismiss
);
540 DEC_PYCALLBACK_BOOL_(CanDismiss
);
545 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
546 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
547 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
550 #include <wx/tipwin.h>
552 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
553 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
556 #include <wx/tipwin.h>
559 #include <wx/vscroll.h>
562 class wxPyVScrolledWindow
: public wxVScrolledWindow
564 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
566 wxPyVScrolledWindow() : wxVScrolledWindow() {}
568 wxPyVScrolledWindow(wxWindow
*parent
,
569 wxWindowID id
= wxID_ANY
,
570 const wxPoint
& pos
= wxDefaultPosition
,
571 const wxSize
& size
= wxDefaultSize
,
573 const wxString
& name
= wxPyPanelNameStr
)
574 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
577 // Overridable virtuals
579 // this function must be overridden in the derived class and it should
580 // return the height of the given line in pixels
581 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
584 // this function doesn't have to be overridden but it may be useful to do
585 // it if calculating the lines heights is a relatively expensive operation
586 // as it gives the user code a possibility to calculate several of them at
589 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
590 // shouldn't rely on the latter being called for all lines in the interval
591 // specified here. It is also possible that OnGetLineHeight() will be
592 // called for the lines outside of this interval, so this is really just a
593 // hint, not a promise.
595 // finally note that lineMin is inclusive, while lineMax is exclusive, as
597 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
600 // when the number of lines changes, we try to estimate the total height
601 // of all lines which is a rather expensive operation in terms of lines
602 // access, so if the user code may estimate the average height
603 // better/faster than we do, it should override this function to implement
606 // this function should return the best guess for the total height it may
608 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
611 // Also expose some other interesting protected methods
614 // find the index of the line we need to show at the top of the window such
615 // that the last (fully or partially) visible line is the given one
616 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
617 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
619 // get the total height of the lines between lineMin (inclusive) and
620 // lineMax (exclusive)
621 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
622 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
628 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
630 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
631 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
632 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
635 SWIGSTATICINLINE(unsigned long)
636 SWIG_AsUnsignedLong(PyObject
* obj
)
638 if (PyLong_Check(obj
)) {
639 return PyLong_AsUnsignedLong(obj
);
641 long i
= SWIG_AsLong(obj
);
642 if ( !PyErr_Occurred() && (i
< 0)) {
643 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
650 SWIGSTATICINLINE(int)
651 SWIG_CheckUnsignedLong(PyObject
* obj
)
653 SWIG_AsUnsignedLong(obj
);
654 if (PyErr_Occurred()) {
663 SWIGSTATICINLINE(PyObject
* )
664 SWIG_FromUnsignedLong(unsigned long value
)
666 return (value
> LONG_MAX
) ?
667 PyLong_FromUnsignedLong(value
)
668 : PyInt_FromLong(swig_numeric_cast(long,value
));
672 #include <wx/vlbox.h>
674 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
676 class wxPyVListBox
: public wxVListBox
678 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
680 wxPyVListBox() : wxVListBox() {}
682 wxPyVListBox(wxWindow
*parent
,
683 wxWindowID id
= wxID_ANY
,
684 const wxPoint
& pos
= wxDefaultPosition
,
685 const wxSize
& size
= wxDefaultSize
,
687 const wxString
& name
= wxPyVListBoxNameStr
)
688 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
691 // Overridable virtuals
693 // the derived class must implement this function to actually draw the item
694 // with the given index on the provided DC
695 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
696 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
699 // the derived class must implement this method to return the height of the
701 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
702 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
705 // this method may be used to draw separators between the lines; note that
706 // the rectangle may be modified, typically to deflate it a bit before
707 // passing to OnDrawItem()
709 // the base class version doesn't do anything
710 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
711 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
714 // this method is used to draw the items background and, maybe, a border
717 // the base class version implements a reasonable default behaviour which
718 // consists in drawing the selected item with the standard background
719 // colour and drawing a border around the item if it is either selected or
721 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
722 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
730 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
731 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
733 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
737 #include <wx/htmllbox.h>
740 class wxPyHtmlListBox
: public wxHtmlListBox
742 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
744 wxPyHtmlListBox() : wxHtmlListBox() {}
746 wxPyHtmlListBox(wxWindow
*parent
,
747 wxWindowID id
= wxID_ANY
,
748 const wxPoint
& pos
= wxDefaultPosition
,
749 const wxSize
& size
= wxDefaultSize
,
751 const wxString
& name
= wxPyVListBoxNameStr
)
752 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
755 // Overridable virtuals
757 // this method must be implemented in the derived class and should return
758 // the body (i.e. without <html>) of the HTML for the given item
759 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
761 // this function may be overridden to decorate HTML returned by OnGetItem()
762 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
765 // // this method allows to customize the selection appearance: it may be used
766 // // to specify the colour of the text which normally has the given colour
767 // // colFg when it is inside the selection
769 // // by default, the original colour is not used at all and all text has the
770 // // same (default for this system) colour inside selection
771 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
773 // // this is the same as GetSelectedTextColour() but allows to customize the
774 // // background colour -- this is even more rarely used as you can change it
775 // // globally using SetSelectionBackground()
776 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
783 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
785 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
786 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
793 // implement dummy classes and such for wxMac
795 class wxTaskBarIcon
: public wxEvtHandler
798 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
802 class wxTaskBarIconEvent
: public wxEvent
805 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
806 { wxPyRaiseNotImplemented(); }
807 virtual wxEvent
* Clone() const { return NULL
; }
811 wxEVT_TASKBAR_MOVE
= 0,
812 wxEVT_TASKBAR_LEFT_DOWN
= 0,
813 wxEVT_TASKBAR_LEFT_UP
= 0,
814 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
815 wxEVT_TASKBAR_RIGHT_UP
= 0,
816 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
817 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
821 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
826 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
827 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
828 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
829 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
830 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
831 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
832 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
834 self
->GetFilenames(arr
);
835 return wxArrayString2PyList_helper(arr
);
837 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
840 return wxArrayString2PyList_helper(arr
);
842 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
843 return wxArrayInt2PyList_helper(self
->GetSelections());
845 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
846 return new wxSingleChoiceDialog(parent
, message
, caption
,
847 choices
, choices_array
, NULL
, style
, pos
);
852 // C++ version of Python aware wxWindow
853 class wxPyWindow
: public wxWindow
855 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
857 wxPyWindow() : wxWindow() {}
858 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
859 const wxPoint
& pos
= wxDefaultPosition
,
860 const wxSize
& size
= wxDefaultSize
,
862 const wxString
& name
= wxPyPanelNameStr
)
863 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
866 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
867 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
868 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
869 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
871 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
872 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
875 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
876 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
878 DEC_PYCALLBACK__(InitDialog
);
879 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
880 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
881 DEC_PYCALLBACK_BOOL_(Validate
);
883 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
884 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
885 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
887 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
888 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
890 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
891 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
896 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
898 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
899 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
900 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
901 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
903 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
904 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
905 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
907 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
908 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
910 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
911 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
912 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
915 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
916 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
917 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
919 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
920 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
922 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
923 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
926 // C++ version of Python aware wxPanel
927 class wxPyPanel
: public wxPanel
929 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
931 wxPyPanel() : wxPanel() {}
932 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
933 const wxPoint
& pos
= wxDefaultPosition
,
934 const wxSize
& size
= wxDefaultSize
,
936 const wxString
& name
= wxPyPanelNameStr
)
937 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
952 DEC_PYCALLBACK__(InitDialog
);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
955 DEC_PYCALLBACK_BOOL_(Validate
);
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
965 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
970 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
972 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
973 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
975 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
981 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
984 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
985 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
986 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
989 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
990 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
991 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
994 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
996 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
997 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
999 // C++ version of Python aware wxScrolledWindow
1000 class wxPyScrolledWindow
: public wxScrolledWindow
1002 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1004 wxPyScrolledWindow() : wxScrolledWindow() {}
1005 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1006 const wxPoint
& pos
= wxDefaultPosition
,
1007 const wxSize
& size
= wxDefaultSize
,
1009 const wxString
& name
= wxPyPanelNameStr
)
1010 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1013 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1014 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1015 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1016 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1018 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1019 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1022 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1023 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1025 DEC_PYCALLBACK__(InitDialog
);
1026 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1027 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1028 DEC_PYCALLBACK_BOOL_(Validate
);
1030 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1031 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1032 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1034 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1035 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1037 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1038 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1043 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1045 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1046 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1047 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1048 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1050 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1051 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1052 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1054 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1055 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1057 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1058 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1059 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1062 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1063 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1064 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1066 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1067 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1069 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1070 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1073 #include "wx/wxPython/printfw.h"
1076 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1077 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1081 // Since this one would be tough and ugly to do with the Macros...
1082 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1083 bool hadErr
= False
;
1086 bool blocked
= wxPyBeginBlockThreads();
1087 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1088 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1089 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1092 val
= PyTuple_GetItem(result
, 0);
1093 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1096 val
= PyTuple_GetItem(result
, 1);
1097 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1100 val
= PyTuple_GetItem(result
, 2);
1101 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1104 val
= PyTuple_GetItem(result
, 3);
1105 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1112 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1117 wxPyEndBlockThreads(blocked
);
1119 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1122 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1123 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1127 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1128 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1129 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1130 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1131 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1132 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1133 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1139 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1140 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1141 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1144 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1145 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1148 bool blocked = wxPyBeginBlockThreads(); \
1149 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1150 PyObject* win = wxPyMake_wxObject(a); \
1151 PyObject* dc = wxPyMake_wxObject(&b); \
1152 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1156 wxPyEndBlockThreads(blocked); \
1158 rval = PCLASS::CBNAME(a, b); \
1161 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1162 return PCLASS::CBNAME(a, b); \
1168 class wxPyPrintPreview
: public wxPrintPreview
1170 DECLARE_CLASS(wxPyPrintPreview
)
1172 wxPyPrintPreview(wxPyPrintout
* printout
,
1173 wxPyPrintout
* printoutForPrinting
,
1174 wxPrintDialogData
* data
=NULL
)
1175 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1177 wxPyPrintPreview(wxPyPrintout
* printout
,
1178 wxPyPrintout
* printoutForPrinting
,
1179 wxPrintData
* data
=NULL
)
1180 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1183 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1184 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1185 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1186 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1187 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1188 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1189 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1194 // Stupid renamed classes... Fix this in 2.5...
1195 #if defined(__WXMSW__)
1196 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1197 #elif defined(__WXMAC__)
1198 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1200 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1203 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1204 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1205 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1206 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1207 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1208 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1209 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1212 class wxPyPreviewFrame
: public wxPreviewFrame
1214 DECLARE_CLASS(wxPyPreviewFrame
);
1216 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1217 const wxString
& title
,
1218 const wxPoint
& pos
= wxDefaultPosition
,
1219 const wxSize
& size
= wxDefaultSize
,
1220 long style
= wxDEFAULT_FRAME_STYLE
,
1221 const wxString
& name
= wxPyFrameNameStr
)
1222 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1225 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1226 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1228 DEC_PYCALLBACK_VOID_(Initialize
);
1229 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1230 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1235 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1237 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1238 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1239 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1242 class wxPyPreviewControlBar
: public wxPreviewControlBar
1244 DECLARE_CLASS(wxPyPreviewControlBar
);
1246 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1249 const wxPoint
& pos
= wxDefaultPosition
,
1250 const wxSize
& size
= wxDefaultSize
,
1252 const wxString
& name
= wxPyPanelNameStr
)
1253 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1256 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1258 DEC_PYCALLBACK_VOID_(CreateButtons
);
1259 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1264 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1265 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1266 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1271 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
*resultobj
;
1273 wxWindow
*arg1
= (wxWindow
*) 0 ;
1274 int arg2
= (int) (int)-1 ;
1275 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1276 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1277 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1278 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1279 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1280 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1281 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1285 bool temp6
= False
;
1286 PyObject
* obj0
= 0 ;
1287 PyObject
* obj1
= 0 ;
1288 PyObject
* obj2
= 0 ;
1289 PyObject
* obj3
= 0 ;
1290 PyObject
* obj4
= 0 ;
1291 PyObject
* obj5
= 0 ;
1293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1300 arg2
= (int const) SWIG_AsInt(obj1
);
1301 if (PyErr_Occurred()) SWIG_fail
;
1306 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1312 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1316 arg5
= (long) SWIG_AsLong(obj4
);
1317 if (PyErr_Occurred()) SWIG_fail
;
1321 arg6
= wxString_in_helper(obj5
);
1322 if (arg6
== NULL
) SWIG_fail
;
1327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1328 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1330 wxPyEndAllowThreads(__tstate
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1348 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
*resultobj
;
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 result
= (wxPanel
*)new wxPanel();
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) SWIG_fail
;
1363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1370 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
*resultobj
;
1372 wxPanel
*arg1
= (wxPanel
*) 0 ;
1373 wxWindow
*arg2
= (wxWindow
*) 0 ;
1374 int arg3
= (int) (int)-1 ;
1375 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1376 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1377 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1378 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1379 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1380 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1381 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1385 bool temp7
= False
;
1386 PyObject
* obj0
= 0 ;
1387 PyObject
* obj1
= 0 ;
1388 PyObject
* obj2
= 0 ;
1389 PyObject
* obj3
= 0 ;
1390 PyObject
* obj4
= 0 ;
1391 PyObject
* obj5
= 0 ;
1392 PyObject
* obj6
= 0 ;
1394 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1403 arg3
= (int const) SWIG_AsInt(obj2
);
1404 if (PyErr_Occurred()) SWIG_fail
;
1409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1419 arg6
= (long) SWIG_AsLong(obj5
);
1420 if (PyErr_Occurred()) SWIG_fail
;
1424 arg7
= wxString_in_helper(obj6
);
1425 if (arg7
== NULL
) SWIG_fail
;
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) SWIG_fail
;
1437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1453 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxPanel
*arg1
= (wxPanel
*) 0 ;
1456 PyObject
* obj0
= 0 ;
1458 (char *) "self", NULL
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 (arg1
)->InitDialog();
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1471 Py_INCREF(Py_None
); resultobj
= Py_None
;
1478 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1481 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1483 return Py_BuildValue((char *)"");
1485 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1487 wxWindow
*arg1
= (wxWindow
*) 0 ;
1488 int arg2
= (int) (int)-1 ;
1489 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1490 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1491 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1492 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1493 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1494 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1495 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1496 wxScrolledWindow
*result
;
1499 bool temp6
= False
;
1500 PyObject
* obj0
= 0 ;
1501 PyObject
* obj1
= 0 ;
1502 PyObject
* obj2
= 0 ;
1503 PyObject
* obj3
= 0 ;
1504 PyObject
* obj4
= 0 ;
1505 PyObject
* obj5
= 0 ;
1507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1514 arg2
= (int const) SWIG_AsInt(obj1
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1520 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1526 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1530 arg5
= (long) SWIG_AsLong(obj4
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1535 arg6
= wxString_in_helper(obj5
);
1536 if (arg6
== NULL
) SWIG_fail
;
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1562 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1564 wxScrolledWindow
*result
;
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1584 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
*resultobj
;
1586 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1587 wxWindow
*arg2
= (wxWindow
*) 0 ;
1588 int arg3
= (int) (int)-1 ;
1589 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1590 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1591 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1592 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1593 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1594 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1595 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1599 bool temp7
= False
;
1600 PyObject
* obj0
= 0 ;
1601 PyObject
* obj1
= 0 ;
1602 PyObject
* obj2
= 0 ;
1603 PyObject
* obj3
= 0 ;
1604 PyObject
* obj4
= 0 ;
1605 PyObject
* obj5
= 0 ;
1606 PyObject
* obj6
= 0 ;
1608 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1617 arg3
= (int const) SWIG_AsInt(obj2
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1623 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1629 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1633 arg6
= (long) SWIG_AsLong(obj5
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1638 arg7
= wxString_in_helper(obj6
);
1639 if (arg7
== NULL
) SWIG_fail
;
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1667 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
*resultobj
;
1669 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1674 int arg6
= (int) 0 ;
1675 int arg7
= (int) 0 ;
1676 bool arg8
= (bool) False
;
1677 PyObject
* obj0
= 0 ;
1678 PyObject
* obj1
= 0 ;
1679 PyObject
* obj2
= 0 ;
1680 PyObject
* obj3
= 0 ;
1681 PyObject
* obj4
= 0 ;
1682 PyObject
* obj5
= 0 ;
1683 PyObject
* obj6
= 0 ;
1684 PyObject
* obj7
= 0 ;
1686 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1692 arg2
= (int) SWIG_AsInt(obj1
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1694 arg3
= (int) SWIG_AsInt(obj2
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1696 arg4
= (int) SWIG_AsInt(obj3
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1698 arg5
= (int) SWIG_AsInt(obj4
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1701 arg6
= (int) SWIG_AsInt(obj5
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1705 arg7
= (int) SWIG_AsInt(obj6
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1709 arg8
= (bool) SWIG_AsBool(obj7
);
1710 if (PyErr_Occurred()) SWIG_fail
;
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1719 Py_INCREF(Py_None
); resultobj
= Py_None
;
1726 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
*resultobj
;
1728 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1731 PyObject
* obj0
= 0 ;
1732 PyObject
* obj1
= 0 ;
1733 PyObject
* obj2
= 0 ;
1735 (char *) "self",(char *) "x",(char *) "y", NULL
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1741 arg2
= (int) SWIG_AsInt(obj1
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1743 arg3
= (int) SWIG_AsInt(obj2
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 (arg1
)->Scroll(arg2
,arg3
);
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1752 Py_INCREF(Py_None
); resultobj
= Py_None
;
1759 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
*resultobj
;
1761 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1764 PyObject
* obj0
= 0 ;
1765 PyObject
* obj1
= 0 ;
1767 (char *) "self",(char *) "orient", NULL
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1773 arg2
= (int) SWIG_AsInt(obj1
);
1774 if (PyErr_Occurred()) SWIG_fail
;
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1777 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1782 resultobj
= SWIG_FromInt((int)result
);
1789 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
*resultobj
;
1791 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1794 PyObject
* obj0
= 0 ;
1795 PyObject
* obj1
= 0 ;
1796 PyObject
* obj2
= 0 ;
1798 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1804 arg2
= (int) SWIG_AsInt(obj1
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1806 arg3
= (int) SWIG_AsInt(obj2
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 Py_INCREF(Py_None
); resultobj
= Py_None
;
1822 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
*resultobj
;
1824 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1827 PyObject
* obj0
= 0 ;
1828 PyObject
* obj1
= 0 ;
1829 PyObject
* obj2
= 0 ;
1831 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1837 arg2
= (int) SWIG_AsInt(obj1
);
1838 if (PyErr_Occurred()) SWIG_fail
;
1839 arg3
= (int) SWIG_AsInt(obj2
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1843 (arg1
)->SetScrollRate(arg2
,arg3
);
1845 wxPyEndAllowThreads(__tstate
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1848 Py_INCREF(Py_None
); resultobj
= Py_None
;
1855 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
*resultobj
;
1857 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1858 int *arg2
= (int *) 0 ;
1859 int *arg3
= (int *) 0 ;
1862 PyObject
* obj0
= 0 ;
1864 (char *) "self", NULL
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1879 Py_INCREF(Py_None
); resultobj
= Py_None
;
1881 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1882 resultobj
= t_output_helper(resultobj
,o
);
1885 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1886 resultobj
= t_output_helper(resultobj
,o
);
1894 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
*resultobj
;
1896 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1899 PyObject
* obj0
= 0 ;
1900 PyObject
* obj1
= 0 ;
1901 PyObject
* obj2
= 0 ;
1903 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1909 arg2
= (bool) SWIG_AsBool(obj1
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1911 arg3
= (bool) SWIG_AsBool(obj2
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 (arg1
)->EnableScrolling(arg2
,arg3
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 Py_INCREF(Py_None
); resultobj
= Py_None
;
1927 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1930 int *arg2
= (int *) 0 ;
1931 int *arg3
= (int *) 0 ;
1934 PyObject
* obj0
= 0 ;
1936 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 Py_INCREF(Py_None
); resultobj
= Py_None
;
1953 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1954 resultobj
= t_output_helper(resultobj
,o
);
1957 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1958 resultobj
= t_output_helper(resultobj
,o
);
1966 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1971 PyObject
* obj0
= 0 ;
1972 PyObject
* obj1
= 0 ;
1973 PyObject
* obj2
= 0 ;
1975 (char *) "self",(char *) "xs",(char *) "ys", NULL
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1981 arg2
= (double) SWIG_AsDouble(obj1
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1983 arg3
= (double) SWIG_AsDouble(obj2
);
1984 if (PyErr_Occurred()) SWIG_fail
;
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 (arg1
)->SetScale(arg2
,arg3
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) SWIG_fail
;
1992 Py_INCREF(Py_None
); resultobj
= Py_None
;
1999 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2003 PyObject
* obj0
= 0 ;
2005 (char *) "self", NULL
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 resultobj
= SWIG_FromDouble((double)result
);
2025 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
*resultobj
;
2027 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2029 PyObject
* obj0
= 0 ;
2031 (char *) "self", NULL
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2044 resultobj
= SWIG_FromDouble((double)result
);
2051 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2052 PyObject
*resultobj
;
2053 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2057 PyObject
* obj0
= 0 ;
2058 PyObject
* obj1
= 0 ;
2060 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2065 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) SWIG_fail
;
2075 wxPoint
* resultptr
;
2076 resultptr
= new wxPoint((wxPoint
&) result
);
2077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2085 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2086 PyObject
*resultobj
;
2087 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2090 int *arg4
= (int *) 0 ;
2091 int *arg5
= (int *) 0 ;
2094 PyObject
* obj0
= 0 ;
2095 PyObject
* obj1
= 0 ;
2096 PyObject
* obj2
= 0 ;
2100 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2103 arg2
= (int) SWIG_AsInt(obj1
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2105 arg3
= (int) SWIG_AsInt(obj2
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) SWIG_fail
;
2114 Py_INCREF(Py_None
); resultobj
= Py_None
;
2116 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2117 resultobj
= t_output_helper(resultobj
,o
);
2120 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2121 resultobj
= t_output_helper(resultobj
,o
);
2129 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2134 argc
= PyObject_Length(args
);
2135 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2136 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2142 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2151 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2154 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2162 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2170 _v
= SWIG_CheckInt(argv
[1]);
2172 _v
= SWIG_CheckInt(argv
[2]);
2174 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2180 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2185 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2186 PyObject
*resultobj
;
2187 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2192 PyObject
* obj1
= 0 ;
2194 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2199 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2209 wxPoint
* resultptr
;
2210 resultptr
= new wxPoint((wxPoint
&) result
);
2211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2219 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2220 PyObject
*resultobj
;
2221 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2224 int *arg4
= (int *) 0 ;
2225 int *arg5
= (int *) 0 ;
2228 PyObject
* obj0
= 0 ;
2229 PyObject
* obj1
= 0 ;
2230 PyObject
* obj2
= 0 ;
2234 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 arg2
= (int) SWIG_AsInt(obj1
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2239 arg3
= (int) SWIG_AsInt(obj2
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 Py_INCREF(Py_None
); resultobj
= Py_None
;
2250 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2251 resultobj
= t_output_helper(resultobj
,o
);
2254 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2255 resultobj
= t_output_helper(resultobj
,o
);
2263 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2268 argc
= PyObject_Length(args
);
2269 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2270 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2276 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2285 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2288 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2296 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2304 _v
= SWIG_CheckInt(argv
[1]);
2306 _v
= SWIG_CheckInt(argv
[2]);
2308 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2314 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2319 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2322 PyObject
* obj0
= 0 ;
2324 (char *) "self", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 (arg1
)->AdjustScrollbars();
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 Py_INCREF(Py_None
); resultobj
= Py_None
;
2344 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
*resultobj
;
2346 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2347 wxScrollWinEvent
*arg2
= 0 ;
2349 PyObject
* obj0
= 0 ;
2350 PyObject
* obj1
= 0 ;
2352 (char *) "self",(char *) "event", NULL
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2362 PyErr_SetString(PyExc_TypeError
,"null reference");
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 resultobj
= SWIG_FromInt((int)result
);
2379 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
*resultobj
;
2381 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2382 wxWindow
*arg2
= (wxWindow
*) 0 ;
2383 PyObject
* obj0
= 0 ;
2384 PyObject
* obj1
= 0 ;
2386 (char *) "self",(char *) "target", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 (arg1
)->SetTargetWindow(arg2
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 Py_INCREF(Py_None
); resultobj
= Py_None
;
2408 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
*resultobj
;
2410 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2412 PyObject
* obj0
= 0 ;
2414 (char *) "self", NULL
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2428 resultobj
= wxPyMake_wxObject(result
);
2436 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2439 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2441 return Py_BuildValue((char *)"");
2443 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2444 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2449 static PyObject
*_wrap_FrameNameStr_get() {
2454 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2456 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2463 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2464 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2469 static PyObject
*_wrap_DialogNameStr_get() {
2474 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2476 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2483 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2484 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2489 static PyObject
*_wrap_StatusLineNameStr_get() {
2494 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2496 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2503 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2504 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2509 static PyObject
*_wrap_ToolBarNameStr_get() {
2514 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2516 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2523 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2526 bool arg2
= (bool) True
;
2527 PyObject
* obj0
= 0 ;
2528 PyObject
* obj1
= 0 ;
2530 (char *) "self",(char *) "maximize", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 arg2
= (bool) SWIG_AsBool(obj1
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 (arg1
)->Maximize(arg2
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2557 PyObject
* obj0
= 0 ;
2559 (char *) "self", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 Py_INCREF(Py_None
); resultobj
= Py_None
;
2579 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2582 bool arg2
= (bool) True
;
2583 PyObject
* obj0
= 0 ;
2584 PyObject
* obj1
= 0 ;
2586 (char *) "self",(char *) "iconize", NULL
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2593 arg2
= (bool) SWIG_AsBool(obj1
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 (arg1
)->Iconize(arg2
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 Py_INCREF(Py_None
); resultobj
= Py_None
;
2610 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2614 PyObject
* obj0
= 0 ;
2616 (char *) "self", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2638 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2640 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2642 PyObject
* obj0
= 0 ;
2644 (char *) "self", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2666 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2670 PyObject
* obj0
= 0 ;
2672 (char *) "self", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2687 resultptr
= new wxIcon((wxIcon
&) result
);
2688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2696 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2700 PyObject
* obj0
= 0 ;
2701 PyObject
* obj1
= 0 ;
2703 (char *) "self",(char *) "icon", NULL
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2713 PyErr_SetString(PyExc_TypeError
,"null reference");
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 Py_INCREF(Py_None
); resultobj
= Py_None
;
2730 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2732 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2733 wxIconBundle
*arg2
= 0 ;
2734 PyObject
* obj0
= 0 ;
2735 PyObject
* obj1
= 0 ;
2737 (char *) "self",(char *) "icons", NULL
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2747 PyErr_SetString(PyExc_TypeError
,"null reference");
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 Py_INCREF(Py_None
); resultobj
= Py_None
;
2764 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2768 long arg3
= (long) wxFULLSCREEN_ALL
;
2770 PyObject
* obj0
= 0 ;
2771 PyObject
* obj1
= 0 ;
2772 PyObject
* obj2
= 0 ;
2774 (char *) "self",(char *) "show",(char *) "style", NULL
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2780 arg2
= (bool) SWIG_AsBool(obj1
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2783 arg3
= (long) SWIG_AsLong(obj2
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2802 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2806 PyObject
* obj0
= 0 ;
2808 (char *) "self", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2830 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
*resultobj
;
2832 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2833 wxString
*arg2
= 0 ;
2834 bool temp2
= False
;
2835 PyObject
* obj0
= 0 ;
2836 PyObject
* obj1
= 0 ;
2838 (char *) "self",(char *) "title", NULL
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2845 arg2
= wxString_in_helper(obj1
);
2846 if (arg2
== NULL
) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 (arg1
)->SetTitle((wxString
const &)*arg2
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 Py_INCREF(Py_None
); resultobj
= Py_None
;
2871 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2875 PyObject
* obj0
= 0 ;
2877 (char *) "self", NULL
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2903 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2905 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2906 wxRegion
*arg2
= 0 ;
2908 PyObject
* obj0
= 0 ;
2909 PyObject
* obj1
= 0 ;
2911 (char *) "self",(char *) "region", NULL
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2921 PyErr_SetString(PyExc_TypeError
,"null reference");
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2940 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2943 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2945 return Py_BuildValue((char *)"");
2947 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
*resultobj
;
2949 wxWindow
*arg1
= (wxWindow
*) 0 ;
2951 wxString
*arg3
= 0 ;
2952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2956 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2957 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2958 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2960 bool temp3
= False
;
2963 bool temp7
= False
;
2964 PyObject
* obj0
= 0 ;
2965 PyObject
* obj1
= 0 ;
2966 PyObject
* obj2
= 0 ;
2967 PyObject
* obj3
= 0 ;
2968 PyObject
* obj4
= 0 ;
2969 PyObject
* obj5
= 0 ;
2970 PyObject
* obj6
= 0 ;
2972 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2978 arg2
= (int const) SWIG_AsInt(obj1
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2981 arg3
= wxString_in_helper(obj2
);
2982 if (arg3
== NULL
) SWIG_fail
;
2988 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2994 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2998 arg6
= (long) SWIG_AsLong(obj5
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3003 arg7
= wxString_in_helper(obj6
);
3004 if (arg7
== NULL
) SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3016 resultobj
= wxPyMake_wxObject(result
);
3040 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
*resultobj
;
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 result
= (wxFrame
*)new wxFrame();
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3056 resultobj
= wxPyMake_wxObject(result
);
3064 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3066 wxFrame
*arg1
= (wxFrame
*) 0 ;
3067 wxWindow
*arg2
= (wxWindow
*) 0 ;
3069 wxString
*arg4
= 0 ;
3070 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3071 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3072 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3073 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3074 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3075 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3076 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3078 bool temp4
= False
;
3081 bool temp8
= False
;
3082 PyObject
* obj0
= 0 ;
3083 PyObject
* obj1
= 0 ;
3084 PyObject
* obj2
= 0 ;
3085 PyObject
* obj3
= 0 ;
3086 PyObject
* obj4
= 0 ;
3087 PyObject
* obj5
= 0 ;
3088 PyObject
* obj6
= 0 ;
3089 PyObject
* obj7
= 0 ;
3091 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3099 arg3
= (int const) SWIG_AsInt(obj2
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3102 arg4
= wxString_in_helper(obj3
);
3103 if (arg4
== NULL
) SWIG_fail
;
3109 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3115 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3119 arg7
= (long) SWIG_AsLong(obj6
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3124 arg8
= wxString_in_helper(obj7
);
3125 if (arg8
== NULL
) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3161 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxFrame
*arg1
= (wxFrame
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3167 (char *) "self", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3181 wxPoint
* resultptr
;
3182 resultptr
= new wxPoint((wxPoint
&) result
);
3183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3191 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxFrame
*arg1
= (wxFrame
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "self", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 (arg1
)->SendSizeEvent();
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3209 Py_INCREF(Py_None
); resultobj
= Py_None
;
3216 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
*resultobj
;
3218 wxFrame
*arg1
= (wxFrame
*) 0 ;
3219 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3220 PyObject
* obj0
= 0 ;
3221 PyObject
* obj1
= 0 ;
3223 (char *) "self",(char *) "menubar", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 (arg1
)->SetMenuBar(arg2
);
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3238 Py_INCREF(Py_None
); resultobj
= Py_None
;
3245 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxFrame
*arg1
= (wxFrame
*) 0 ;
3249 PyObject
* obj0
= 0 ;
3251 (char *) "self", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3265 resultobj
= wxPyMake_wxObject(result
);
3273 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxFrame
*arg1
= (wxFrame
*) 0 ;
3278 PyObject
* obj0
= 0 ;
3279 PyObject
* obj1
= 0 ;
3281 (char *) "self",(char *) "winid", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3287 arg2
= (int) SWIG_AsInt(obj1
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3305 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxFrame
*arg1
= (wxFrame
*) 0 ;
3308 int arg2
= (int) 1 ;
3309 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3310 int arg4
= (int) 0 ;
3311 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3312 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3313 wxStatusBar
*result
;
3314 bool temp5
= False
;
3315 PyObject
* obj0
= 0 ;
3316 PyObject
* obj1
= 0 ;
3317 PyObject
* obj2
= 0 ;
3318 PyObject
* obj3
= 0 ;
3319 PyObject
* obj4
= 0 ;
3321 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3328 arg2
= (int) SWIG_AsInt(obj1
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3332 arg3
= (long) SWIG_AsLong(obj2
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3336 arg4
= (int) SWIG_AsInt(obj3
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3341 arg5
= wxString_in_helper(obj4
);
3342 if (arg5
== NULL
) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 resultobj
= wxPyMake_wxObject(result
);
3370 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxFrame
*arg1
= (wxFrame
*) 0 ;
3373 wxStatusBar
*result
;
3374 PyObject
* obj0
= 0 ;
3376 (char *) "self", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3390 resultobj
= wxPyMake_wxObject(result
);
3398 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3400 wxFrame
*arg1
= (wxFrame
*) 0 ;
3401 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3402 PyObject
* obj0
= 0 ;
3403 PyObject
* obj1
= 0 ;
3405 (char *) "self",(char *) "statBar", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 (arg1
)->SetStatusBar(arg2
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 Py_INCREF(Py_None
); resultobj
= Py_None
;
3427 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxFrame
*arg1
= (wxFrame
*) 0 ;
3430 wxString
*arg2
= 0 ;
3431 int arg3
= (int) 0 ;
3432 bool temp2
= False
;
3433 PyObject
* obj0
= 0 ;
3434 PyObject
* obj1
= 0 ;
3435 PyObject
* obj2
= 0 ;
3437 (char *) "self",(char *) "text",(char *) "number", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3444 arg2
= wxString_in_helper(obj1
);
3445 if (arg2
== NULL
) SWIG_fail
;
3449 arg3
= (int) SWIG_AsInt(obj2
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3459 Py_INCREF(Py_None
); resultobj
= Py_None
;
3474 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxFrame
*arg1
= (wxFrame
*) 0 ;
3478 int *arg3
= (int *) 0 ;
3479 PyObject
* obj0
= 0 ;
3480 PyObject
* obj1
= 0 ;
3482 (char *) "self",(char *) "widths", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3489 arg2
= PyList_Size(obj1
);
3490 arg3
= int_LIST_helper(obj1
);
3491 if (arg3
== NULL
) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 Py_INCREF(Py_None
); resultobj
= Py_None
;
3502 if (arg3
) delete [] arg3
;
3507 if (arg3
) delete [] arg3
;
3513 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxFrame
*arg1
= (wxFrame
*) 0 ;
3516 wxString
*arg2
= 0 ;
3517 int arg3
= (int) 0 ;
3518 bool temp2
= False
;
3519 PyObject
* obj0
= 0 ;
3520 PyObject
* obj1
= 0 ;
3521 PyObject
* obj2
= 0 ;
3523 (char *) "self",(char *) "text",(char *) "number", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 arg2
= wxString_in_helper(obj1
);
3531 if (arg2
== NULL
) SWIG_fail
;
3535 arg3
= (int) SWIG_AsInt(obj2
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 Py_INCREF(Py_None
); resultobj
= Py_None
;
3560 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
*resultobj
;
3562 wxFrame
*arg1
= (wxFrame
*) 0 ;
3563 int arg2
= (int) 0 ;
3564 PyObject
* obj0
= 0 ;
3565 PyObject
* obj1
= 0 ;
3567 (char *) "self",(char *) "number", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3574 arg2
= (int) SWIG_AsInt(obj1
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 (arg1
)->PopStatusText(arg2
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 Py_INCREF(Py_None
); resultobj
= Py_None
;
3591 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxFrame
*arg1
= (wxFrame
*) 0 ;
3595 PyObject
* obj0
= 0 ;
3596 PyObject
* obj1
= 0 ;
3598 (char *) "self",(char *) "n", NULL
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3604 arg2
= (int) SWIG_AsInt(obj1
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 (arg1
)->SetStatusBarPane(arg2
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 Py_INCREF(Py_None
); resultobj
= Py_None
;
3620 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxFrame
*arg1
= (wxFrame
*) 0 ;
3624 PyObject
* obj0
= 0 ;
3626 (char *) "self", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 resultobj
= SWIG_FromInt((int)result
);
3646 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxFrame
*arg1
= (wxFrame
*) 0 ;
3649 long arg2
= (long) -1 ;
3650 int arg3
= (int) -1 ;
3651 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3652 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3654 bool temp4
= False
;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3657 PyObject
* obj2
= 0 ;
3658 PyObject
* obj3
= 0 ;
3660 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3667 arg2
= (long) SWIG_AsLong(obj1
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3671 arg3
= (int) SWIG_AsInt(obj2
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3676 arg4
= wxString_in_helper(obj3
);
3677 if (arg4
== NULL
) SWIG_fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3689 resultobj
= wxPyMake_wxObject(result
);
3705 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
;
3707 wxFrame
*arg1
= (wxFrame
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3711 (char *) "self", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3725 resultobj
= wxPyMake_wxObject(result
);
3733 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
*resultobj
;
3735 wxFrame
*arg1
= (wxFrame
*) 0 ;
3736 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3737 PyObject
* obj0
= 0 ;
3738 PyObject
* obj1
= 0 ;
3740 (char *) "self",(char *) "toolbar", NULL
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 (arg1
)->SetToolBar(arg2
);
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 Py_INCREF(Py_None
); resultobj
= Py_None
;
3762 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxFrame
*arg1
= (wxFrame
*) 0 ;
3765 wxString
*arg2
= 0 ;
3767 bool temp2
= False
;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3770 PyObject
* obj2
= 0 ;
3772 (char *) "self",(char *) "text",(char *) "show", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 arg2
= wxString_in_helper(obj1
);
3780 if (arg2
== NULL
) SWIG_fail
;
3783 arg3
= (bool) SWIG_AsBool(obj2
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3807 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxFrame
*arg1
= (wxFrame
*) 0 ;
3810 wxMenu
*arg2
= (wxMenu
*) NULL
;
3811 PyObject
* obj0
= 0 ;
3812 PyObject
* obj1
= 0 ;
3814 (char *) "self",(char *) "menu", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 (arg1
)->DoMenuUpdates(arg2
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 Py_INCREF(Py_None
); resultobj
= Py_None
;
3838 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3841 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3843 return Py_BuildValue((char *)"");
3845 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxWindow
*arg1
= (wxWindow
*) 0 ;
3849 wxString
*arg3
= 0 ;
3850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3854 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3855 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3856 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3858 bool temp3
= False
;
3861 bool temp7
= False
;
3862 PyObject
* obj0
= 0 ;
3863 PyObject
* obj1
= 0 ;
3864 PyObject
* obj2
= 0 ;
3865 PyObject
* obj3
= 0 ;
3866 PyObject
* obj4
= 0 ;
3867 PyObject
* obj5
= 0 ;
3868 PyObject
* obj6
= 0 ;
3870 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 arg2
= (int const) SWIG_AsInt(obj1
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 arg3
= wxString_in_helper(obj2
);
3880 if (arg3
== NULL
) SWIG_fail
;
3886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3892 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3896 arg6
= (long) SWIG_AsLong(obj5
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3901 arg7
= wxString_in_helper(obj6
);
3902 if (arg7
== NULL
) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3936 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 result
= (wxDialog
*)new wxDialog();
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3958 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxDialog
*arg1
= (wxDialog
*) 0 ;
3961 wxWindow
*arg2
= (wxWindow
*) 0 ;
3963 wxString
*arg4
= 0 ;
3964 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3965 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3966 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3967 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3968 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3969 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3970 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3972 bool temp4
= False
;
3975 bool temp8
= False
;
3976 PyObject
* obj0
= 0 ;
3977 PyObject
* obj1
= 0 ;
3978 PyObject
* obj2
= 0 ;
3979 PyObject
* obj3
= 0 ;
3980 PyObject
* obj4
= 0 ;
3981 PyObject
* obj5
= 0 ;
3982 PyObject
* obj6
= 0 ;
3983 PyObject
* obj7
= 0 ;
3985 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3993 arg3
= (int const) SWIG_AsInt(obj2
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 arg4
= wxString_in_helper(obj3
);
3997 if (arg4
== NULL
) SWIG_fail
;
4003 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4009 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4013 arg7
= (long) SWIG_AsLong(obj6
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4018 arg8
= wxString_in_helper(obj7
);
4019 if (arg8
== NULL
) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4055 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxDialog
*arg1
= (wxDialog
*) 0 ;
4059 PyObject
* obj0
= 0 ;
4060 PyObject
* obj1
= 0 ;
4062 (char *) "self",(char *) "returnCode", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4068 arg2
= (int) SWIG_AsInt(obj1
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 (arg1
)->SetReturnCode(arg2
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4077 Py_INCREF(Py_None
); resultobj
= Py_None
;
4084 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4086 wxDialog
*arg1
= (wxDialog
*) 0 ;
4088 PyObject
* obj0
= 0 ;
4090 (char *) "self", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 resultobj
= SWIG_FromInt((int)result
);
4110 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxDialog
*arg1
= (wxDialog
*) 0 ;
4113 wxString
*arg2
= 0 ;
4115 bool temp2
= False
;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "message", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4126 arg2
= wxString_in_helper(obj1
);
4127 if (arg2
== NULL
) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= wxPyMake_wxSizer(result
);
4154 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4156 wxDialog
*arg1
= (wxDialog
*) 0 ;
4159 PyObject
* obj0
= 0 ;
4160 PyObject
* obj1
= 0 ;
4162 (char *) "self",(char *) "flags", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4168 arg2
= (long) SWIG_AsLong(obj1
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4178 resultobj
= wxPyMake_wxSizer(result
);
4186 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxDialog
*arg1
= (wxDialog
*) 0 ;
4190 PyObject
* obj0
= 0 ;
4192 (char *) "self", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4214 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxDialog
*arg1
= (wxDialog
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4220 (char *) "self", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (int)(arg1
)->ShowModal();
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_FromInt((int)result
);
4240 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxDialog
*arg1
= (wxDialog
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4247 (char *) "self",(char *) "retCode", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4253 arg2
= (int) SWIG_AsInt(obj1
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 (arg1
)->EndModal(arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 Py_INCREF(Py_None
); resultobj
= Py_None
;
4269 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4272 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4274 return Py_BuildValue((char *)"");
4276 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxWindow
*arg1
= (wxWindow
*) 0 ;
4280 wxString
*arg3
= 0 ;
4281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4285 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4286 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4287 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4288 wxMiniFrame
*result
;
4289 bool temp3
= False
;
4292 bool temp7
= False
;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4295 PyObject
* obj2
= 0 ;
4296 PyObject
* obj3
= 0 ;
4297 PyObject
* obj4
= 0 ;
4298 PyObject
* obj5
= 0 ;
4299 PyObject
* obj6
= 0 ;
4301 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4307 arg2
= (int const) SWIG_AsInt(obj1
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 arg3
= wxString_in_helper(obj2
);
4311 if (arg3
== NULL
) SWIG_fail
;
4317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4327 arg6
= (long) SWIG_AsLong(obj5
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4332 arg7
= wxString_in_helper(obj6
);
4333 if (arg7
== NULL
) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4367 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
;
4369 wxMiniFrame
*result
;
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 result
= (wxMiniFrame
*)new wxMiniFrame();
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4389 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4391 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4392 wxWindow
*arg2
= (wxWindow
*) 0 ;
4394 wxString
*arg4
= 0 ;
4395 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4396 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4397 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4398 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4399 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4400 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4401 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4403 bool temp4
= False
;
4406 bool temp8
= False
;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4409 PyObject
* obj2
= 0 ;
4410 PyObject
* obj3
= 0 ;
4411 PyObject
* obj4
= 0 ;
4412 PyObject
* obj5
= 0 ;
4413 PyObject
* obj6
= 0 ;
4414 PyObject
* obj7
= 0 ;
4416 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4424 arg3
= (int const) SWIG_AsInt(obj2
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 arg4
= wxString_in_helper(obj3
);
4428 if (arg4
== NULL
) SWIG_fail
;
4434 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4440 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4444 arg7
= (long) SWIG_AsLong(obj6
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4449 arg8
= wxString_in_helper(obj7
);
4450 if (arg8
== NULL
) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4486 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4489 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4491 return Py_BuildValue((char *)"");
4493 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4495 wxBitmap
*arg1
= 0 ;
4496 wxWindow
*arg2
= (wxWindow
*) 0 ;
4498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4502 long arg6
= (long) wxNO_BORDER
;
4503 wxSplashScreenWindow
*result
;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4508 PyObject
* obj2
= 0 ;
4509 PyObject
* obj3
= 0 ;
4510 PyObject
* obj4
= 0 ;
4511 PyObject
* obj5
= 0 ;
4513 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4521 PyErr_SetString(PyExc_TypeError
,"null reference");
4524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4526 arg3
= (int) SWIG_AsInt(obj2
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4541 arg6
= (long) SWIG_AsLong(obj5
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4558 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4561 wxBitmap
*arg2
= 0 ;
4562 PyObject
* obj0
= 0 ;
4563 PyObject
* obj1
= 0 ;
4565 (char *) "self",(char *) "bitmap", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4575 PyErr_SetString(PyExc_TypeError
,"null reference");
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 Py_INCREF(Py_None
); resultobj
= Py_None
;
4592 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4596 PyObject
* obj0
= 0 ;
4598 (char *) "self", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4608 result
= (wxBitmap
*) &_result_ref
;
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4615 wxBitmap
* resultptr
= new wxBitmap(*result
);
4616 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4624 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4627 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4629 return Py_BuildValue((char *)"");
4631 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxBitmap
*arg1
= 0 ;
4636 wxWindow
*arg4
= (wxWindow
*) 0 ;
4638 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4639 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4640 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4641 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4642 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4643 wxSplashScreen
*result
;
4646 PyObject
* obj0
= 0 ;
4647 PyObject
* obj1
= 0 ;
4648 PyObject
* obj2
= 0 ;
4649 PyObject
* obj3
= 0 ;
4650 PyObject
* obj4
= 0 ;
4651 PyObject
* obj5
= 0 ;
4652 PyObject
* obj6
= 0 ;
4653 PyObject
* obj7
= 0 ;
4655 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4663 PyErr_SetString(PyExc_TypeError
,"null reference");
4666 arg2
= (long) SWIG_AsLong(obj1
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4668 arg3
= (int) SWIG_AsInt(obj2
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4670 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4672 arg5
= (int) SWIG_AsInt(obj4
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4677 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4683 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4687 arg8
= (long) SWIG_AsLong(obj7
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4704 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4708 PyObject
* obj0
= 0 ;
4710 (char *) "self", NULL
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_FromLong((long)result
);
4730 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4733 wxSplashScreenWindow
*result
;
4734 PyObject
* obj0
= 0 ;
4736 (char *) "self", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4756 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
;
4758 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4760 PyObject
* obj0
= 0 ;
4762 (char *) "self", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 resultobj
= SWIG_FromInt((int)result
);
4782 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4785 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4787 return Py_BuildValue((char *)"");
4789 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxWindow
*arg1
= (wxWindow
*) 0 ;
4792 int arg2
= (int) -1 ;
4793 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4794 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4795 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4796 wxStatusBar
*result
;
4797 bool temp4
= False
;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4800 PyObject
* obj2
= 0 ;
4801 PyObject
* obj3
= 0 ;
4803 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4810 arg2
= (int) SWIG_AsInt(obj1
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4814 arg3
= (long) SWIG_AsLong(obj2
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4819 arg4
= wxString_in_helper(obj3
);
4820 if (arg4
== NULL
) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= wxPyMake_wxObject(result
);
4848 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxStatusBar
*result
;
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= (wxStatusBar
*)new wxStatusBar();
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= wxPyMake_wxObject(result
);
4872 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
;
4874 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4875 wxWindow
*arg2
= (wxWindow
*) 0 ;
4877 long arg4
= (long) wxST_SIZEGRIP
;
4878 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4879 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4881 bool temp5
= False
;
4882 PyObject
* obj0
= 0 ;
4883 PyObject
* obj1
= 0 ;
4884 PyObject
* obj2
= 0 ;
4885 PyObject
* obj3
= 0 ;
4886 PyObject
* obj4
= 0 ;
4888 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4896 arg3
= (int) SWIG_AsInt(obj2
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 arg4
= (long) SWIG_AsLong(obj3
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4904 arg5
= wxString_in_helper(obj4
);
4905 if (arg5
== NULL
) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4933 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4936 int arg2
= (int) 1 ;
4937 PyObject
* obj0
= 0 ;
4938 PyObject
* obj1
= 0 ;
4940 (char *) "self",(char *) "number", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4947 arg2
= (int) SWIG_AsInt(obj1
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 (arg1
)->SetFieldsCount(arg2
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= SWIG_FromInt((int)result
);
4990 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4993 wxString
*arg2
= 0 ;
4994 int arg3
= (int) 0 ;
4995 bool temp2
= False
;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4998 PyObject
* obj2
= 0 ;
5000 (char *) "self",(char *) "text",(char *) "number", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 arg2
= wxString_in_helper(obj1
);
5008 if (arg2
== NULL
) SWIG_fail
;
5012 arg3
= (int) SWIG_AsInt(obj2
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5037 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
;
5039 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5040 int arg2
= (int) 0 ;
5042 PyObject
* obj0
= 0 ;
5043 PyObject
* obj1
= 0 ;
5045 (char *) "self",(char *) "number", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5052 arg2
= (int) SWIG_AsInt(obj1
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5075 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5078 wxString
*arg2
= 0 ;
5079 int arg3
= (int) 0 ;
5080 bool temp2
= False
;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5083 PyObject
* obj2
= 0 ;
5085 (char *) "self",(char *) "text",(char *) "number", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 arg2
= wxString_in_helper(obj1
);
5093 if (arg2
== NULL
) SWIG_fail
;
5097 arg3
= (int) SWIG_AsInt(obj2
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 Py_INCREF(Py_None
); resultobj
= Py_None
;
5122 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5125 int arg2
= (int) 0 ;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5129 (char *) "self",(char *) "number", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5136 arg2
= (int) SWIG_AsInt(obj1
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 (arg1
)->PopStatusText(arg2
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 Py_INCREF(Py_None
); resultobj
= Py_None
;
5153 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5157 int *arg3
= (int *) 0 ;
5158 PyObject
* obj0
= 0 ;
5159 PyObject
* obj1
= 0 ;
5161 (char *) "self",(char *) "widths", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5168 arg2
= PyList_Size(obj1
);
5169 arg3
= int_LIST_helper(obj1
);
5170 if (arg3
== NULL
) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 Py_INCREF(Py_None
); resultobj
= Py_None
;
5181 if (arg3
) delete [] arg3
;
5186 if (arg3
) delete [] arg3
;
5192 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5200 (char *) "self",(char *) "i", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5206 arg2
= (int) SWIG_AsInt(obj1
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5217 resultptr
= new wxRect((wxRect
&) result
);
5218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5226 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5233 (char *) "self",(char *) "height", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5239 arg2
= (int) SWIG_AsInt(obj1
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 (arg1
)->SetMinHeight(arg2
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 Py_INCREF(Py_None
); resultobj
= Py_None
;
5255 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5259 PyObject
* obj0
= 0 ;
5261 (char *) "self", NULL
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= SWIG_FromInt((int)result
);
5281 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5287 (char *) "self", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= SWIG_FromInt((int)result
);
5307 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5310 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5312 return Py_BuildValue((char *)"");
5314 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5315 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5320 static PyObject
*_wrap_SplitterNameStr_get() {
5325 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5327 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5334 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxWindow
*arg1
= (wxWindow
*) 0 ;
5337 int arg2
= (int) -1 ;
5338 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5339 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5340 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5341 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5342 long arg5
= (long) wxSP_3D
;
5343 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5344 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5345 wxSplitterWindow
*result
;
5348 bool temp6
= False
;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5351 PyObject
* obj2
= 0 ;
5352 PyObject
* obj3
= 0 ;
5353 PyObject
* obj4
= 0 ;
5354 PyObject
* obj5
= 0 ;
5356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5363 arg2
= (int) SWIG_AsInt(obj1
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5369 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5375 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5379 arg5
= (long) SWIG_AsLong(obj4
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5384 arg6
= wxString_in_helper(obj5
);
5385 if (arg6
== NULL
) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5411 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxSplitterWindow
*result
;
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5433 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5436 wxWindow
*arg2
= (wxWindow
*) 0 ;
5437 int arg3
= (int) -1 ;
5438 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5439 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5440 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5441 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5442 long arg6
= (long) wxSP_3D
;
5443 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5448 bool temp7
= False
;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5451 PyObject
* obj2
= 0 ;
5452 PyObject
* obj3
= 0 ;
5453 PyObject
* obj4
= 0 ;
5454 PyObject
* obj5
= 0 ;
5455 PyObject
* obj6
= 0 ;
5457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 arg3
= (int) SWIG_AsInt(obj2
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5472 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5478 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5482 arg6
= (long) SWIG_AsLong(obj5
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5487 arg7
= wxString_in_helper(obj6
);
5488 if (arg7
== NULL
) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5516 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5520 PyObject
* obj0
= 0 ;
5522 (char *) "self", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= wxPyMake_wxObject(result
);
5544 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5550 (char *) "self", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= wxPyMake_wxObject(result
);
5572 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5574 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5579 (char *) "self",(char *) "mode", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5585 arg2
= (int) SWIG_AsInt(obj1
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->SetSplitMode(arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 Py_INCREF(Py_None
); resultobj
= Py_None
;
5601 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5605 PyObject
* obj0
= 0 ;
5607 (char *) "self", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_FromInt((int)result
);
5627 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5630 wxWindow
*arg2
= (wxWindow
*) 0 ;
5631 PyObject
* obj0
= 0 ;
5632 PyObject
* obj1
= 0 ;
5634 (char *) "self",(char *) "window", NULL
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 (arg1
)->Initialize(arg2
);
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 Py_INCREF(Py_None
); resultobj
= Py_None
;
5656 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5659 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 wxWindow
*arg3
= (wxWindow
*) 0 ;
5661 int arg4
= (int) 0 ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5665 PyObject
* obj2
= 0 ;
5666 PyObject
* obj3
= 0 ;
5668 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5676 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5679 arg4
= (int) SWIG_AsInt(obj3
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5698 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5701 wxWindow
*arg2
= (wxWindow
*) 0 ;
5702 wxWindow
*arg3
= (wxWindow
*) 0 ;
5703 int arg4
= (int) 0 ;
5705 PyObject
* obj0
= 0 ;
5706 PyObject
* obj1
= 0 ;
5707 PyObject
* obj2
= 0 ;
5708 PyObject
* obj3
= 0 ;
5710 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5718 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5721 arg4
= (int) SWIG_AsInt(obj3
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5740 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5743 wxWindow
*arg2
= (wxWindow
*) NULL
;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5748 (char *) "self",(char *) "toRemove", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (bool)(arg1
)->Unsplit(arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5774 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5777 wxWindow
*arg2
= (wxWindow
*) 0 ;
5778 wxWindow
*arg3
= (wxWindow
*) 0 ;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5782 PyObject
* obj2
= 0 ;
5784 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5810 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
*resultobj
;
5812 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5813 PyObject
* obj0
= 0 ;
5815 (char *) "self", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 (arg1
)->UpdateSize();
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 Py_INCREF(Py_None
); resultobj
= Py_None
;
5835 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5841 (char *) "self", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5863 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5870 (char *) "self",(char *) "width", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 arg2
= (int) SWIG_AsInt(obj1
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetSashSize(arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5899 (char *) "self",(char *) "width", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 arg2
= (int) SWIG_AsInt(obj1
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 (arg1
)->SetBorderSize(arg2
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 Py_INCREF(Py_None
); resultobj
= Py_None
;
5921 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
;
5923 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5925 PyObject
* obj0
= 0 ;
5927 (char *) "self", NULL
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 resultobj
= SWIG_FromInt((int)result
);
5947 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5953 (char *) "self", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 resultobj
= SWIG_FromInt((int)result
);
5973 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5977 bool arg3
= (bool) True
;
5978 PyObject
* obj0
= 0 ;
5979 PyObject
* obj1
= 0 ;
5980 PyObject
* obj2
= 0 ;
5982 (char *) "self",(char *) "position",(char *) "redraw", NULL
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 arg2
= (int) SWIG_AsInt(obj1
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 arg3
= (bool) SWIG_AsBool(obj2
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 (arg1
)->SetSashPosition(arg2
,arg3
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 Py_INCREF(Py_None
); resultobj
= Py_None
;
6008 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6014 (char *) "self", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_FromInt((int)result
);
6034 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6041 (char *) "self",(char *) "min", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6047 arg2
= (int) SWIG_AsInt(obj1
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 (arg1
)->SetMinimumPaneSize(arg2
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 Py_INCREF(Py_None
); resultobj
= Py_None
;
6063 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6067 PyObject
* obj0
= 0 ;
6069 (char *) "self", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= SWIG_FromInt((int)result
);
6089 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6094 int arg4
= (int) 5 ;
6096 PyObject
* obj0
= 0 ;
6097 PyObject
* obj1
= 0 ;
6098 PyObject
* obj2
= 0 ;
6099 PyObject
* obj3
= 0 ;
6101 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6107 arg2
= (int) SWIG_AsInt(obj1
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6109 arg3
= (int) SWIG_AsInt(obj2
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 arg4
= (int) SWIG_AsInt(obj3
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6131 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
;
6133 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6136 (char *) "self", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 (arg1
)->SizeWindows();
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 Py_INCREF(Py_None
); resultobj
= Py_None
;
6156 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6163 (char *) "self",(char *) "needUpdating", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6169 arg2
= (bool) SWIG_AsBool(obj1
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 (arg1
)->SetNeedUpdating(arg2
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 Py_INCREF(Py_None
); resultobj
= Py_None
;
6185 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6191 (char *) "self", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6213 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6216 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6218 return Py_BuildValue((char *)"");
6220 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6223 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6224 wxSplitterEvent
*result
;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "type",(char *) "splitter", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6233 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6254 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
;
6256 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6258 PyObject
* obj0
= 0 ;
6259 PyObject
* obj1
= 0 ;
6261 (char *) "self",(char *) "pos", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6267 arg2
= (int) SWIG_AsInt(obj1
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 (arg1
)->SetSashPosition(arg2
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6283 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6289 (char *) "self", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_FromInt((int)result
);
6309 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6329 resultobj
= wxPyMake_wxObject(result
);
6337 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6343 (char *) "self", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_FromInt((int)result
);
6363 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_FromInt((int)result
);
6389 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6392 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6394 return Py_BuildValue((char *)"");
6396 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6397 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6402 static PyObject
*_wrap_SashNameStr_get() {
6407 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6409 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6416 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6417 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6422 static PyObject
*_wrap_SashLayoutNameStr_get() {
6427 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6429 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6436 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 wxWindow
*arg1
= (wxWindow
*) 0 ;
6440 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6441 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6442 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6443 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6444 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6445 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6446 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6447 wxSashWindow
*result
;
6450 bool temp6
= False
;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6453 PyObject
* obj2
= 0 ;
6454 PyObject
* obj3
= 0 ;
6455 PyObject
* obj4
= 0 ;
6456 PyObject
* obj5
= 0 ;
6458 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6464 arg2
= (int) SWIG_AsInt(obj1
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6469 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6475 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6479 arg5
= (long) SWIG_AsLong(obj4
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6484 arg6
= wxString_in_helper(obj5
);
6485 if (arg6
== NULL
) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6511 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxSashWindow
*result
;
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (wxSashWindow
*)new wxSashWindow();
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6533 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6536 wxWindow
*arg2
= (wxWindow
*) 0 ;
6538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6542 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6543 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6544 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6548 bool temp7
= False
;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6551 PyObject
* obj2
= 0 ;
6552 PyObject
* obj3
= 0 ;
6553 PyObject
* obj4
= 0 ;
6554 PyObject
* obj5
= 0 ;
6555 PyObject
* obj6
= 0 ;
6557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6565 arg3
= (int) SWIG_AsInt(obj2
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6570 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6576 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6580 arg6
= (long) SWIG_AsLong(obj5
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6585 arg7
= wxString_in_helper(obj6
);
6586 if (arg7
== NULL
) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6614 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
;
6616 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6619 PyObject
* obj0
= 0 ;
6620 PyObject
* obj1
= 0 ;
6621 PyObject
* obj2
= 0 ;
6623 (char *) "self",(char *) "edge",(char *) "sash", NULL
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6629 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6631 arg3
= (bool) SWIG_AsBool(obj2
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6655 (char *) "self",(char *) "edge", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6661 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6679 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6684 PyObject
* obj0
= 0 ;
6685 PyObject
* obj1
= 0 ;
6686 PyObject
* obj2
= 0 ;
6688 (char *) "self",(char *) "edge",(char *) "border", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6694 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6696 arg3
= (bool) SWIG_AsBool(obj2
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 Py_INCREF(Py_None
); resultobj
= Py_None
;
6712 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
;
6714 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "edge", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6726 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6744 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6752 (char *) "self",(char *) "edge", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6758 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= SWIG_FromInt((int)result
);
6774 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6778 PyObject
* obj0
= 0 ;
6779 PyObject
* obj1
= 0 ;
6781 (char *) "self",(char *) "width", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6787 arg2
= (int) SWIG_AsInt(obj1
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 (arg1
)->SetDefaultBorderSize(arg2
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 Py_INCREF(Py_None
); resultobj
= Py_None
;
6803 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6807 PyObject
* obj0
= 0 ;
6809 (char *) "self", NULL
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_FromInt((int)result
);
6829 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "width", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6842 arg2
= (int) SWIG_AsInt(obj1
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 (arg1
)->SetExtraBorderSize(arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 Py_INCREF(Py_None
); resultobj
= Py_None
;
6858 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_FromInt((int)result
);
6884 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6889 PyObject
* obj1
= 0 ;
6891 (char *) "self",(char *) "min", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 arg2
= (int) SWIG_AsInt(obj1
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 (arg1
)->SetMinimumSizeX(arg2
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 Py_INCREF(Py_None
); resultobj
= Py_None
;
6913 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6920 (char *) "self",(char *) "min", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6926 arg2
= (int) SWIG_AsInt(obj1
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 (arg1
)->SetMinimumSizeY(arg2
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 Py_INCREF(Py_None
); resultobj
= Py_None
;
6942 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6946 PyObject
* obj0
= 0 ;
6948 (char *) "self", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_FromInt((int)result
);
6968 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6974 (char *) "self", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= SWIG_FromInt((int)result
);
6994 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7001 (char *) "self",(char *) "max", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7007 arg2
= (int) SWIG_AsInt(obj1
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 (arg1
)->SetMaximumSizeX(arg2
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 Py_INCREF(Py_None
); resultobj
= Py_None
;
7023 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7030 (char *) "self",(char *) "max", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7036 arg2
= (int) SWIG_AsInt(obj1
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 (arg1
)->SetMaximumSizeY(arg2
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 Py_INCREF(Py_None
); resultobj
= Py_None
;
7052 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7056 PyObject
* obj0
= 0 ;
7058 (char *) "self", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7071 resultobj
= SWIG_FromInt((int)result
);
7078 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7082 PyObject
* obj0
= 0 ;
7084 (char *) "self", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= SWIG_FromInt((int)result
);
7104 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7109 int arg4
= (int) 2 ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7113 PyObject
* obj2
= 0 ;
7114 PyObject
* obj3
= 0 ;
7116 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7122 arg2
= (int) SWIG_AsInt(obj1
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7124 arg3
= (int) SWIG_AsInt(obj2
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7127 arg4
= (int) SWIG_AsInt(obj3
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= SWIG_FromInt((int)result
);
7144 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7149 (char *) "self", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->SizeWindows();
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 Py_INCREF(Py_None
); resultobj
= Py_None
;
7169 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7172 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7174 return Py_BuildValue((char *)"");
7176 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 int arg1
= (int) 0 ;
7179 int arg2
= (int) wxSASH_NONE
;
7180 wxSashEvent
*result
;
7181 PyObject
* obj0
= 0 ;
7182 PyObject
* obj1
= 0 ;
7184 (char *) "id",(char *) "edge", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7189 arg1
= (int) SWIG_AsInt(obj0
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7193 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7210 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7217 (char *) "self",(char *) "edge", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7223 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 Py_INCREF(Py_None
); resultobj
= Py_None
;
7239 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
*resultobj
;
7241 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7243 PyObject
* obj0
= 0 ;
7245 (char *) "self", NULL
7248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_FromInt((int)result
);
7265 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7270 PyObject
* obj0
= 0 ;
7271 PyObject
* obj1
= 0 ;
7273 (char *) "self",(char *) "rect", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7281 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 Py_INCREF(Py_None
); resultobj
= Py_None
;
7297 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7301 PyObject
* obj0
= 0 ;
7303 (char *) "self", NULL
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7318 resultptr
= new wxRect((wxRect
&) result
);
7319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7327 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
;
7329 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7331 PyObject
* obj0
= 0 ;
7332 PyObject
* obj1
= 0 ;
7334 (char *) "self",(char *) "status", NULL
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7340 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7356 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7360 PyObject
* obj0
= 0 ;
7362 (char *) "self", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_FromInt((int)result
);
7382 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7385 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7387 return Py_BuildValue((char *)"");
7389 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 int arg1
= (int) 0 ;
7392 wxQueryLayoutInfoEvent
*result
;
7393 PyObject
* obj0
= 0 ;
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7400 arg1
= (int) SWIG_AsInt(obj0
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7417 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7421 PyObject
* obj0
= 0 ;
7422 PyObject
* obj1
= 0 ;
7424 (char *) "self",(char *) "length", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7430 arg2
= (int) SWIG_AsInt(obj1
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 (arg1
)->SetRequestedLength(arg2
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 Py_INCREF(Py_None
); resultobj
= Py_None
;
7446 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7448 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7450 PyObject
* obj0
= 0 ;
7452 (char *) "self", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= SWIG_FromInt((int)result
);
7472 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7479 (char *) "self",(char *) "flags", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7485 arg2
= (int) SWIG_AsInt(obj1
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 (arg1
)->SetFlags(arg2
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 Py_INCREF(Py_None
); resultobj
= Py_None
;
7501 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7507 (char *) "self", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= SWIG_FromInt((int)result
);
7527 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7532 PyObject
* obj0
= 0 ;
7533 PyObject
* obj1
= 0 ;
7535 (char *) "self",(char *) "size", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7543 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 (arg1
)->SetSize((wxSize
const &)*arg2
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 Py_INCREF(Py_None
); resultobj
= Py_None
;
7559 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
*resultobj
;
7561 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7563 PyObject
* obj0
= 0 ;
7565 (char *) "self", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7580 resultptr
= new wxSize((wxSize
&) result
);
7581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7589 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7596 (char *) "self",(char *) "orient", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7602 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 Py_INCREF(Py_None
); resultobj
= Py_None
;
7618 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7624 (char *) "self", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 resultobj
= SWIG_FromInt((int)result
);
7644 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7651 (char *) "self",(char *) "align", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7657 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 Py_INCREF(Py_None
); resultobj
= Py_None
;
7673 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
*resultobj
;
7675 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7677 PyObject
* obj0
= 0 ;
7679 (char *) "self", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_FromInt((int)result
);
7699 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7702 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7704 return Py_BuildValue((char *)"");
7706 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 int arg1
= (int) 0 ;
7709 wxCalculateLayoutEvent
*result
;
7710 PyObject
* obj0
= 0 ;
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7717 arg1
= (int) SWIG_AsInt(obj0
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7734 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7738 PyObject
* obj0
= 0 ;
7739 PyObject
* obj1
= 0 ;
7741 (char *) "self",(char *) "flags", NULL
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7747 arg2
= (int) SWIG_AsInt(obj1
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 (arg1
)->SetFlags(arg2
);
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7756 Py_INCREF(Py_None
); resultobj
= Py_None
;
7763 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
;
7765 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7767 PyObject
* obj0
= 0 ;
7769 (char *) "self", NULL
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_FromInt((int)result
);
7789 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7791 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7797 (char *) "self",(char *) "rect", NULL
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7805 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 (arg1
)->SetRect((wxRect
const &)*arg2
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 Py_INCREF(Py_None
); resultobj
= Py_None
;
7821 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7825 PyObject
* obj0
= 0 ;
7827 (char *) "self", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7842 resultptr
= new wxRect((wxRect
&) result
);
7843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7851 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7854 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7856 return Py_BuildValue((char *)"");
7858 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7860 wxWindow
*arg1
= (wxWindow
*) 0 ;
7862 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7863 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7864 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7865 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7866 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7867 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7868 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7869 wxSashLayoutWindow
*result
;
7872 bool temp6
= False
;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7875 PyObject
* obj2
= 0 ;
7876 PyObject
* obj3
= 0 ;
7877 PyObject
* obj4
= 0 ;
7878 PyObject
* obj5
= 0 ;
7880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7886 arg2
= (int) SWIG_AsInt(obj1
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7891 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7897 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7901 arg5
= (long) SWIG_AsLong(obj4
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7906 arg6
= wxString_in_helper(obj5
);
7907 if (arg6
== NULL
) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7933 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxSashLayoutWindow
*result
;
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7955 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7958 wxWindow
*arg2
= (wxWindow
*) 0 ;
7960 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7961 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7962 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7963 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7964 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7965 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7966 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7970 bool temp7
= False
;
7971 PyObject
* obj0
= 0 ;
7972 PyObject
* obj1
= 0 ;
7973 PyObject
* obj2
= 0 ;
7974 PyObject
* obj3
= 0 ;
7975 PyObject
* obj4
= 0 ;
7976 PyObject
* obj5
= 0 ;
7977 PyObject
* obj6
= 0 ;
7979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7987 arg3
= (int) SWIG_AsInt(obj2
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7992 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7998 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8002 arg6
= (long) SWIG_AsLong(obj5
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8007 arg7
= wxString_in_helper(obj6
);
8008 if (arg7
== NULL
) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8036 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8040 PyObject
* obj0
= 0 ;
8042 (char *) "self", NULL
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 result
= (int)(arg1
)->GetAlignment();
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= SWIG_FromInt((int)result
);
8062 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (int)(arg1
)->GetOrientation();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_FromInt((int)result
);
8088 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8092 PyObject
* obj0
= 0 ;
8093 PyObject
* obj1
= 0 ;
8095 (char *) "self",(char *) "alignment", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8101 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 Py_INCREF(Py_None
); resultobj
= Py_None
;
8117 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8122 PyObject
* obj0
= 0 ;
8123 PyObject
* obj1
= 0 ;
8125 (char *) "self",(char *) "size", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 Py_INCREF(Py_None
); resultobj
= Py_None
;
8149 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8153 PyObject
* obj0
= 0 ;
8154 PyObject
* obj1
= 0 ;
8156 (char *) "self",(char *) "orientation", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8162 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8178 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8181 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8183 return Py_BuildValue((char *)"");
8185 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxLayoutAlgorithm
*result
;
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8207 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8210 PyObject
* obj0
= 0 ;
8212 (char *) "self", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 Py_INCREF(Py_None
); resultobj
= Py_None
;
8232 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8235 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8236 wxRect
*arg3
= (wxRect
*) NULL
;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8240 PyObject
* obj2
= 0 ;
8242 (char *) "self",(char *) "frame",(char *) "rect", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8251 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8270 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8272 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8273 wxFrame
*arg2
= (wxFrame
*) 0 ;
8274 wxWindow
*arg3
= (wxWindow
*) NULL
;
8276 PyObject
* obj0
= 0 ;
8277 PyObject
* obj1
= 0 ;
8278 PyObject
* obj2
= 0 ;
8280 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8289 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8308 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8311 wxWindow
*arg2
= (wxWindow
*) 0 ;
8312 wxWindow
*arg3
= (wxWindow
*) NULL
;
8314 PyObject
* obj0
= 0 ;
8315 PyObject
* obj1
= 0 ;
8316 PyObject
* obj2
= 0 ;
8318 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8327 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8346 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8349 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8351 return Py_BuildValue((char *)"");
8353 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxWindow
*arg1
= (wxWindow
*) 0 ;
8356 int arg2
= (int) wxBORDER_NONE
;
8357 wxPopupWindow
*result
;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8361 (char *) "parent",(char *) "flags", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8368 arg2
= (int) SWIG_AsInt(obj1
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8385 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxPopupWindow
*result
;
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 result
= (wxPopupWindow
*)new wxPopupWindow();
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8407 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8410 wxWindow
*arg2
= (wxWindow
*) 0 ;
8411 int arg3
= (int) wxBORDER_NONE
;
8413 PyObject
* obj0
= 0 ;
8414 PyObject
* obj1
= 0 ;
8415 PyObject
* obj2
= 0 ;
8417 (char *) "self",(char *) "parent",(char *) "flags", NULL
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8426 arg3
= (int) SWIG_AsInt(obj2
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8445 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8452 PyObject
* obj0
= 0 ;
8453 PyObject
* obj1
= 0 ;
8454 PyObject
* obj2
= 0 ;
8456 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8468 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 Py_INCREF(Py_None
); resultobj
= Py_None
;
8484 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8487 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8489 return Py_BuildValue((char *)"");
8491 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxWindow
*arg1
= (wxWindow
*) 0 ;
8494 int arg2
= (int) wxBORDER_NONE
;
8495 wxPyPopupTransientWindow
*result
;
8496 PyObject
* obj0
= 0 ;
8497 PyObject
* obj1
= 0 ;
8499 (char *) "parent",(char *) "style", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8506 arg2
= (int) SWIG_AsInt(obj1
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8523 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxPyPopupTransientWindow
*result
;
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8545 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8548 PyObject
*arg2
= (PyObject
*) 0 ;
8549 PyObject
*arg3
= (PyObject
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8552 PyObject
* obj2
= 0 ;
8554 (char *) "self",(char *) "self",(char *) "_class", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 Py_INCREF(Py_None
); resultobj
= Py_None
;
8576 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8579 wxWindow
*arg2
= (wxWindow
*) NULL
;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8583 (char *) "self",(char *) "focus", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 (arg1
)->Popup(arg2
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 Py_INCREF(Py_None
); resultobj
= Py_None
;
8607 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8610 PyObject
* obj0
= 0 ;
8612 (char *) "self", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 Py_INCREF(Py_None
); resultobj
= Py_None
;
8632 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8635 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8637 return Py_BuildValue((char *)"");
8639 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxWindow
*arg1
= (wxWindow
*) 0 ;
8642 wxString
*arg2
= 0 ;
8643 int arg3
= (int) 100 ;
8644 wxRect
*arg4
= (wxRect
*) NULL
;
8645 wxTipWindow
*result
;
8646 bool temp2
= False
;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8649 PyObject
* obj2
= 0 ;
8650 PyObject
* obj3
= 0 ;
8652 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8659 arg2
= wxString_in_helper(obj1
);
8660 if (arg2
== NULL
) SWIG_fail
;
8664 arg3
= (int) SWIG_AsInt(obj2
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8668 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8693 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8698 PyObject
* obj0
= 0 ;
8699 PyObject
* obj1
= 0 ;
8701 (char *) "self",(char *) "rectBound", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8709 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 Py_INCREF(Py_None
); resultobj
= Py_None
;
8725 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8728 PyObject
* obj0
= 0 ;
8730 (char *) "self", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8750 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8753 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8755 return Py_BuildValue((char *)"");
8757 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxWindow
*arg1
= (wxWindow
*) 0 ;
8760 int arg2
= (int) wxID_ANY
;
8761 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8762 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8763 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8764 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8765 long arg5
= (long) 0 ;
8766 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8767 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8768 wxPyVScrolledWindow
*result
;
8771 bool temp6
= False
;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8774 PyObject
* obj2
= 0 ;
8775 PyObject
* obj3
= 0 ;
8776 PyObject
* obj4
= 0 ;
8777 PyObject
* obj5
= 0 ;
8779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8786 arg2
= (int) SWIG_AsInt(obj1
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8792 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8798 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8802 arg5
= (long) SWIG_AsLong(obj4
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8807 arg6
= wxString_in_helper(obj5
);
8808 if (arg6
== NULL
) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8834 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxPyVScrolledWindow
*result
;
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8856 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8858 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8859 PyObject
*arg2
= (PyObject
*) 0 ;
8860 PyObject
*arg3
= (PyObject
*) 0 ;
8861 PyObject
* obj0
= 0 ;
8862 PyObject
* obj1
= 0 ;
8863 PyObject
* obj2
= 0 ;
8865 (char *) "self",(char *) "self",(char *) "_class", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 Py_INCREF(Py_None
); resultobj
= Py_None
;
8887 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8890 wxWindow
*arg2
= (wxWindow
*) 0 ;
8891 int arg3
= (int) wxID_ANY
;
8892 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8893 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8894 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8895 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8896 long arg6
= (long) 0 ;
8897 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8898 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8902 bool temp7
= False
;
8903 PyObject
* obj0
= 0 ;
8904 PyObject
* obj1
= 0 ;
8905 PyObject
* obj2
= 0 ;
8906 PyObject
* obj3
= 0 ;
8907 PyObject
* obj4
= 0 ;
8908 PyObject
* obj5
= 0 ;
8909 PyObject
* obj6
= 0 ;
8911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8920 arg3
= (int) SWIG_AsInt(obj2
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8926 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8932 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8936 arg6
= (long) SWIG_AsLong(obj5
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8941 arg7
= wxString_in_helper(obj6
);
8942 if (arg7
== NULL
) SWIG_fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8970 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8977 (char *) "self",(char *) "count", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8983 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 (arg1
)->SetLineCount(arg2
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8999 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9007 (char *) "self",(char *) "line", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9031 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9036 PyObject
* obj0
= 0 ;
9037 PyObject
* obj1
= 0 ;
9039 (char *) "self",(char *) "lines", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9045 arg2
= (int) SWIG_AsInt(obj1
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (bool)(arg1
)->ScrollLines(arg2
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9063 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
;
9065 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9068 PyObject
* obj0
= 0 ;
9069 PyObject
* obj1
= 0 ;
9071 (char *) "self",(char *) "pages", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9077 arg2
= (int) SWIG_AsInt(obj1
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 result
= (bool)(arg1
)->ScrollPages(arg2
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9095 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9099 PyObject
* obj0
= 0 ;
9100 PyObject
* obj1
= 0 ;
9102 (char *) "self",(char *) "line", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9108 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->RefreshLine(arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 Py_INCREF(Py_None
); resultobj
= Py_None
;
9124 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9131 PyObject
* obj2
= 0 ;
9133 (char *) "self",(char *) "from",(char *) "to", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9139 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9141 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 (arg1
)->RefreshLines(arg2
,arg3
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 Py_INCREF(Py_None
); resultobj
= Py_None
;
9157 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9163 PyObject
* obj0
= 0 ;
9164 PyObject
* obj1
= 0 ;
9165 PyObject
* obj2
= 0 ;
9167 (char *) "self",(char *) "x",(char *) "y", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 arg2
= (int) SWIG_AsInt(obj1
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9175 arg3
= (int) SWIG_AsInt(obj2
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= SWIG_FromInt((int)result
);
9191 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
;
9193 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9197 PyObject
* obj0
= 0 ;
9198 PyObject
* obj1
= 0 ;
9200 (char *) "self",(char *) "pt", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9208 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= SWIG_FromInt((int)result
);
9224 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9227 PyObject
* obj0
= 0 ;
9229 (char *) "self", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 (arg1
)->RefreshAll();
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 Py_INCREF(Py_None
); resultobj
= Py_None
;
9249 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
*resultobj
;
9251 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9253 PyObject
* obj0
= 0 ;
9255 (char *) "self", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9275 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9279 PyObject
* obj0
= 0 ;
9281 (char *) "self", NULL
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9301 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9327 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
;
9329 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9333 PyObject
* obj1
= 0 ;
9335 (char *) "self",(char *) "line", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9341 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9362 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9364 return Py_BuildValue((char *)"");
9366 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9367 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9372 static PyObject
*_wrap_VListBoxNameStr_get() {
9377 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9379 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9386 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxWindow
*arg1
= (wxWindow
*) 0 ;
9389 int arg2
= (int) wxID_ANY
;
9390 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9391 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9392 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9393 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9394 long arg5
= (long) 0 ;
9395 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9396 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9397 wxPyVListBox
*result
;
9400 bool temp6
= False
;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 PyObject
* obj2
= 0 ;
9404 PyObject
* obj3
= 0 ;
9405 PyObject
* obj4
= 0 ;
9406 PyObject
* obj5
= 0 ;
9408 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9415 arg2
= (int) SWIG_AsInt(obj1
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9421 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9427 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9431 arg5
= (long) SWIG_AsLong(obj4
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9436 arg6
= wxString_in_helper(obj5
);
9437 if (arg6
== NULL
) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9463 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxPyVListBox
*result
;
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (wxPyVListBox
*)new wxPyVListBox();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9485 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9488 PyObject
*arg2
= (PyObject
*) 0 ;
9489 PyObject
*arg3
= (PyObject
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9492 PyObject
* obj2
= 0 ;
9494 (char *) "self",(char *) "self",(char *) "_class", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 Py_INCREF(Py_None
); resultobj
= Py_None
;
9516 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9519 wxWindow
*arg2
= (wxWindow
*) 0 ;
9520 int arg3
= (int) wxID_ANY
;
9521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9525 long arg6
= (long) 0 ;
9526 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9527 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9531 bool temp7
= False
;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 PyObject
* obj2
= 0 ;
9535 PyObject
* obj3
= 0 ;
9536 PyObject
* obj4
= 0 ;
9537 PyObject
* obj5
= 0 ;
9538 PyObject
* obj6
= 0 ;
9540 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9549 arg3
= (int) SWIG_AsInt(obj2
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9565 arg6
= (long) SWIG_AsLong(obj5
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9570 arg7
= wxString_in_helper(obj6
);
9571 if (arg7
== NULL
) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9599 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9603 PyObject
* obj0
= 0 ;
9605 (char *) "self", NULL
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9625 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9631 (char *) "self", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9653 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9657 PyObject
* obj0
= 0 ;
9659 (char *) "self", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= SWIG_FromInt((int)result
);
9679 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9687 (char *) "self",(char *) "item", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9693 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9711 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9719 (char *) "self",(char *) "item", NULL
9722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9725 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9743 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9747 PyObject
* obj0
= 0 ;
9749 (char *) "self", NULL
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9769 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
;
9771 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9772 unsigned long *arg2
= 0 ;
9774 PyObject
* obj0
= 0 ;
9775 PyObject
* obj1
= 0 ;
9777 (char *) "self",(char *) "cookie", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9787 PyErr_SetString(PyExc_TypeError
,"null reference");
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_FromInt((int)result
);
9804 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9807 unsigned long *arg2
= 0 ;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9812 (char *) "self",(char *) "cookie", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9822 PyErr_SetString(PyExc_TypeError
,"null reference");
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_FromInt((int)result
);
9839 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9845 (char *) "self", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9859 wxPoint
* resultptr
;
9860 resultptr
= new wxPoint((wxPoint
&) result
);
9861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9869 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9885 result
= (wxColour
*) &_result_ref
;
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9898 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9902 PyObject
* obj0
= 0 ;
9903 PyObject
* obj1
= 0 ;
9905 (char *) "self",(char *) "count", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9911 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 (arg1
)->SetItemCount(arg2
);
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9920 Py_INCREF(Py_None
); resultobj
= Py_None
;
9927 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9929 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9930 PyObject
* obj0
= 0 ;
9932 (char *) "self", NULL
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 Py_INCREF(Py_None
); resultobj
= Py_None
;
9952 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9957 PyObject
* obj1
= 0 ;
9959 (char *) "self",(char *) "selection", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9965 arg2
= (int) SWIG_AsInt(obj1
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 (arg1
)->SetSelection(arg2
);
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9974 Py_INCREF(Py_None
); resultobj
= Py_None
;
9981 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
;
9983 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9985 bool arg3
= (bool) True
;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9989 PyObject
* obj2
= 0 ;
9991 (char *) "self",(char *) "item",(char *) "select", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9997 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 arg3
= (bool) SWIG_AsBool(obj2
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10019 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 PyObject
* obj2
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self",(char *) "from",(char *) "to", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10035 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10037 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10055 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10059 PyObject
* obj0
= 0 ;
10060 PyObject
* obj1
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self",(char *) "item", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10068 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 (arg1
)->Toggle(arg2
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 Py_INCREF(Py_None
); resultobj
= Py_None
;
10084 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (bool)(arg1
)->SelectAll();
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10112 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 char *kwnames
[] = {
10118 (char *) "self", NULL
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (bool)(arg1
)->DeselectAll();
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10140 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10143 wxPoint
*arg2
= 0 ;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self",(char *) "pt", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10156 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 Py_INCREF(Py_None
); resultobj
= Py_None
;
10172 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10177 PyObject
* obj0
= 0 ;
10178 PyObject
* obj1
= 0 ;
10179 PyObject
* obj2
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self",(char *) "x",(char *) "y", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 arg2
= (int) SWIG_AsInt(obj1
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10189 arg3
= (int) SWIG_AsInt(obj2
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 (arg1
)->SetMargins(arg2
,arg3
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 Py_INCREF(Py_None
); resultobj
= Py_None
;
10205 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10208 wxColour
*arg2
= 0 ;
10210 PyObject
* obj0
= 0 ;
10211 PyObject
* obj1
= 0 ;
10212 char *kwnames
[] = {
10213 (char *) "self",(char *) "col", NULL
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10221 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 Py_INCREF(Py_None
); resultobj
= Py_None
;
10237 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10240 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10242 return Py_BuildValue((char *)"");
10244 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxWindow
*arg1
= (wxWindow
*) 0 ;
10247 int arg2
= (int) wxID_ANY
;
10248 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10249 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10250 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10251 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10252 long arg5
= (long) 0 ;
10253 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10254 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10255 wxPyHtmlListBox
*result
;
10258 bool temp6
= False
;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 PyObject
* obj2
= 0 ;
10262 PyObject
* obj3
= 0 ;
10263 PyObject
* obj4
= 0 ;
10264 PyObject
* obj5
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10273 arg2
= (int) SWIG_AsInt(obj1
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10279 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10285 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10289 arg5
= (long) SWIG_AsLong(obj4
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10294 arg6
= wxString_in_helper(obj5
);
10295 if (arg6
== NULL
) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10321 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxPyHtmlListBox
*result
;
10324 char *kwnames
[] = {
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10343 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10346 PyObject
*arg2
= (PyObject
*) 0 ;
10347 PyObject
*arg3
= (PyObject
*) 0 ;
10348 PyObject
* obj0
= 0 ;
10349 PyObject
* obj1
= 0 ;
10350 PyObject
* obj2
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self",(char *) "self",(char *) "_class", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 Py_INCREF(Py_None
); resultobj
= Py_None
;
10374 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10377 wxWindow
*arg2
= (wxWindow
*) 0 ;
10378 int arg3
= (int) wxID_ANY
;
10379 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10380 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10381 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10382 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10383 long arg6
= (long) 0 ;
10384 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10385 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10389 bool temp7
= False
;
10390 PyObject
* obj0
= 0 ;
10391 PyObject
* obj1
= 0 ;
10392 PyObject
* obj2
= 0 ;
10393 PyObject
* obj3
= 0 ;
10394 PyObject
* obj4
= 0 ;
10395 PyObject
* obj5
= 0 ;
10396 PyObject
* obj6
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10407 arg3
= (int) SWIG_AsInt(obj2
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10413 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10419 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10423 arg6
= (long) SWIG_AsLong(obj5
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10428 arg7
= wxString_in_helper(obj6
);
10429 if (arg7
== NULL
) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10457 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10460 PyObject
* obj0
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 (arg1
)->RefreshAll();
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self",(char *) "count", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10495 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 (arg1
)->SetItemCount(arg2
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10504 Py_INCREF(Py_None
); resultobj
= Py_None
;
10511 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10514 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10516 return Py_BuildValue((char *)"");
10518 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxTaskBarIcon
*result
;
10521 char *kwnames
[] = {
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10540 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10542 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10543 PyObject
* obj0
= 0 ;
10544 char *kwnames
[] = {
10545 (char *) "self", NULL
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 Py_INCREF(Py_None
); resultobj
= Py_None
;
10565 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10568 PyObject
* obj0
= 0 ;
10569 char *kwnames
[] = {
10570 (char *) "self", NULL
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 wxTaskBarIcon_Destroy(arg1
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 Py_INCREF(Py_None
); resultobj
= Py_None
;
10590 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10594 PyObject
* obj0
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10618 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10622 PyObject
* obj0
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10646 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10650 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10651 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10653 bool temp3
= False
;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 PyObject
* obj2
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10667 if (arg2
== NULL
) {
10668 PyErr_SetString(PyExc_TypeError
,"null reference");
10673 arg3
= wxString_in_helper(obj2
);
10674 if (arg3
== NULL
) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10702 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10703 PyObject
*resultobj
;
10704 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10706 PyObject
* obj0
= 0 ;
10707 char *kwnames
[] = {
10708 (char *) "self", NULL
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (bool)(arg1
)->RemoveIcon();
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10730 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10731 PyObject
*resultobj
;
10732 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10733 wxMenu
*arg2
= (wxMenu
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "menu", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 result
= (bool)(arg1
)->PopupMenu(arg2
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10762 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10765 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10767 return Py_BuildValue((char *)"");
10769 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10772 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10773 wxTaskBarIconEvent
*result
;
10774 PyObject
* obj0
= 0 ;
10775 PyObject
* obj1
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "evtType",(char *) "tbIcon", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10781 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10799 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10802 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10804 return Py_BuildValue((char *)"");
10806 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10807 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10812 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10817 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10819 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10826 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10827 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10832 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10837 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10839 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10846 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10847 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10852 static PyObject
*_wrap_DirDialogNameStr_get() {
10857 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10859 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10866 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10867 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10872 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10877 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10879 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10886 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10887 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10892 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10897 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10899 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10906 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10907 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10912 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10917 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10919 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10926 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxColourData
*result
;
10929 char *kwnames
[] = {
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (wxColourData
*)new wxColourData();
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10948 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxColourData
*arg1
= (wxColourData
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxColourData
*arg1
= (wxColourData
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (bool)(arg1
)->GetChooseFull();
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11001 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxColourData
*arg1
= (wxColourData
*) 0 ;
11005 PyObject
* obj0
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 result
= (arg1
)->GetColour();
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11021 wxColour
* resultptr
;
11022 resultptr
= new wxColour((wxColour
&) result
);
11023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11031 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxColourData
*arg1
= (wxColourData
*) 0 ;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "self",(char *) "i", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11045 arg2
= (int) SWIG_AsInt(obj1
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (arg1
)->GetCustomColour(arg2
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 wxColour
* resultptr
;
11056 resultptr
= new wxColour((wxColour
&) result
);
11057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11065 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxColourData
*arg1
= (wxColourData
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self",(char *) "flag", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11078 arg2
= (int) SWIG_AsInt(obj1
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 (arg1
)->SetChooseFull(arg2
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxColourData
*arg1
= (wxColourData
*) 0 ;
11097 wxColour
*arg2
= 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "self",(char *) "colour", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11110 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 (arg1
)->SetColour((wxColour
const &)*arg2
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxColourData
*arg1
= (wxColourData
*) 0 ;
11130 wxColour
*arg3
= 0 ;
11132 PyObject
* obj0
= 0 ;
11133 PyObject
* obj1
= 0 ;
11134 PyObject
* obj2
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self",(char *) "i",(char *) "colour", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11142 arg2
= (int) SWIG_AsInt(obj1
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11146 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 Py_INCREF(Py_None
); resultobj
= Py_None
;
11162 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11165 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11167 return Py_BuildValue((char *)"");
11169 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11171 wxWindow
*arg1
= (wxWindow
*) 0 ;
11172 wxColourData
*arg2
= (wxColourData
*) NULL
;
11173 wxColourDialog
*result
;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "parent",(char *) "data", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11201 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11204 wxColourData
*result
;
11205 PyObject
* obj0
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11217 result
= (wxColourData
*) &_result_ref
;
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11230 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11233 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11235 return Py_BuildValue((char *)"");
11237 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxWindow
*arg1
= (wxWindow
*) 0 ;
11240 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11241 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11242 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11243 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11244 long arg4
= (long) 0 ;
11245 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11246 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11247 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11248 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11249 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11250 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11251 wxDirDialog
*result
;
11252 bool temp2
= False
;
11253 bool temp3
= False
;
11256 bool temp7
= False
;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 PyObject
* obj3
= 0 ;
11261 PyObject
* obj4
= 0 ;
11262 PyObject
* obj5
= 0 ;
11263 PyObject
* obj6
= 0 ;
11264 char *kwnames
[] = {
11265 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11273 arg2
= wxString_in_helper(obj1
);
11274 if (arg2
== NULL
) SWIG_fail
;
11280 arg3
= wxString_in_helper(obj2
);
11281 if (arg3
== NULL
) SWIG_fail
;
11286 arg4
= (long) SWIG_AsLong(obj3
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11292 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11298 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11303 arg7
= wxString_in_helper(obj6
);
11304 if (arg7
== NULL
) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11346 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
;
11348 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 result
= (arg1
)->GetPath();
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11378 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (arg1
)->GetMessage();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11410 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
;
11412 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11414 PyObject
* obj0
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "self", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (long)(arg1
)->GetStyle();
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= SWIG_FromLong((long)result
);
11436 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11439 wxString
*arg2
= 0 ;
11440 bool temp2
= False
;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self",(char *) "message", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11451 arg2
= wxString_in_helper(obj1
);
11452 if (arg2
== NULL
) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 (arg1
)->SetMessage((wxString
const &)*arg2
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 Py_INCREF(Py_None
); resultobj
= Py_None
;
11477 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11480 wxString
*arg2
= 0 ;
11481 bool temp2
= False
;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 char *kwnames
[] = {
11485 (char *) "self",(char *) "path", NULL
11488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11492 arg2
= wxString_in_helper(obj1
);
11493 if (arg2
== NULL
) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 (arg1
)->SetPath((wxString
const &)*arg2
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 Py_INCREF(Py_None
); resultobj
= Py_None
;
11518 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11521 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11523 return Py_BuildValue((char *)"");
11525 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxWindow
*arg1
= (wxWindow
*) 0 ;
11528 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11529 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11530 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11531 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11532 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11533 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11534 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11535 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11536 long arg6
= (long) 0 ;
11537 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11538 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11539 wxFileDialog
*result
;
11540 bool temp2
= False
;
11541 bool temp3
= False
;
11542 bool temp4
= False
;
11543 bool temp5
= False
;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 PyObject
* obj2
= 0 ;
11548 PyObject
* obj3
= 0 ;
11549 PyObject
* obj4
= 0 ;
11550 PyObject
* obj5
= 0 ;
11551 PyObject
* obj6
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11561 arg2
= wxString_in_helper(obj1
);
11562 if (arg2
== NULL
) SWIG_fail
;
11568 arg3
= wxString_in_helper(obj2
);
11569 if (arg3
== NULL
) SWIG_fail
;
11575 arg4
= wxString_in_helper(obj3
);
11576 if (arg4
== NULL
) SWIG_fail
;
11582 arg5
= wxString_in_helper(obj4
);
11583 if (arg5
== NULL
) SWIG_fail
;
11588 arg6
= (long) SWIG_AsLong(obj5
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11594 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11643 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
;
11645 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11646 wxString
*arg2
= 0 ;
11647 bool temp2
= False
;
11648 PyObject
* obj0
= 0 ;
11649 PyObject
* obj1
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self",(char *) "message", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11658 arg2
= wxString_in_helper(obj1
);
11659 if (arg2
== NULL
) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 (arg1
)->SetMessage((wxString
const &)*arg2
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 Py_INCREF(Py_None
); resultobj
= Py_None
;
11684 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11687 wxString
*arg2
= 0 ;
11688 bool temp2
= False
;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "path", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11699 arg2
= wxString_in_helper(obj1
);
11700 if (arg2
== NULL
) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 (arg1
)->SetPath((wxString
const &)*arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 Py_INCREF(Py_None
); resultobj
= Py_None
;
11725 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11728 wxString
*arg2
= 0 ;
11729 bool temp2
= False
;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "self",(char *) "dir", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11740 arg2
= wxString_in_helper(obj1
);
11741 if (arg2
== NULL
) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 Py_INCREF(Py_None
); resultobj
= Py_None
;
11766 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11769 wxString
*arg2
= 0 ;
11770 bool temp2
= False
;
11771 PyObject
* obj0
= 0 ;
11772 PyObject
* obj1
= 0 ;
11773 char *kwnames
[] = {
11774 (char *) "self",(char *) "name", NULL
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11781 arg2
= wxString_in_helper(obj1
);
11782 if (arg2
== NULL
) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 (arg1
)->SetFilename((wxString
const &)*arg2
);
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11792 Py_INCREF(Py_None
); resultobj
= Py_None
;
11807 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11810 wxString
*arg2
= 0 ;
11811 bool temp2
= False
;
11812 PyObject
* obj0
= 0 ;
11813 PyObject
* obj1
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "self",(char *) "wildCard", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11822 arg2
= wxString_in_helper(obj1
);
11823 if (arg2
== NULL
) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11833 Py_INCREF(Py_None
); resultobj
= Py_None
;
11848 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self",(char *) "style", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11861 arg2
= (long) SWIG_AsLong(obj1
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 (arg1
)->SetStyle(arg2
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 Py_INCREF(Py_None
); resultobj
= Py_None
;
11877 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "filterIndex", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 arg2
= (int) SWIG_AsInt(obj1
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->SetFilterIndex(arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11938 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11942 PyObject
* obj0
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11970 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11974 PyObject
* obj0
= 0 ;
11975 char *kwnames
[] = {
11976 (char *) "self", NULL
11979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12002 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12006 PyObject
* obj0
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12034 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12066 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_FromLong((long)result
);
12092 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_FromInt((int)result
);
12118 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= result
;
12144 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= result
;
12170 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12173 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12175 return Py_BuildValue((char *)"");
12177 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxWindow
*arg1
= (wxWindow
*) 0 ;
12180 wxString
*arg2
= 0 ;
12181 wxString
*arg3
= 0 ;
12182 int arg4
= (int) 0 ;
12183 wxString
*arg5
= (wxString
*) 0 ;
12184 long arg6
= (long) wxCHOICEDLG_STYLE
;
12185 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12186 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12187 wxMultiChoiceDialog
*result
;
12188 bool temp2
= False
;
12189 bool temp3
= False
;
12191 PyObject
* obj0
= 0 ;
12192 PyObject
* obj1
= 0 ;
12193 PyObject
* obj2
= 0 ;
12194 PyObject
* obj3
= 0 ;
12195 PyObject
* obj4
= 0 ;
12196 PyObject
* obj5
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12205 arg2
= wxString_in_helper(obj1
);
12206 if (arg2
== NULL
) SWIG_fail
;
12210 arg3
= wxString_in_helper(obj2
);
12211 if (arg3
== NULL
) SWIG_fail
;
12216 arg4
= PyList_Size(obj3
);
12217 arg5
= wxString_LIST_helper(obj3
);
12218 if (arg5
== NULL
) SWIG_fail
;
12222 arg6
= (long) SWIG_AsLong(obj4
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12228 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12248 if (arg5
) delete [] arg5
;
12261 if (arg5
) delete [] arg5
;
12267 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12270 wxArrayInt
*arg2
= 0 ;
12271 bool temp2
= False
;
12272 PyObject
* obj0
= 0 ;
12273 PyObject
* obj1
= 0 ;
12274 char *kwnames
[] = {
12275 (char *) "self",(char *) "selections", NULL
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12282 if (! PySequence_Check(obj1
)) {
12283 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12286 arg2
= new wxArrayInt
;
12288 int i
, len
=PySequence_Length(obj1
);
12289 for (i
=0; i
<len
; i
++) {
12290 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12291 PyObject
* number
= PyNumber_Int(item
);
12292 arg2
->Add(PyInt_AS_LONG(number
));
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 Py_INCREF(Py_None
); resultobj
= Py_None
;
12306 if (temp2
) delete arg2
;
12311 if (temp2
) delete arg2
;
12317 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 resultobj
= result
;
12343 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12346 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12348 return Py_BuildValue((char *)"");
12350 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
;
12352 wxWindow
*arg1
= (wxWindow
*) 0 ;
12353 wxString
*arg2
= 0 ;
12354 wxString
*arg3
= 0 ;
12356 wxString
*arg5
= (wxString
*) 0 ;
12357 long arg6
= (long) wxCHOICEDLG_STYLE
;
12358 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12359 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12360 wxSingleChoiceDialog
*result
;
12361 bool temp2
= False
;
12362 bool temp3
= False
;
12364 PyObject
* obj0
= 0 ;
12365 PyObject
* obj1
= 0 ;
12366 PyObject
* obj2
= 0 ;
12367 PyObject
* obj3
= 0 ;
12368 PyObject
* obj4
= 0 ;
12369 PyObject
* obj5
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12378 arg2
= wxString_in_helper(obj1
);
12379 if (arg2
== NULL
) SWIG_fail
;
12383 arg3
= wxString_in_helper(obj2
);
12384 if (arg3
== NULL
) SWIG_fail
;
12388 arg4
= PyList_Size(obj3
);
12389 arg5
= wxString_LIST_helper(obj3
);
12390 if (arg5
== NULL
) SWIG_fail
;
12393 arg6
= (long) SWIG_AsLong(obj4
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12399 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12419 if (arg5
) delete [] arg5
;
12432 if (arg5
) delete [] arg5
;
12438 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= (int)(arg1
)->GetSelection();
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 resultobj
= SWIG_FromInt((int)result
);
12464 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12468 PyObject
* obj0
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "self", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 result
= (arg1
)->GetStringSelection();
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12496 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self",(char *) "sel", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12509 arg2
= (int) SWIG_AsInt(obj1
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 (arg1
)->SetSelection(arg2
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 Py_INCREF(Py_None
); resultobj
= Py_None
;
12525 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12528 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12530 return Py_BuildValue((char *)"");
12532 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxWindow
*arg1
= (wxWindow
*) 0 ;
12535 wxString
*arg2
= 0 ;
12536 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12537 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12538 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12539 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12540 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12541 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12542 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12543 wxTextEntryDialog
*result
;
12544 bool temp2
= False
;
12545 bool temp3
= False
;
12546 bool temp4
= False
;
12548 PyObject
* obj0
= 0 ;
12549 PyObject
* obj1
= 0 ;
12550 PyObject
* obj2
= 0 ;
12551 PyObject
* obj3
= 0 ;
12552 PyObject
* obj4
= 0 ;
12553 PyObject
* obj5
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12562 arg2
= wxString_in_helper(obj1
);
12563 if (arg2
== NULL
) SWIG_fail
;
12568 arg3
= wxString_in_helper(obj2
);
12569 if (arg3
== NULL
) SWIG_fail
;
12575 arg4
= wxString_in_helper(obj3
);
12576 if (arg4
== NULL
) SWIG_fail
;
12581 arg5
= (long) SWIG_AsLong(obj4
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12587 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12628 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12632 PyObject
* obj0
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 result
= (arg1
)->GetValue();
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12660 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
;
12662 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12663 wxString
*arg2
= 0 ;
12664 bool temp2
= False
;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self",(char *) "value", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12675 arg2
= wxString_in_helper(obj1
);
12676 if (arg2
== NULL
) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 (arg1
)->SetValue((wxString
const &)*arg2
);
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 Py_INCREF(Py_None
); resultobj
= Py_None
;
12701 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12704 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12706 return Py_BuildValue((char *)"");
12708 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxFontData
*result
;
12711 char *kwnames
[] = {
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (wxFontData
*)new wxFontData();
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12730 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxFontData
*arg1
= (wxFontData
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 Py_INCREF(Py_None
); resultobj
= Py_None
;
12755 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxFontData
*arg1
= (wxFontData
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 PyObject
* obj1
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self",(char *) "enable", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12768 arg2
= (bool) SWIG_AsBool(obj1
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 (arg1
)->EnableEffects(arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 Py_INCREF(Py_None
); resultobj
= Py_None
;
12784 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxFontData
*arg1
= (wxFontData
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (bool)(arg1
)->GetAllowSymbols();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12812 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxFontData
*arg1
= (wxFontData
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (arg1
)->GetColour();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12832 wxColour
* resultptr
;
12833 resultptr
= new wxColour((wxColour
&) result
);
12834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12842 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxFontData
*arg1
= (wxFontData
*) 0 ;
12846 PyObject
* obj0
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (arg1
)->GetChosenFont();
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 wxFont
* resultptr
;
12863 resultptr
= new wxFont((wxFont
&) result
);
12864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12872 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
;
12874 wxFontData
*arg1
= (wxFontData
*) 0 ;
12876 PyObject
* obj0
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 result
= (bool)(arg1
)->GetEnableEffects();
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12900 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxFontData
*arg1
= (wxFontData
*) 0 ;
12904 PyObject
* obj0
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 result
= (arg1
)->GetInitialFont();
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12920 wxFont
* resultptr
;
12921 resultptr
= new wxFont((wxFont
&) result
);
12922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12930 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
;
12932 wxFontData
*arg1
= (wxFontData
*) 0 ;
12934 PyObject
* obj0
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "self", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 result
= (bool)(arg1
)->GetShowHelp();
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12958 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxFontData
*arg1
= (wxFontData
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self",(char *) "allowSymbols", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12971 arg2
= (bool) SWIG_AsBool(obj1
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 (arg1
)->SetAllowSymbols(arg2
);
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 Py_INCREF(Py_None
); resultobj
= Py_None
;
12987 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxFontData
*arg1
= (wxFontData
*) 0 ;
12991 PyObject
* obj0
= 0 ;
12992 PyObject
* obj1
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self",(char *) "font", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13003 if (arg2
== NULL
) {
13004 PyErr_SetString(PyExc_TypeError
,"null reference");
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 Py_INCREF(Py_None
); resultobj
= Py_None
;
13021 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
;
13023 wxFontData
*arg1
= (wxFontData
*) 0 ;
13024 wxColour
*arg2
= 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self",(char *) "colour", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 (arg1
)->SetColour((wxColour
const &)*arg2
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 Py_INCREF(Py_None
); resultobj
= Py_None
;
13053 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxFontData
*arg1
= (wxFontData
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "font", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13069 if (arg2
== NULL
) {
13070 PyErr_SetString(PyExc_TypeError
,"null reference");
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 Py_INCREF(Py_None
); resultobj
= Py_None
;
13087 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxFontData
*arg1
= (wxFontData
*) 0 ;
13092 PyObject
* obj0
= 0 ;
13093 PyObject
* obj1
= 0 ;
13094 PyObject
* obj2
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self",(char *) "min",(char *) "max", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13102 arg2
= (int) SWIG_AsInt(obj1
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13104 arg3
= (int) SWIG_AsInt(obj2
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 (arg1
)->SetRange(arg2
,arg3
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 Py_INCREF(Py_None
); resultobj
= Py_None
;
13120 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
;
13122 wxFontData
*arg1
= (wxFontData
*) 0 ;
13124 PyObject
* obj0
= 0 ;
13125 PyObject
* obj1
= 0 ;
13126 char *kwnames
[] = {
13127 (char *) "self",(char *) "showHelp", NULL
13130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13133 arg2
= (bool) SWIG_AsBool(obj1
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 (arg1
)->SetShowHelp(arg2
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 Py_INCREF(Py_None
); resultobj
= Py_None
;
13149 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13152 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13154 return Py_BuildValue((char *)"");
13156 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
;
13158 wxWindow
*arg1
= (wxWindow
*) 0 ;
13159 wxFontData
*arg2
= 0 ;
13160 wxFontDialog
*result
;
13161 PyObject
* obj0
= 0 ;
13162 PyObject
* obj1
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "parent",(char *) "data", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13173 if (arg2
== NULL
) {
13174 PyErr_SetString(PyExc_TypeError
,"null reference");
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13191 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13194 wxFontData
*result
;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13207 result
= (wxFontData
*) &_result_ref
;
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13220 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13223 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13225 return Py_BuildValue((char *)"");
13227 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxWindow
*arg1
= (wxWindow
*) 0 ;
13230 wxString
*arg2
= 0 ;
13231 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13232 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13233 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13234 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13235 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13236 wxMessageDialog
*result
;
13237 bool temp2
= False
;
13238 bool temp3
= False
;
13240 PyObject
* obj0
= 0 ;
13241 PyObject
* obj1
= 0 ;
13242 PyObject
* obj2
= 0 ;
13243 PyObject
* obj3
= 0 ;
13244 PyObject
* obj4
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13253 arg2
= wxString_in_helper(obj1
);
13254 if (arg2
== NULL
) SWIG_fail
;
13259 arg3
= wxString_in_helper(obj2
);
13260 if (arg3
== NULL
) SWIG_fail
;
13265 arg4
= (long) SWIG_AsLong(obj3
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13271 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13304 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13307 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13309 return Py_BuildValue((char *)"");
13311 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxString
*arg1
= 0 ;
13314 wxString
*arg2
= 0 ;
13315 int arg3
= (int) 100 ;
13316 wxWindow
*arg4
= (wxWindow
*) NULL
;
13317 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13318 wxProgressDialog
*result
;
13319 bool temp1
= False
;
13320 bool temp2
= False
;
13321 PyObject
* obj0
= 0 ;
13322 PyObject
* obj1
= 0 ;
13323 PyObject
* obj2
= 0 ;
13324 PyObject
* obj3
= 0 ;
13325 PyObject
* obj4
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13332 arg1
= wxString_in_helper(obj0
);
13333 if (arg1
== NULL
) SWIG_fail
;
13337 arg2
= wxString_in_helper(obj1
);
13338 if (arg2
== NULL
) SWIG_fail
;
13342 arg3
= (int) SWIG_AsInt(obj2
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13346 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13350 arg5
= (int) SWIG_AsInt(obj4
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13383 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
;
13385 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13387 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13388 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13390 bool temp3
= False
;
13391 PyObject
* obj0
= 0 ;
13392 PyObject
* obj1
= 0 ;
13393 PyObject
* obj2
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13401 arg2
= (int) SWIG_AsInt(obj1
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 arg3
= wxString_in_helper(obj2
);
13406 if (arg3
== NULL
) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13434 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13437 PyObject
* obj0
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "self", NULL
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 Py_INCREF(Py_None
); resultobj
= Py_None
;
13459 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13462 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13464 return Py_BuildValue((char *)"");
13466 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13469 int arg2
= (int) 0 ;
13470 wxFindDialogEvent
*result
;
13471 PyObject
* obj0
= 0 ;
13472 PyObject
* obj1
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "commandType",(char *) "id", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13479 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 arg2
= (int) SWIG_AsInt(obj1
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13500 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (int)(arg1
)->GetFlags();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= SWIG_FromInt((int)result
);
13526 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 wxString
const &_result_ref
= (arg1
)->GetFindString();
13542 result
= (wxString
*) &_result_ref
;
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13552 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13561 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13577 result
= (wxString
*) &_result_ref
;
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13587 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13596 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13599 wxFindReplaceDialog
*result
;
13600 PyObject
* obj0
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13622 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13626 PyObject
* obj0
= 0 ;
13627 PyObject
* obj1
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self",(char *) "flags", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13635 arg2
= (int) SWIG_AsInt(obj1
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 (arg1
)->SetFlags(arg2
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 Py_INCREF(Py_None
); resultobj
= Py_None
;
13651 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13654 wxString
*arg2
= 0 ;
13655 bool temp2
= False
;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self",(char *) "str", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13666 arg2
= wxString_in_helper(obj1
);
13667 if (arg2
== NULL
) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 (arg1
)->SetFindString((wxString
const &)*arg2
);
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 Py_INCREF(Py_None
); resultobj
= Py_None
;
13692 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
;
13694 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13695 wxString
*arg2
= 0 ;
13696 bool temp2
= False
;
13697 PyObject
* obj0
= 0 ;
13698 PyObject
* obj1
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "self",(char *) "str", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13707 arg2
= wxString_in_helper(obj1
);
13708 if (arg2
== NULL
) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 Py_INCREF(Py_None
); resultobj
= Py_None
;
13733 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13736 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13738 return Py_BuildValue((char *)"");
13740 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 int arg1
= (int) 0 ;
13743 wxFindReplaceData
*result
;
13744 PyObject
* obj0
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "flags", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13751 arg1
= (int) SWIG_AsInt(obj0
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13768 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 Py_INCREF(Py_None
); resultobj
= Py_None
;
13793 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 wxString
const &_result_ref
= (arg1
)->GetFindString();
13809 result
= (wxString
*) &_result_ref
;
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13819 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13828 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13844 result
= (wxString
*) &_result_ref
;
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13852 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13854 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13863 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
;
13865 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13867 PyObject
* obj0
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "self", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 result
= (int)(arg1
)->GetFlags();
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= SWIG_FromInt((int)result
);
13889 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
;
13891 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13893 PyObject
* obj0
= 0 ;
13894 PyObject
* obj1
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "self",(char *) "flags", NULL
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13902 arg2
= (int) SWIG_AsInt(obj1
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 (arg1
)->SetFlags(arg2
);
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 Py_INCREF(Py_None
); resultobj
= Py_None
;
13918 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
;
13920 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13921 wxString
*arg2
= 0 ;
13922 bool temp2
= False
;
13923 PyObject
* obj0
= 0 ;
13924 PyObject
* obj1
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "self",(char *) "str", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13933 arg2
= wxString_in_helper(obj1
);
13934 if (arg2
== NULL
) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 (arg1
)->SetFindString((wxString
const &)*arg2
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 Py_INCREF(Py_None
); resultobj
= Py_None
;
13959 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
;
13961 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13962 wxString
*arg2
= 0 ;
13963 bool temp2
= False
;
13964 PyObject
* obj0
= 0 ;
13965 PyObject
* obj1
= 0 ;
13966 char *kwnames
[] = {
13967 (char *) "self",(char *) "str", NULL
13970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 arg2
= wxString_in_helper(obj1
);
13975 if (arg2
== NULL
) SWIG_fail
;
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13985 Py_INCREF(Py_None
); resultobj
= Py_None
;
14000 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14003 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14005 return Py_BuildValue((char *)"");
14007 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxWindow
*arg1
= (wxWindow
*) 0 ;
14010 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14011 wxString
*arg3
= 0 ;
14012 int arg4
= (int) 0 ;
14013 wxFindReplaceDialog
*result
;
14014 bool temp3
= False
;
14015 PyObject
* obj0
= 0 ;
14016 PyObject
* obj1
= 0 ;
14017 PyObject
* obj2
= 0 ;
14018 PyObject
* obj3
= 0 ;
14019 char *kwnames
[] = {
14020 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14029 arg3
= wxString_in_helper(obj2
);
14030 if (arg3
== NULL
) SWIG_fail
;
14034 arg4
= (int) SWIG_AsInt(obj3
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14059 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
;
14061 wxFindReplaceDialog
*result
;
14062 char *kwnames
[] = {
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14081 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14082 PyObject
*resultobj
;
14083 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14084 wxWindow
*arg2
= (wxWindow
*) 0 ;
14085 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14086 wxString
*arg4
= 0 ;
14087 int arg5
= (int) 0 ;
14089 bool temp4
= False
;
14090 PyObject
* obj0
= 0 ;
14091 PyObject
* obj1
= 0 ;
14092 PyObject
* obj2
= 0 ;
14093 PyObject
* obj3
= 0 ;
14094 PyObject
* obj4
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14104 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14107 arg4
= wxString_in_helper(obj3
);
14108 if (arg4
== NULL
) SWIG_fail
;
14112 arg5
= (int) SWIG_AsInt(obj4
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14139 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14142 wxFindReplaceData
*result
;
14143 PyObject
* obj0
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14165 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14168 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14169 PyObject
* obj0
= 0 ;
14170 PyObject
* obj1
= 0 ;
14171 char *kwnames
[] = {
14172 (char *) "self",(char *) "data", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 (arg1
)->SetData(arg2
);
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 Py_INCREF(Py_None
); resultobj
= Py_None
;
14194 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14197 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14199 return Py_BuildValue((char *)"");
14201 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxWindow
*arg1
= (wxWindow
*) 0 ;
14205 wxString
*arg3
= 0 ;
14206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14210 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14211 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14212 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14213 wxMDIParentFrame
*result
;
14214 bool temp3
= False
;
14217 bool temp7
= False
;
14218 PyObject
* obj0
= 0 ;
14219 PyObject
* obj1
= 0 ;
14220 PyObject
* obj2
= 0 ;
14221 PyObject
* obj3
= 0 ;
14222 PyObject
* obj4
= 0 ;
14223 PyObject
* obj5
= 0 ;
14224 PyObject
* obj6
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 arg2
= (int const) SWIG_AsInt(obj1
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14235 arg3
= wxString_in_helper(obj2
);
14236 if (arg3
== NULL
) SWIG_fail
;
14242 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14248 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14252 arg6
= (long) SWIG_AsLong(obj5
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14257 arg7
= wxString_in_helper(obj6
);
14258 if (arg7
== NULL
) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14292 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxMDIParentFrame
*result
;
14295 char *kwnames
[] = {
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14314 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14317 wxWindow
*arg2
= (wxWindow
*) 0 ;
14319 wxString
*arg4
= 0 ;
14320 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14321 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14322 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14323 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14324 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14325 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14326 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14328 bool temp4
= False
;
14331 bool temp8
= False
;
14332 PyObject
* obj0
= 0 ;
14333 PyObject
* obj1
= 0 ;
14334 PyObject
* obj2
= 0 ;
14335 PyObject
* obj3
= 0 ;
14336 PyObject
* obj4
= 0 ;
14337 PyObject
* obj5
= 0 ;
14338 PyObject
* obj6
= 0 ;
14339 PyObject
* obj7
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14349 arg3
= (int const) SWIG_AsInt(obj2
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 arg4
= wxString_in_helper(obj3
);
14353 if (arg4
== NULL
) SWIG_fail
;
14359 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14365 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14369 arg7
= (long) SWIG_AsLong(obj6
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14374 arg8
= wxString_in_helper(obj7
);
14375 if (arg8
== NULL
) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14411 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 char *kwnames
[] = {
14416 (char *) "self", NULL
14419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 (arg1
)->ActivateNext();
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 Py_INCREF(Py_None
); resultobj
= Py_None
;
14436 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14439 PyObject
* obj0
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 (arg1
)->ActivatePrevious();
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14454 Py_INCREF(Py_None
); resultobj
= Py_None
;
14461 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14464 PyObject
* obj0
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 (arg1
)->ArrangeIcons();
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 Py_INCREF(Py_None
); resultobj
= Py_None
;
14486 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14489 PyObject
* obj0
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 Py_INCREF(Py_None
); resultobj
= Py_None
;
14511 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14514 wxMDIChildFrame
*result
;
14515 PyObject
* obj0
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= wxPyMake_wxObject(result
);
14539 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14542 wxMDIClientWindow
*result
;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= wxPyMake_wxObject(result
);
14567 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14571 PyObject
* obj0
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "self", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (wxWindow
*)(arg1
)->GetToolBar();
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= wxPyMake_wxObject(result
);
14595 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
;
14597 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14598 PyObject
* obj0
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 Py_INCREF(Py_None
); resultobj
= Py_None
;
14620 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14623 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14625 return Py_BuildValue((char *)"");
14627 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14631 wxString
*arg3
= 0 ;
14632 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14633 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14634 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14635 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14636 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14637 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14638 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14639 wxMDIChildFrame
*result
;
14640 bool temp3
= False
;
14643 bool temp7
= False
;
14644 PyObject
* obj0
= 0 ;
14645 PyObject
* obj1
= 0 ;
14646 PyObject
* obj2
= 0 ;
14647 PyObject
* obj3
= 0 ;
14648 PyObject
* obj4
= 0 ;
14649 PyObject
* obj5
= 0 ;
14650 PyObject
* obj6
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14658 arg2
= (int const) SWIG_AsInt(obj1
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 arg3
= wxString_in_helper(obj2
);
14662 if (arg3
== NULL
) SWIG_fail
;
14668 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14674 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14678 arg6
= (long) SWIG_AsLong(obj5
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14683 arg7
= wxString_in_helper(obj6
);
14684 if (arg7
== NULL
) SWIG_fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14696 resultobj
= wxPyMake_wxObject(result
);
14720 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxMDIChildFrame
*result
;
14723 char *kwnames
[] = {
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= wxPyMake_wxObject(result
);
14744 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
;
14746 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14747 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14749 wxString
*arg4
= 0 ;
14750 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14751 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14752 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14753 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14754 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14755 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14756 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14758 bool temp4
= False
;
14761 bool temp8
= False
;
14762 PyObject
* obj0
= 0 ;
14763 PyObject
* obj1
= 0 ;
14764 PyObject
* obj2
= 0 ;
14765 PyObject
* obj3
= 0 ;
14766 PyObject
* obj4
= 0 ;
14767 PyObject
* obj5
= 0 ;
14768 PyObject
* obj6
= 0 ;
14769 PyObject
* obj7
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 arg3
= (int const) SWIG_AsInt(obj2
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 arg4
= wxString_in_helper(obj3
);
14783 if (arg4
== NULL
) SWIG_fail
;
14789 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14795 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14799 arg7
= (long) SWIG_AsLong(obj6
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14804 arg8
= wxString_in_helper(obj7
);
14805 if (arg8
== NULL
) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14841 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14844 PyObject
* obj0
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 (arg1
)->Activate();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 Py_INCREF(Py_None
); resultobj
= Py_None
;
14866 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "maximize", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14879 arg2
= (bool) SWIG_AsBool(obj1
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 (arg1
)->Maximize(arg2
);
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 Py_INCREF(Py_None
); resultobj
= Py_None
;
14895 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14898 PyObject
* obj0
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 Py_INCREF(Py_None
); resultobj
= Py_None
;
14920 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14923 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14925 return Py_BuildValue((char *)"");
14927 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14930 long arg2
= (long) 0 ;
14931 wxMDIClientWindow
*result
;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "parent",(char *) "style", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14942 arg2
= (long) SWIG_AsLong(obj1
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= wxPyMake_wxObject(result
);
14961 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
;
14963 wxMDIClientWindow
*result
;
14964 char *kwnames
[] = {
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= wxPyMake_wxObject(result
);
14985 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14988 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14989 long arg3
= (long) 0 ;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 PyObject
* obj2
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self",(char *) "parent",(char *) "style", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15004 arg3
= (long) SWIG_AsLong(obj2
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15023 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15026 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15028 return Py_BuildValue((char *)"");
15030 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxWindow
*arg1
= (wxWindow
*) 0 ;
15034 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15035 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15036 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15037 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15038 long arg5
= (long) 0 ;
15039 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15040 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15041 wxPyWindow
*result
;
15044 bool temp6
= False
;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 PyObject
* obj2
= 0 ;
15048 PyObject
* obj3
= 0 ;
15049 PyObject
* obj4
= 0 ;
15050 PyObject
* obj5
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15058 arg2
= (int const) SWIG_AsInt(obj1
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15063 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15069 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15073 arg5
= (long) SWIG_AsLong(obj4
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15078 arg6
= wxString_in_helper(obj5
);
15079 if (arg6
== NULL
) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15105 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15107 wxPyWindow
*result
;
15108 char *kwnames
[] = {
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 result
= (wxPyWindow
*)new wxPyWindow();
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15127 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15130 PyObject
*arg2
= (PyObject
*) 0 ;
15131 PyObject
*arg3
= (PyObject
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 PyObject
* obj1
= 0 ;
15134 PyObject
* obj2
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self",(char *) "self",(char *) "_class", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15151 Py_INCREF(Py_None
); resultobj
= Py_None
;
15158 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 PyObject
* obj2
= 0 ;
15168 PyObject
* obj3
= 0 ;
15169 PyObject
* obj4
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15177 arg2
= (int) SWIG_AsInt(obj1
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15179 arg3
= (int) SWIG_AsInt(obj2
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15181 arg4
= (int) SWIG_AsInt(obj3
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15183 arg5
= (int) SWIG_AsInt(obj4
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 Py_INCREF(Py_None
); resultobj
= Py_None
;
15199 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15206 int arg6
= (int) wxSIZE_AUTO
;
15207 PyObject
* obj0
= 0 ;
15208 PyObject
* obj1
= 0 ;
15209 PyObject
* obj2
= 0 ;
15210 PyObject
* obj3
= 0 ;
15211 PyObject
* obj4
= 0 ;
15212 PyObject
* obj5
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15220 arg2
= (int) SWIG_AsInt(obj1
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15222 arg3
= (int) SWIG_AsInt(obj2
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15224 arg4
= (int) SWIG_AsInt(obj3
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15226 arg5
= (int) SWIG_AsInt(obj4
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 arg6
= (int) SWIG_AsInt(obj5
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 Py_INCREF(Py_None
); resultobj
= Py_None
;
15246 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 PyObject
* obj2
= 0 ;
15254 char *kwnames
[] = {
15255 (char *) "self",(char *) "width",(char *) "height", NULL
15258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 arg2
= (int) SWIG_AsInt(obj1
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15263 arg3
= (int) SWIG_AsInt(obj2
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 Py_INCREF(Py_None
); resultobj
= Py_None
;
15279 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15284 PyObject
* obj0
= 0 ;
15285 PyObject
* obj1
= 0 ;
15286 PyObject
* obj2
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self",(char *) "x",(char *) "y", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15294 arg2
= (int) SWIG_AsInt(obj1
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15296 arg3
= (int) SWIG_AsInt(obj2
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 Py_INCREF(Py_None
); resultobj
= Py_None
;
15312 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15315 int *arg2
= (int *) 0 ;
15316 int *arg3
= (int *) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self", NULL
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15336 Py_INCREF(Py_None
); resultobj
= Py_None
;
15338 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15339 resultobj
= t_output_helper(resultobj
,o
);
15342 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15343 resultobj
= t_output_helper(resultobj
,o
);
15351 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15354 int *arg2
= (int *) 0 ;
15355 int *arg3
= (int *) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 Py_INCREF(Py_None
); resultobj
= Py_None
;
15377 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15378 resultobj
= t_output_helper(resultobj
,o
);
15381 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15382 resultobj
= t_output_helper(resultobj
,o
);
15390 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15393 int *arg2
= (int *) 0 ;
15394 int *arg3
= (int *) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 char *kwnames
[] = {
15399 (char *) "self", NULL
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15414 Py_INCREF(Py_None
); resultobj
= Py_None
;
15416 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15417 resultobj
= t_output_helper(resultobj
,o
);
15420 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15421 resultobj
= t_output_helper(resultobj
,o
);
15429 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15449 wxSize
* resultptr
;
15450 resultptr
= new wxSize((wxSize
&) result
);
15451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15459 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 char *kwnames
[] = {
15465 (char *) "self", NULL
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15479 wxSize
* resultptr
;
15480 resultptr
= new wxSize((wxSize
&) result
);
15481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15489 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 (arg1
)->base_InitDialog();
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 Py_INCREF(Py_None
); resultobj
= Py_None
;
15514 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (bool)(arg1
)->base_TransferDataToWindow();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15542 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",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 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15570 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (bool)(arg1
)->base_Validate();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15598 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self", NULL
15607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15626 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15630 PyObject
* obj0
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "self", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15654 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15658 PyObject
* obj0
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15674 wxSize
* resultptr
;
15675 resultptr
= new wxSize((wxSize
&) result
);
15676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15684 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15687 wxWindow
*arg2
= (wxWindow
*) 0 ;
15688 PyObject
* obj0
= 0 ;
15689 PyObject
* obj1
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self",(char *) "child", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 (arg1
)->base_AddChild(arg2
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 Py_INCREF(Py_None
); resultobj
= Py_None
;
15713 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15716 wxWindow
*arg2
= (wxWindow
*) 0 ;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self",(char *) "child", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 (arg1
)->base_RemoveChild(arg2
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 Py_INCREF(Py_None
); resultobj
= Py_None
;
15742 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (bool)(arg1
)->base_ShouldInheritColours();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15770 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
;
15772 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15773 wxColour
*arg2
= 0 ;
15775 PyObject
* obj0
= 0 ;
15776 PyObject
* obj1
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "self",(char *) "c", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15786 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15795 Py_INCREF(Py_None
); resultobj
= Py_None
;
15802 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15805 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15807 return Py_BuildValue((char *)"");
15809 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
;
15811 wxWindow
*arg1
= (wxWindow
*) 0 ;
15813 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15814 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15815 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15816 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15817 long arg5
= (long) 0 ;
15818 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15819 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15823 bool temp6
= False
;
15824 PyObject
* obj0
= 0 ;
15825 PyObject
* obj1
= 0 ;
15826 PyObject
* obj2
= 0 ;
15827 PyObject
* obj3
= 0 ;
15828 PyObject
* obj4
= 0 ;
15829 PyObject
* obj5
= 0 ;
15830 char *kwnames
[] = {
15831 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 arg2
= (int const) SWIG_AsInt(obj1
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15842 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15848 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15852 arg5
= (long) SWIG_AsLong(obj4
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15857 arg6
= wxString_in_helper(obj5
);
15858 if (arg6
== NULL
) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15884 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15885 PyObject
*resultobj
;
15887 char *kwnames
[] = {
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (wxPyPanel
*)new wxPyPanel();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15906 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15907 PyObject
*resultobj
;
15908 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15909 PyObject
*arg2
= (PyObject
*) 0 ;
15910 PyObject
*arg3
= (PyObject
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 PyObject
* obj1
= 0 ;
15913 PyObject
* obj2
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self",(char *) "self",(char *) "_class", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15930 Py_INCREF(Py_None
); resultobj
= Py_None
;
15937 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 PyObject
* obj1
= 0 ;
15946 PyObject
* obj2
= 0 ;
15947 PyObject
* obj3
= 0 ;
15948 PyObject
* obj4
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15956 arg2
= (int) SWIG_AsInt(obj1
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15958 arg3
= (int) SWIG_AsInt(obj2
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15960 arg4
= (int) SWIG_AsInt(obj3
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15962 arg5
= (int) SWIG_AsInt(obj4
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 Py_INCREF(Py_None
); resultobj
= Py_None
;
15978 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15985 int arg6
= (int) wxSIZE_AUTO
;
15986 PyObject
* obj0
= 0 ;
15987 PyObject
* obj1
= 0 ;
15988 PyObject
* obj2
= 0 ;
15989 PyObject
* obj3
= 0 ;
15990 PyObject
* obj4
= 0 ;
15991 PyObject
* obj5
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15999 arg2
= (int) SWIG_AsInt(obj1
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16001 arg3
= (int) SWIG_AsInt(obj2
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16003 arg4
= (int) SWIG_AsInt(obj3
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16005 arg5
= (int) SWIG_AsInt(obj4
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 arg6
= (int) SWIG_AsInt(obj5
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 Py_INCREF(Py_None
); resultobj
= Py_None
;
16025 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16030 PyObject
* obj0
= 0 ;
16031 PyObject
* obj1
= 0 ;
16032 PyObject
* obj2
= 0 ;
16033 char *kwnames
[] = {
16034 (char *) "self",(char *) "width",(char *) "height", NULL
16037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16040 arg2
= (int) SWIG_AsInt(obj1
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16042 arg3
= (int) SWIG_AsInt(obj2
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 Py_INCREF(Py_None
); resultobj
= Py_None
;
16058 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16063 PyObject
* obj0
= 0 ;
16064 PyObject
* obj1
= 0 ;
16065 PyObject
* obj2
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self",(char *) "x",(char *) "y", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16073 arg2
= (int) SWIG_AsInt(obj1
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16075 arg3
= (int) SWIG_AsInt(obj2
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 Py_INCREF(Py_None
); resultobj
= Py_None
;
16091 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16094 int *arg2
= (int *) 0 ;
16095 int *arg3
= (int *) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 Py_INCREF(Py_None
); resultobj
= Py_None
;
16117 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16118 resultobj
= t_output_helper(resultobj
,o
);
16121 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16122 resultobj
= t_output_helper(resultobj
,o
);
16130 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16133 int *arg2
= (int *) 0 ;
16134 int *arg3
= (int *) 0 ;
16137 PyObject
* obj0
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self", NULL
16144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16154 Py_INCREF(Py_None
); resultobj
= Py_None
;
16156 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16157 resultobj
= t_output_helper(resultobj
,o
);
16160 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16161 resultobj
= t_output_helper(resultobj
,o
);
16169 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16172 int *arg2
= (int *) 0 ;
16173 int *arg3
= (int *) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16193 Py_INCREF(Py_None
); resultobj
= Py_None
;
16195 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16196 resultobj
= t_output_helper(resultobj
,o
);
16199 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16200 resultobj
= t_output_helper(resultobj
,o
);
16208 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16212 PyObject
* obj0
= 0 ;
16213 char *kwnames
[] = {
16214 (char *) "self", NULL
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16228 wxSize
* resultptr
;
16229 resultptr
= new wxSize((wxSize
&) result
);
16230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16238 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 wxSize
* resultptr
;
16259 resultptr
= new wxSize((wxSize
&) result
);
16260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16268 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
;
16270 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 (arg1
)->base_InitDialog();
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 Py_INCREF(Py_None
); resultobj
= Py_None
;
16293 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16297 PyObject
* obj0
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "self", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 result
= (bool)(arg1
)->base_TransferDataToWindow();
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16321 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
;
16323 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16325 PyObject
* obj0
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16349 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (bool)(arg1
)->base_Validate();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16377 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16381 PyObject
* obj0
= 0 ;
16382 char *kwnames
[] = {
16383 (char *) "self", NULL
16386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16405 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 char *kwnames
[] = {
16411 (char *) "self", NULL
16414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16433 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16453 wxSize
* resultptr
;
16454 resultptr
= new wxSize((wxSize
&) result
);
16455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16463 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16466 wxWindow
*arg2
= (wxWindow
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 PyObject
* obj1
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self",(char *) "child", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 (arg1
)->base_AddChild(arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 Py_INCREF(Py_None
); resultobj
= Py_None
;
16492 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16495 wxWindow
*arg2
= (wxWindow
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self",(char *) "child", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 (arg1
)->base_RemoveChild(arg2
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 Py_INCREF(Py_None
); resultobj
= Py_None
;
16521 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16525 PyObject
* obj0
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (bool)(arg1
)->base_ShouldInheritColours();
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16549 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16552 wxColour
*arg2
= 0 ;
16554 PyObject
* obj0
= 0 ;
16555 PyObject
* obj1
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self",(char *) "c", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16565 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 Py_INCREF(Py_None
); resultobj
= Py_None
;
16581 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16584 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16586 return Py_BuildValue((char *)"");
16588 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxWindow
*arg1
= (wxWindow
*) 0 ;
16592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16596 long arg5
= (long) 0 ;
16597 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16599 wxPyScrolledWindow
*result
;
16602 bool temp6
= False
;
16603 PyObject
* obj0
= 0 ;
16604 PyObject
* obj1
= 0 ;
16605 PyObject
* obj2
= 0 ;
16606 PyObject
* obj3
= 0 ;
16607 PyObject
* obj4
= 0 ;
16608 PyObject
* obj5
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 arg2
= (int const) SWIG_AsInt(obj1
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16621 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16627 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16631 arg5
= (long) SWIG_AsLong(obj4
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16636 arg6
= wxString_in_helper(obj5
);
16637 if (arg6
== NULL
) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16663 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16664 PyObject
*resultobj
;
16665 wxPyScrolledWindow
*result
;
16666 char *kwnames
[] = {
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16685 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16687 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16688 PyObject
*arg2
= (PyObject
*) 0 ;
16689 PyObject
*arg3
= (PyObject
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 PyObject
* obj1
= 0 ;
16692 PyObject
* obj2
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self",(char *) "self",(char *) "_class", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 Py_INCREF(Py_None
); resultobj
= Py_None
;
16716 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 PyObject
* obj1
= 0 ;
16725 PyObject
* obj2
= 0 ;
16726 PyObject
* obj3
= 0 ;
16727 PyObject
* obj4
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16735 arg2
= (int) SWIG_AsInt(obj1
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16737 arg3
= (int) SWIG_AsInt(obj2
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16739 arg4
= (int) SWIG_AsInt(obj3
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16741 arg5
= (int) SWIG_AsInt(obj4
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 Py_INCREF(Py_None
); resultobj
= Py_None
;
16757 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16764 int arg6
= (int) wxSIZE_AUTO
;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 PyObject
* obj2
= 0 ;
16768 PyObject
* obj3
= 0 ;
16769 PyObject
* obj4
= 0 ;
16770 PyObject
* obj5
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16778 arg2
= (int) SWIG_AsInt(obj1
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16780 arg3
= (int) SWIG_AsInt(obj2
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16782 arg4
= (int) SWIG_AsInt(obj3
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16784 arg5
= (int) SWIG_AsInt(obj4
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 arg6
= (int) SWIG_AsInt(obj5
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 Py_INCREF(Py_None
); resultobj
= Py_None
;
16804 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16809 PyObject
* obj0
= 0 ;
16810 PyObject
* obj1
= 0 ;
16811 PyObject
* obj2
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self",(char *) "width",(char *) "height", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16819 arg2
= (int) SWIG_AsInt(obj1
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16821 arg3
= (int) SWIG_AsInt(obj2
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 Py_INCREF(Py_None
); resultobj
= Py_None
;
16837 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 PyObject
* obj2
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self",(char *) "x",(char *) "y", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16852 arg2
= (int) SWIG_AsInt(obj1
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16854 arg3
= (int) SWIG_AsInt(obj2
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 Py_INCREF(Py_None
); resultobj
= Py_None
;
16870 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16873 int *arg2
= (int *) 0 ;
16874 int *arg3
= (int *) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 Py_INCREF(Py_None
); resultobj
= Py_None
;
16896 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16897 resultobj
= t_output_helper(resultobj
,o
);
16900 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16901 resultobj
= t_output_helper(resultobj
,o
);
16909 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16912 int *arg2
= (int *) 0 ;
16913 int *arg3
= (int *) 0 ;
16916 PyObject
* obj0
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 Py_INCREF(Py_None
); resultobj
= Py_None
;
16935 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16936 resultobj
= t_output_helper(resultobj
,o
);
16939 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16940 resultobj
= t_output_helper(resultobj
,o
);
16948 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16951 int *arg2
= (int *) 0 ;
16952 int *arg3
= (int *) 0 ;
16955 PyObject
* obj0
= 0 ;
16956 char *kwnames
[] = {
16957 (char *) "self", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 Py_INCREF(Py_None
); resultobj
= Py_None
;
16974 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16975 resultobj
= t_output_helper(resultobj
,o
);
16978 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16979 resultobj
= t_output_helper(resultobj
,o
);
16987 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
;
16989 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16991 PyObject
* obj0
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17007 wxSize
* resultptr
;
17008 resultptr
= new wxSize((wxSize
&) result
);
17009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17017 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17021 PyObject
* obj0
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17037 wxSize
* resultptr
;
17038 resultptr
= new wxSize((wxSize
&) result
);
17039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17047 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17050 PyObject
* obj0
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 (arg1
)->base_InitDialog();
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17065 Py_INCREF(Py_None
); resultobj
= Py_None
;
17072 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
;
17074 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17076 PyObject
* obj0
= 0 ;
17077 char *kwnames
[] = {
17078 (char *) "self", NULL
17081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 result
= (bool)(arg1
)->base_TransferDataToWindow();
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17100 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17128 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 result
= (bool)(arg1
)->base_Validate();
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17156 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17160 PyObject
* obj0
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "self", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17184 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
;
17186 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17188 PyObject
* obj0
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17212 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17216 PyObject
* obj0
= 0 ;
17217 char *kwnames
[] = {
17218 (char *) "self", NULL
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17232 wxSize
* resultptr
;
17233 resultptr
= new wxSize((wxSize
&) result
);
17234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17242 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17245 wxWindow
*arg2
= (wxWindow
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 PyObject
* obj1
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self",(char *) "child", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 (arg1
)->base_AddChild(arg2
);
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 Py_INCREF(Py_None
); resultobj
= Py_None
;
17271 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17274 wxWindow
*arg2
= (wxWindow
*) 0 ;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self",(char *) "child", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 (arg1
)->base_RemoveChild(arg2
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 Py_INCREF(Py_None
); resultobj
= Py_None
;
17300 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
;
17302 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17304 PyObject
* obj0
= 0 ;
17305 char *kwnames
[] = {
17306 (char *) "self", NULL
17309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 result
= (bool)(arg1
)->base_ShouldInheritColours();
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17328 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17331 wxColour
*arg2
= 0 ;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 char *kwnames
[] = {
17336 (char *) "self",(char *) "c", NULL
17339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17344 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17353 Py_INCREF(Py_None
); resultobj
= Py_None
;
17360 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17363 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17365 return Py_BuildValue((char *)"");
17367 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17368 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17373 static PyObject
*_wrap_PrintoutTitleStr_get() {
17378 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17380 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17387 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17388 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17393 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17398 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17400 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17407 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
;
17409 wxPrintData
*result
;
17410 char *kwnames
[] = {
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 result
= (wxPrintData
*)new wxPrintData();
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17429 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 char *kwnames
[] = {
17434 (char *) "self", NULL
17437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 Py_INCREF(Py_None
); resultobj
= Py_None
;
17454 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 char *kwnames
[] = {
17460 (char *) "self", NULL
17463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (int)(arg1
)->GetNoCopies();
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_FromInt((int)result
);
17480 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 result
= (bool)(arg1
)->GetCollate();
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17508 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17512 PyObject
* obj0
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 result
= (int)(arg1
)->GetOrientation();
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= SWIG_FromInt((int)result
);
17534 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17538 PyObject
* obj0
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (bool)(arg1
)->Ok();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17562 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17578 result
= (wxString
*) &_result_ref
;
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17588 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17597 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (bool)(arg1
)->GetColour();
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17625 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17629 PyObject
* obj0
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 result
= (int)(arg1
)->GetDuplex();
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 resultobj
= SWIG_FromInt((int)result
);
17651 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17655 PyObject
* obj0
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "self", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= (int)(arg1
)->GetPaperId();
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= SWIG_FromInt((int)result
);
17677 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17681 PyObject
* obj0
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17693 result
= (wxSize
*) &_result_ref
;
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17706 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17710 PyObject
* obj0
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (int)(arg1
)->GetQuality();
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= SWIG_FromInt((int)result
);
17732 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17736 PyObject
* obj0
= 0 ;
17737 PyObject
* obj1
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self",(char *) "v", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17745 arg2
= (int) SWIG_AsInt(obj1
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 (arg1
)->SetNoCopies(arg2
);
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 Py_INCREF(Py_None
); resultobj
= Py_None
;
17761 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17765 PyObject
* obj0
= 0 ;
17766 PyObject
* obj1
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self",(char *) "flag", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17774 arg2
= (bool) SWIG_AsBool(obj1
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 (arg1
)->SetCollate(arg2
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 Py_INCREF(Py_None
); resultobj
= Py_None
;
17790 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self",(char *) "orient", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17803 arg2
= (int) SWIG_AsInt(obj1
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 (arg1
)->SetOrientation(arg2
);
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 Py_INCREF(Py_None
); resultobj
= Py_None
;
17819 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17822 wxString
*arg2
= 0 ;
17823 bool temp2
= False
;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "name", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17834 arg2
= wxString_in_helper(obj1
);
17835 if (arg2
== NULL
) SWIG_fail
;
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17845 Py_INCREF(Py_None
); resultobj
= Py_None
;
17860 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
;
17862 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17864 PyObject
* obj0
= 0 ;
17865 PyObject
* obj1
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "self",(char *) "colour", NULL
17870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17873 arg2
= (bool) SWIG_AsBool(obj1
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 (arg1
)->SetColour(arg2
);
17879 wxPyEndAllowThreads(__tstate
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17882 Py_INCREF(Py_None
); resultobj
= Py_None
;
17889 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17890 PyObject
*resultobj
;
17891 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self",(char *) "duplex", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
17900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17902 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 Py_INCREF(Py_None
); resultobj
= Py_None
;
17918 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17922 PyObject
* obj0
= 0 ;
17923 PyObject
* obj1
= 0 ;
17924 char *kwnames
[] = {
17925 (char *) "self",(char *) "sizeId", NULL
17928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17931 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 Py_INCREF(Py_None
); resultobj
= Py_None
;
17947 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "sz", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17963 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 Py_INCREF(Py_None
); resultobj
= Py_None
;
17979 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17983 PyObject
* obj0
= 0 ;
17984 PyObject
* obj1
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self",(char *) "quality", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17992 arg2
= (int) SWIG_AsInt(obj1
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17996 (arg1
)->SetQuality(arg2
);
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 Py_INCREF(Py_None
); resultobj
= Py_None
;
18008 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18012 PyObject
* obj0
= 0 ;
18013 char *kwnames
[] = {
18014 (char *) "self", NULL
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18024 result
= (wxString
*) &_result_ref
;
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18034 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18043 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18047 PyObject
* obj0
= 0 ;
18048 char *kwnames
[] = {
18049 (char *) "self", NULL
18052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18059 result
= (wxString
*) &_result_ref
;
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18067 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18069 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18078 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18094 result
= (wxString
*) &_result_ref
;
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18104 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18113 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18117 PyObject
* obj0
= 0 ;
18118 char *kwnames
[] = {
18119 (char *) "self", NULL
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 wxString
const &_result_ref
= (arg1
)->GetFilename();
18129 result
= (wxString
*) &_result_ref
;
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18139 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18148 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18152 PyObject
* obj0
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18164 result
= (wxString
*) &_result_ref
;
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18172 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18174 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18183 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18187 PyObject
* obj0
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (double)(arg1
)->GetPrinterScaleX();
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_FromDouble((double)result
);
18209 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 char *kwnames
[] = {
18215 (char *) "self", NULL
18218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 result
= (double)(arg1
)->GetPrinterScaleY();
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18228 resultobj
= SWIG_FromDouble((double)result
);
18235 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (long)(arg1
)->GetPrinterTranslateX();
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_FromLong((long)result
);
18261 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 result
= (long)(arg1
)->GetPrinterTranslateY();
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 resultobj
= SWIG_FromLong((long)result
);
18287 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18291 PyObject
* obj0
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (int)(arg1
)->GetPrintMode();
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_FromInt((int)result
);
18313 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
;
18315 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18316 wxString
*arg2
= 0 ;
18317 bool temp2
= False
;
18318 PyObject
* obj0
= 0 ;
18319 PyObject
* obj1
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self",(char *) "command", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18328 arg2
= wxString_in_helper(obj1
);
18329 if (arg2
== NULL
) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 Py_INCREF(Py_None
); resultobj
= Py_None
;
18354 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
;
18356 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18357 wxString
*arg2
= 0 ;
18358 bool temp2
= False
;
18359 PyObject
* obj0
= 0 ;
18360 PyObject
* obj1
= 0 ;
18361 char *kwnames
[] = {
18362 (char *) "self",(char *) "options", NULL
18365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18369 arg2
= wxString_in_helper(obj1
);
18370 if (arg2
== NULL
) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 Py_INCREF(Py_None
); resultobj
= Py_None
;
18395 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18398 wxString
*arg2
= 0 ;
18399 bool temp2
= False
;
18400 PyObject
* obj0
= 0 ;
18401 PyObject
* obj1
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self",(char *) "command", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18410 arg2
= wxString_in_helper(obj1
);
18411 if (arg2
== NULL
) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 Py_INCREF(Py_None
); resultobj
= Py_None
;
18436 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18439 wxString
*arg2
= 0 ;
18440 bool temp2
= False
;
18441 PyObject
* obj0
= 0 ;
18442 PyObject
* obj1
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self",(char *) "filename", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18451 arg2
= wxString_in_helper(obj1
);
18452 if (arg2
== NULL
) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 (arg1
)->SetFilename((wxString
const &)*arg2
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 Py_INCREF(Py_None
); resultobj
= Py_None
;
18477 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
;
18479 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18480 wxString
*arg2
= 0 ;
18481 bool temp2
= False
;
18482 PyObject
* obj0
= 0 ;
18483 PyObject
* obj1
= 0 ;
18484 char *kwnames
[] = {
18485 (char *) "self",(char *) "path", NULL
18488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18492 arg2
= wxString_in_helper(obj1
);
18493 if (arg2
== NULL
) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 Py_INCREF(Py_None
); resultobj
= Py_None
;
18518 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 PyObject
* obj1
= 0 ;
18524 char *kwnames
[] = {
18525 (char *) "self",(char *) "x", NULL
18528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 arg2
= (double) SWIG_AsDouble(obj1
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 (arg1
)->SetPrinterScaleX(arg2
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 Py_INCREF(Py_None
); resultobj
= Py_None
;
18547 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 char *kwnames
[] = {
18554 (char *) "self",(char *) "y", NULL
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18560 arg2
= (double) SWIG_AsDouble(obj1
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 (arg1
)->SetPrinterScaleY(arg2
);
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18569 Py_INCREF(Py_None
); resultobj
= Py_None
;
18576 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 PyObject
* obj1
= 0 ;
18583 PyObject
* obj2
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self",(char *) "x",(char *) "y", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18591 arg2
= (double) SWIG_AsDouble(obj1
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18593 arg3
= (double) SWIG_AsDouble(obj2
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 Py_INCREF(Py_None
); resultobj
= Py_None
;
18609 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self",(char *) "x", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18622 arg2
= (long) SWIG_AsLong(obj1
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18626 (arg1
)->SetPrinterTranslateX(arg2
);
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 Py_INCREF(Py_None
); resultobj
= Py_None
;
18638 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 PyObject
* obj1
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self",(char *) "y", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18651 arg2
= (long) SWIG_AsLong(obj1
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 (arg1
)->SetPrinterTranslateY(arg2
);
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 Py_INCREF(Py_None
); resultobj
= Py_None
;
18667 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18672 PyObject
* obj0
= 0 ;
18673 PyObject
* obj1
= 0 ;
18674 PyObject
* obj2
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self",(char *) "x",(char *) "y", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18682 arg2
= (long) SWIG_AsLong(obj1
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18684 arg3
= (long) SWIG_AsLong(obj2
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 Py_INCREF(Py_None
); resultobj
= Py_None
;
18700 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18704 PyObject
* obj0
= 0 ;
18705 PyObject
* obj1
= 0 ;
18706 char *kwnames
[] = {
18707 (char *) "self",(char *) "printMode", NULL
18710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18713 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18722 Py_INCREF(Py_None
); resultobj
= Py_None
;
18729 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
;
18731 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18732 wxOutputStream
*result
;
18733 PyObject
* obj0
= 0 ;
18734 char *kwnames
[] = {
18735 (char *) "self", NULL
18738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18743 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18745 wxPyEndAllowThreads(__tstate
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18755 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18758 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18759 PyObject
* obj0
= 0 ;
18760 PyObject
* obj1
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "self",(char *) "outputstream", NULL
18765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 (arg1
)->SetOutputStream(arg2
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 Py_INCREF(Py_None
); resultobj
= Py_None
;
18784 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
18786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18787 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18789 return Py_BuildValue((char *)"");
18791 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxPageSetupDialogData
*result
;
18794 char *kwnames
[] = {
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18813 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18815 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 Py_INCREF(Py_None
); resultobj
= Py_None
;
18838 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18842 PyObject
* obj0
= 0 ;
18843 PyObject
* obj1
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self",(char *) "flag", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18851 arg2
= (bool) SWIG_AsBool(obj1
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 (arg1
)->EnableHelp(arg2
);
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 Py_INCREF(Py_None
); resultobj
= Py_None
;
18867 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 PyObject
* obj1
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self",(char *) "flag", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18880 arg2
= (bool) SWIG_AsBool(obj1
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 (arg1
)->EnableMargins(arg2
);
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 Py_INCREF(Py_None
); resultobj
= Py_None
;
18896 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 PyObject
* obj1
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "self",(char *) "flag", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18909 arg2
= (bool) SWIG_AsBool(obj1
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 (arg1
)->EnableOrientation(arg2
);
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 Py_INCREF(Py_None
); resultobj
= Py_None
;
18925 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18929 PyObject
* obj0
= 0 ;
18930 PyObject
* obj1
= 0 ;
18931 char *kwnames
[] = {
18932 (char *) "self",(char *) "flag", NULL
18935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18938 arg2
= (bool) SWIG_AsBool(obj1
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 (arg1
)->EnablePaper(arg2
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 Py_INCREF(Py_None
); resultobj
= Py_None
;
18954 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self",(char *) "flag", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
18965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18967 arg2
= (bool) SWIG_AsBool(obj1
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 (arg1
)->EnablePrinter(arg2
);
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 Py_INCREF(Py_None
); resultobj
= Py_None
;
18983 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (bool)(arg1
)->GetDefaultMinMargins();
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19011 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19013 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 result
= (bool)(arg1
)->GetEnableMargins();
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19039 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (bool)(arg1
)->GetEnableOrientation();
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19067 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
;
19069 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19071 PyObject
* obj0
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "self", NULL
19076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (bool)(arg1
)->GetEnablePaper();
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19095 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "self", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 result
= (bool)(arg1
)->GetEnablePrinter();
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19123 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19125 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19127 PyObject
* obj0
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "self", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 result
= (bool)(arg1
)->GetEnableHelp();
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19151 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (bool)(arg1
)->GetDefaultInfo();
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19179 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 result
= (arg1
)->GetMarginTopLeft();
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19199 wxPoint
* resultptr
;
19200 resultptr
= new wxPoint((wxPoint
&) result
);
19201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19209 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19211 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19213 PyObject
* obj0
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 result
= (arg1
)->GetMarginBottomRight();
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19229 wxPoint
* resultptr
;
19230 resultptr
= new wxPoint((wxPoint
&) result
);
19231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19239 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19243 PyObject
* obj0
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "self", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 result
= (arg1
)->GetMinMarginTopLeft();
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19259 wxPoint
* resultptr
;
19260 resultptr
= new wxPoint((wxPoint
&) result
);
19261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19269 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 result
= (arg1
)->GetMinMarginBottomRight();
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19289 wxPoint
* resultptr
;
19290 resultptr
= new wxPoint((wxPoint
&) result
);
19291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19299 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19303 PyObject
* obj0
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "self", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= (int)(arg1
)->GetPaperId();
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19318 resultobj
= SWIG_FromInt((int)result
);
19325 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19326 PyObject
*resultobj
;
19327 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19329 PyObject
* obj0
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (arg1
)->GetPaperSize();
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19345 wxSize
* resultptr
;
19346 resultptr
= new wxSize((wxSize
&) result
);
19347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19355 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19358 wxPrintData
*result
;
19359 PyObject
* obj0
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "self", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19371 result
= (wxPrintData
*) &_result_ref
;
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19384 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= (bool)(arg1
)->Ok();
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19412 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
;
19414 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 char *kwnames
[] = {
19419 (char *) "self",(char *) "flag", NULL
19422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19425 arg2
= (bool) SWIG_AsBool(obj1
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 (arg1
)->SetDefaultInfo(arg2
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 Py_INCREF(Py_None
); resultobj
= Py_None
;
19441 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
;
19443 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "self",(char *) "flag", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19454 arg2
= (bool) SWIG_AsBool(obj1
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 (arg1
)->SetDefaultMinMargins(arg2
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 Py_INCREF(Py_None
); resultobj
= Py_None
;
19470 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19473 wxPoint
*arg2
= 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "pt", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19486 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 Py_INCREF(Py_None
); resultobj
= Py_None
;
19502 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
;
19504 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19505 wxPoint
*arg2
= 0 ;
19507 PyObject
* obj0
= 0 ;
19508 PyObject
* obj1
= 0 ;
19509 char *kwnames
[] = {
19510 (char *) "self",(char *) "pt", NULL
19513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19518 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 Py_INCREF(Py_None
); resultobj
= Py_None
;
19534 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
;
19536 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19537 wxPoint
*arg2
= 0 ;
19539 PyObject
* obj0
= 0 ;
19540 PyObject
* obj1
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self",(char *) "pt", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 Py_INCREF(Py_None
); resultobj
= Py_None
;
19566 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19569 wxPoint
*arg2
= 0 ;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self",(char *) "pt", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19582 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 Py_INCREF(Py_None
); resultobj
= Py_None
;
19598 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
;
19600 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19602 PyObject
* obj0
= 0 ;
19603 PyObject
* obj1
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self",(char *) "id", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19611 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 Py_INCREF(Py_None
); resultobj
= Py_None
;
19627 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 char *kwnames
[] = {
19635 (char *) "self",(char *) "size", NULL
19638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19643 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19652 Py_INCREF(Py_None
); resultobj
= Py_None
;
19659 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
;
19661 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19662 wxPrintData
*arg2
= 0 ;
19663 PyObject
* obj0
= 0 ;
19664 PyObject
* obj1
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self",(char *) "printData", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19675 if (arg2
== NULL
) {
19676 PyErr_SetString(PyExc_TypeError
,"null reference");
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 Py_INCREF(Py_None
); resultobj
= Py_None
;
19693 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19696 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19698 return Py_BuildValue((char *)"");
19700 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxWindow
*arg1
= (wxWindow
*) 0 ;
19703 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19704 wxPageSetupDialog
*result
;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 char *kwnames
[] = {
19708 (char *) "parent",(char *) "data", NULL
19711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19732 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
;
19734 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19735 wxPageSetupDialogData
*result
;
19736 PyObject
* obj0
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "self", NULL
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19748 result
= (wxPageSetupDialogData
*) &_result_ref
;
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19761 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19765 PyObject
* obj0
= 0 ;
19766 char *kwnames
[] = {
19767 (char *) "self", NULL
19770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19775 result
= (int)(arg1
)->ShowModal();
19777 wxPyEndAllowThreads(__tstate
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19780 resultobj
= SWIG_FromInt((int)result
);
19787 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19790 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19792 return Py_BuildValue((char *)"");
19794 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19795 PyObject
*resultobj
;
19796 wxPrintDialogData
*result
;
19798 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19813 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19814 PyObject
*resultobj
;
19815 wxPrintData
*arg1
= 0 ;
19816 wxPrintDialogData
*result
;
19817 PyObject
* obj0
= 0 ;
19819 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19823 if (arg1
== NULL
) {
19824 PyErr_SetString(PyExc_TypeError
,"null reference");
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19841 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19846 argc
= PyObject_Length(args
);
19847 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19848 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19851 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19857 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
19865 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
19869 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
19874 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19877 PyObject
* obj0
= 0 ;
19878 char *kwnames
[] = {
19879 (char *) "self", NULL
19882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
19883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 Py_INCREF(Py_None
); resultobj
= Py_None
;
19899 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
;
19901 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19903 PyObject
* obj0
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self", NULL
19908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= SWIG_FromInt((int)result
);
19925 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19929 PyObject
* obj0
= 0 ;
19930 char *kwnames
[] = {
19931 (char *) "self", NULL
19934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= SWIG_FromInt((int)result
);
19951 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19955 PyObject
* obj0
= 0 ;
19956 char *kwnames
[] = {
19957 (char *) "self", NULL
19960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19970 resultobj
= SWIG_FromInt((int)result
);
19977 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
;
19979 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19981 PyObject
* obj0
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 resultobj
= SWIG_FromInt((int)result
);
20003 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
;
20005 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20007 PyObject
* obj0
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_FromInt((int)result
);
20029 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "self", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20043 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20057 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20058 PyObject
*resultobj
;
20059 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20061 PyObject
* obj0
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20085 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
;
20087 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20089 PyObject
* obj0
= 0 ;
20090 char *kwnames
[] = {
20091 (char *) "self", NULL
20094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20113 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
;
20115 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20117 PyObject
* obj0
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20129 wxPyEndAllowThreads(__tstate
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20141 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20145 PyObject
* obj0
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "self", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20169 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
;
20171 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20173 PyObject
* obj0
= 0 ;
20174 PyObject
* obj1
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self",(char *) "v", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20182 arg2
= (int) SWIG_AsInt(obj1
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 (arg1
)->SetFromPage(arg2
);
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 Py_INCREF(Py_None
); resultobj
= Py_None
;
20198 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 PyObject
* obj1
= 0 ;
20204 char *kwnames
[] = {
20205 (char *) "self",(char *) "v", NULL
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20211 arg2
= (int) SWIG_AsInt(obj1
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 (arg1
)->SetToPage(arg2
);
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20220 Py_INCREF(Py_None
); resultobj
= Py_None
;
20227 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
;
20229 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20231 PyObject
* obj0
= 0 ;
20232 PyObject
* obj1
= 0 ;
20233 char *kwnames
[] = {
20234 (char *) "self",(char *) "v", NULL
20237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20240 arg2
= (int) SWIG_AsInt(obj1
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 (arg1
)->SetMinPage(arg2
);
20246 wxPyEndAllowThreads(__tstate
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20249 Py_INCREF(Py_None
); resultobj
= Py_None
;
20256 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20260 PyObject
* obj0
= 0 ;
20261 PyObject
* obj1
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self",(char *) "v", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20269 arg2
= (int) SWIG_AsInt(obj1
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 (arg1
)->SetMaxPage(arg2
);
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20278 Py_INCREF(Py_None
); resultobj
= Py_None
;
20285 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20286 PyObject
*resultobj
;
20287 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20289 PyObject
* obj0
= 0 ;
20290 PyObject
* obj1
= 0 ;
20291 char *kwnames
[] = {
20292 (char *) "self",(char *) "v", NULL
20295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20298 arg2
= (int) SWIG_AsInt(obj1
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 (arg1
)->SetNoCopies(arg2
);
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 Py_INCREF(Py_None
); resultobj
= Py_None
;
20314 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20318 PyObject
* obj0
= 0 ;
20319 PyObject
* obj1
= 0 ;
20320 char *kwnames
[] = {
20321 (char *) "self",(char *) "flag", NULL
20324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20327 arg2
= (bool) SWIG_AsBool(obj1
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 (arg1
)->SetAllPages(arg2
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 Py_INCREF(Py_None
); resultobj
= Py_None
;
20343 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
;
20345 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 char *kwnames
[] = {
20350 (char *) "self",(char *) "flag", NULL
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20356 arg2
= (bool) SWIG_AsBool(obj1
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 (arg1
)->SetSelection(arg2
);
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 Py_INCREF(Py_None
); resultobj
= Py_None
;
20372 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 PyObject
* obj1
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self",(char *) "flag", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 arg2
= (bool) SWIG_AsBool(obj1
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 (arg1
)->SetCollate(arg2
);
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 Py_INCREF(Py_None
); resultobj
= Py_None
;
20401 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self",(char *) "flag", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20414 arg2
= (bool) SWIG_AsBool(obj1
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 (arg1
)->SetPrintToFile(arg2
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 Py_INCREF(Py_None
); resultobj
= Py_None
;
20430 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20431 PyObject
*resultobj
;
20432 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20434 PyObject
* obj0
= 0 ;
20435 PyObject
* obj1
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self",(char *) "flag", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20443 arg2
= (bool) SWIG_AsBool(obj1
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 (arg1
)->SetSetupDialog(arg2
);
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 Py_INCREF(Py_None
); resultobj
= Py_None
;
20459 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20463 PyObject
* obj0
= 0 ;
20464 PyObject
* obj1
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self",(char *) "flag", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20472 arg2
= (bool) SWIG_AsBool(obj1
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 (arg1
)->EnablePrintToFile(arg2
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 Py_INCREF(Py_None
); resultobj
= Py_None
;
20488 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self",(char *) "flag", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20501 arg2
= (bool) SWIG_AsBool(obj1
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 (arg1
)->EnableSelection(arg2
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 Py_INCREF(Py_None
); resultobj
= Py_None
;
20517 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 PyObject
* obj1
= 0 ;
20523 char *kwnames
[] = {
20524 (char *) "self",(char *) "flag", NULL
20527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20530 arg2
= (bool) SWIG_AsBool(obj1
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 (arg1
)->EnablePageNumbers(arg2
);
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 Py_INCREF(Py_None
); resultobj
= Py_None
;
20546 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 PyObject
* obj1
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self",(char *) "flag", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20559 arg2
= (bool) SWIG_AsBool(obj1
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 (arg1
)->EnableHelp(arg2
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 Py_INCREF(Py_None
); resultobj
= Py_None
;
20575 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20603 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20631 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
;
20633 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20635 PyObject
* obj0
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20659 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
;
20661 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20663 PyObject
* obj0
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20687 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20715 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20718 wxPrintData
*result
;
20719 PyObject
* obj0
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20731 result
= (wxPrintData
*) &_result_ref
;
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20744 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20747 wxPrintData
*arg2
= 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self",(char *) "printData", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20760 if (arg2
== NULL
) {
20761 PyErr_SetString(PyExc_TypeError
,"null reference");
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 Py_INCREF(Py_None
); resultobj
= Py_None
;
20778 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20781 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20783 return Py_BuildValue((char *)"");
20785 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
;
20787 wxWindow
*arg1
= (wxWindow
*) 0 ;
20788 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20789 wxPrintDialog
*result
;
20790 PyObject
* obj0
= 0 ;
20791 PyObject
* obj1
= 0 ;
20792 char *kwnames
[] = {
20793 (char *) "parent",(char *) "data", NULL
20796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20817 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20818 PyObject
*resultobj
;
20819 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20820 wxPrintDialogData
*result
;
20821 PyObject
* obj0
= 0 ;
20822 char *kwnames
[] = {
20823 (char *) "self", NULL
20826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20833 result
= (wxPrintDialogData
*) &_result_ref
;
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20846 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= (wxDC
*)(arg1
)->GetPrintDC();
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20866 resultobj
= wxPyMake_wxObject(result
);
20874 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20878 PyObject
* obj0
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 result
= (int)(arg1
)->ShowModal();
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_FromInt((int)result
);
20900 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20903 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
20905 return Py_BuildValue((char *)"");
20907 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20911 PyObject
* obj0
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "data", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (wxPrinter
*)new wxPrinter(arg1
);
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20935 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
;
20937 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20938 PyObject
* obj0
= 0 ;
20939 char *kwnames
[] = {
20940 (char *) "self", NULL
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 Py_INCREF(Py_None
); resultobj
= Py_None
;
20960 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20962 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20963 wxWindow
*arg2
= (wxWindow
*) 0 ;
20964 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20965 PyObject
* obj0
= 0 ;
20966 PyObject
* obj1
= 0 ;
20967 PyObject
* obj2
= 0 ;
20968 char *kwnames
[] = {
20969 (char *) "self",(char *) "parent",(char *) "printout", NULL
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20977 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20981 (arg1
)->CreateAbortWindow(arg2
,arg3
);
20983 wxPyEndAllowThreads(__tstate
);
20984 if (PyErr_Occurred()) SWIG_fail
;
20986 Py_INCREF(Py_None
); resultobj
= Py_None
;
20993 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
;
20995 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20996 wxPrintDialogData
*result
;
20997 PyObject
* obj0
= 0 ;
20998 char *kwnames
[] = {
20999 (char *) "self", NULL
21002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21009 result
= (wxPrintDialogData
*) &_result_ref
;
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21022 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21025 wxWindow
*arg2
= (wxWindow
*) 0 ;
21026 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21027 int arg4
= (int) True
;
21029 PyObject
* obj0
= 0 ;
21030 PyObject
* obj1
= 0 ;
21031 PyObject
* obj2
= 0 ;
21032 PyObject
* obj3
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21042 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21045 arg4
= (int) SWIG_AsInt(obj3
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21064 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21067 wxWindow
*arg2
= (wxWindow
*) 0 ;
21069 PyObject
* obj0
= 0 ;
21070 PyObject
* obj1
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self",(char *) "parent", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21088 resultobj
= wxPyMake_wxObject(result
);
21096 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21099 wxWindow
*arg2
= (wxWindow
*) 0 ;
21100 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21101 wxString
*arg4
= 0 ;
21102 bool temp4
= False
;
21103 PyObject
* obj0
= 0 ;
21104 PyObject
* obj1
= 0 ;
21105 PyObject
* obj2
= 0 ;
21106 PyObject
* obj3
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21116 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21119 arg4
= wxString_in_helper(obj3
);
21120 if (arg4
== NULL
) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 Py_INCREF(Py_None
); resultobj
= Py_None
;
21145 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21148 wxWindow
*arg2
= (wxWindow
*) 0 ;
21150 PyObject
* obj0
= 0 ;
21151 PyObject
* obj1
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self",(char *) "parent", NULL
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 result
= (bool)(arg1
)->Setup(arg2
);
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21177 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21178 PyObject
*resultobj
;
21179 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21181 PyObject
* obj0
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 result
= (bool)(arg1
)->GetAbort();
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21205 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
;
21208 char *kwnames
[] = {
21212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 result
= (int)wxPrinter::GetLastError();
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= SWIG_FromInt((int)result
);
21227 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21230 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21232 return Py_BuildValue((char *)"");
21234 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21237 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21238 wxPyPrintout
*result
;
21239 bool temp1
= False
;
21240 PyObject
* obj0
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "title", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21248 arg1
= wxString_in_helper(obj0
);
21249 if (arg1
== NULL
) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= wxPyMake_wxObject(result
);
21277 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21280 PyObject
*arg2
= (PyObject
*) 0 ;
21281 PyObject
*arg3
= (PyObject
*) 0 ;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 PyObject
* obj2
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self",(char *) "self",(char *) "_class", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 Py_INCREF(Py_None
); resultobj
= Py_None
;
21308 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21340 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (wxDC
*)(arg1
)->GetDC();
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= wxPyMake_wxObject(result
);
21368 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21371 wxDC
*arg2
= (wxDC
*) 0 ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "self",(char *) "dc", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 (arg1
)->SetDC(arg2
);
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 Py_INCREF(Py_None
); resultobj
= Py_None
;
21397 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
;
21399 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 PyObject
* obj2
= 0 ;
21405 char *kwnames
[] = {
21406 (char *) "self",(char *) "w",(char *) "h", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21412 arg2
= (int) SWIG_AsInt(obj1
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21414 arg3
= (int) SWIG_AsInt(obj2
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 Py_INCREF(Py_None
); resultobj
= Py_None
;
21430 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21433 int *arg2
= (int *) 0 ;
21434 int *arg3
= (int *) 0 ;
21437 PyObject
* obj0
= 0 ;
21438 char *kwnames
[] = {
21439 (char *) "self", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 Py_INCREF(Py_None
); resultobj
= Py_None
;
21456 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21457 resultobj
= t_output_helper(resultobj
,o
);
21460 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21461 resultobj
= t_output_helper(resultobj
,o
);
21469 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj1
= 0 ;
21476 PyObject
* obj2
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self",(char *) "w",(char *) "h", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21484 arg2
= (int) SWIG_AsInt(obj1
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21486 arg3
= (int) SWIG_AsInt(obj2
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 Py_INCREF(Py_None
); resultobj
= Py_None
;
21502 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21505 int *arg2
= (int *) 0 ;
21506 int *arg3
= (int *) 0 ;
21509 PyObject
* obj0
= 0 ;
21510 char *kwnames
[] = {
21511 (char *) "self", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 Py_INCREF(Py_None
); resultobj
= Py_None
;
21528 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21529 resultobj
= t_output_helper(resultobj
,o
);
21532 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21533 resultobj
= t_output_helper(resultobj
,o
);
21541 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
;
21543 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 PyObject
* obj2
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "x",(char *) "y", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 arg2
= (int) SWIG_AsInt(obj1
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21558 arg3
= (int) SWIG_AsInt(obj2
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 (arg1
)->SetPPIScreen(arg2
,arg3
);
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 Py_INCREF(Py_None
); resultobj
= Py_None
;
21574 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21577 int *arg2
= (int *) 0 ;
21578 int *arg3
= (int *) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "self", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 (arg1
)->GetPPIScreen(arg2
,arg3
);
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21598 Py_INCREF(Py_None
); resultobj
= Py_None
;
21600 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21601 resultobj
= t_output_helper(resultobj
,o
);
21604 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21605 resultobj
= t_output_helper(resultobj
,o
);
21613 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21618 PyObject
* obj0
= 0 ;
21619 PyObject
* obj1
= 0 ;
21620 PyObject
* obj2
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self",(char *) "x",(char *) "y", NULL
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21628 arg2
= (int) SWIG_AsInt(obj1
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21630 arg3
= (int) SWIG_AsInt(obj2
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 Py_INCREF(Py_None
); resultobj
= Py_None
;
21646 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21649 int *arg2
= (int *) 0 ;
21650 int *arg3
= (int *) 0 ;
21653 PyObject
* obj0
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 Py_INCREF(Py_None
); resultobj
= Py_None
;
21672 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21673 resultobj
= t_output_helper(resultobj
,o
);
21676 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21677 resultobj
= t_output_helper(resultobj
,o
);
21685 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21689 PyObject
* obj0
= 0 ;
21690 char *kwnames
[] = {
21691 (char *) "self", NULL
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 result
= (bool)(arg1
)->IsPreview();
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21713 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21717 PyObject
* obj0
= 0 ;
21718 PyObject
* obj1
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "self",(char *) "p", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21726 arg2
= (bool) SWIG_AsBool(obj1
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 (arg1
)->SetIsPreview(arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 Py_INCREF(Py_None
); resultobj
= Py_None
;
21742 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
;
21744 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 PyObject
* obj2
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21758 arg2
= (int) SWIG_AsInt(obj1
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21760 arg3
= (int) SWIG_AsInt(obj2
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21778 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "self", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 (arg1
)->base_OnEndDocument();
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 Py_INCREF(Py_None
); resultobj
= Py_None
;
21803 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 (arg1
)->base_OnBeginPrinting();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 Py_INCREF(Py_None
); resultobj
= Py_None
;
21828 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21831 PyObject
* obj0
= 0 ;
21832 char *kwnames
[] = {
21833 (char *) "self", NULL
21836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 (arg1
)->base_OnEndPrinting();
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 Py_INCREF(Py_None
); resultobj
= Py_None
;
21853 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21856 PyObject
* obj0
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "self", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
21862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 (arg1
)->base_OnPreparePrinting();
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 Py_INCREF(Py_None
); resultobj
= Py_None
;
21878 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
;
21880 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self",(char *) "page", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21892 arg2
= (int) SWIG_AsInt(obj1
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 result
= (bool)(arg1
)->base_HasPage(arg2
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21910 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21913 int *arg2
= (int *) 0 ;
21914 int *arg3
= (int *) 0 ;
21915 int *arg4
= (int *) 0 ;
21916 int *arg5
= (int *) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self", NULL
21930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21940 Py_INCREF(Py_None
); resultobj
= Py_None
;
21942 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21943 resultobj
= t_output_helper(resultobj
,o
);
21946 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21947 resultobj
= t_output_helper(resultobj
,o
);
21950 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21951 resultobj
= t_output_helper(resultobj
,o
);
21954 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21955 resultobj
= t_output_helper(resultobj
,o
);
21963 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
21965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21966 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
21968 return Py_BuildValue((char *)"");
21970 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
;
21972 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21973 wxWindow
*arg2
= (wxWindow
*) 0 ;
21974 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21975 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21976 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21977 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21978 long arg5
= (long) 0 ;
21979 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
21980 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21981 wxPreviewCanvas
*result
;
21984 bool temp6
= False
;
21985 PyObject
* obj0
= 0 ;
21986 PyObject
* obj1
= 0 ;
21987 PyObject
* obj2
= 0 ;
21988 PyObject
* obj3
= 0 ;
21989 PyObject
* obj4
= 0 ;
21990 PyObject
* obj5
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22003 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22009 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22013 arg5
= (long) SWIG_AsLong(obj4
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22018 arg6
= wxString_in_helper(obj5
);
22019 if (arg6
== NULL
) SWIG_fail
;
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22045 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22048 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22050 return Py_BuildValue((char *)"");
22052 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22055 wxFrame
*arg2
= (wxFrame
*) 0 ;
22056 wxString
*arg3
= 0 ;
22057 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22058 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22059 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22060 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22061 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22062 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22063 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22064 wxPreviewFrame
*result
;
22065 bool temp3
= False
;
22068 bool temp7
= False
;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 PyObject
* obj2
= 0 ;
22072 PyObject
* obj3
= 0 ;
22073 PyObject
* obj4
= 0 ;
22074 PyObject
* obj5
= 0 ;
22075 PyObject
* obj6
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22086 arg3
= wxString_in_helper(obj2
);
22087 if (arg3
== NULL
) SWIG_fail
;
22093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22099 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22103 arg6
= (long) SWIG_AsLong(obj5
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22108 arg7
= wxString_in_helper(obj6
);
22109 if (arg7
== NULL
) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22143 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22146 PyObject
* obj0
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 (arg1
)->Initialize();
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 Py_INCREF(Py_None
); resultobj
= Py_None
;
22168 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
;
22170 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22171 PyObject
* obj0
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 (arg1
)->CreateControlBar();
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 Py_INCREF(Py_None
); resultobj
= Py_None
;
22193 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22195 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22196 PyObject
* obj0
= 0 ;
22197 char *kwnames
[] = {
22198 (char *) "self", NULL
22201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 (arg1
)->CreateCanvas();
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 Py_INCREF(Py_None
); resultobj
= Py_None
;
22218 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22221 wxPreviewControlBar
*result
;
22222 PyObject
* obj0
= 0 ;
22223 char *kwnames
[] = {
22224 (char *) "self", NULL
22227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22244 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22247 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22249 return Py_BuildValue((char *)"");
22251 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22255 wxWindow
*arg3
= (wxWindow
*) 0 ;
22256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22260 long arg6
= (long) wxTAB_TRAVERSAL
;
22261 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22263 wxPreviewControlBar
*result
;
22266 bool temp7
= False
;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 PyObject
* obj2
= 0 ;
22270 PyObject
* obj3
= 0 ;
22271 PyObject
* obj4
= 0 ;
22272 PyObject
* obj5
= 0 ;
22273 PyObject
* obj6
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22281 arg2
= (long) SWIG_AsLong(obj1
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22283 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22298 arg6
= (long) SWIG_AsLong(obj5
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22303 arg7
= wxString_in_helper(obj6
);
22304 if (arg7
== NULL
) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22330 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
;
22332 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22334 PyObject
* obj0
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 result
= (int)(arg1
)->GetZoomControl();
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= SWIG_FromInt((int)result
);
22356 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22360 PyObject
* obj0
= 0 ;
22361 PyObject
* obj1
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self",(char *) "zoom", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22369 arg2
= (int) SWIG_AsInt(obj1
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->SetZoomControl(arg2
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 Py_INCREF(Py_None
); resultobj
= Py_None
;
22385 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22388 wxPrintPreview
*result
;
22389 PyObject
* obj0
= 0 ;
22390 char *kwnames
[] = {
22391 (char *) "self", NULL
22394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22411 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22412 PyObject
*resultobj
;
22413 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22414 PyObject
* obj0
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "self", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 Py_INCREF(Py_None
); resultobj
= Py_None
;
22436 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 (arg1
)->OnPrevious();
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 Py_INCREF(Py_None
); resultobj
= Py_None
;
22461 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 Py_INCREF(Py_None
); resultobj
= Py_None
;
22486 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22489 PyObject
* obj0
= 0 ;
22490 char *kwnames
[] = {
22491 (char *) "self", NULL
22494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 Py_INCREF(Py_None
); resultobj
= Py_None
;
22511 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22514 PyObject
* obj0
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 Py_INCREF(Py_None
); resultobj
= Py_None
;
22536 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22539 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22541 return Py_BuildValue((char *)"");
22543 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22544 PyObject
*resultobj
;
22545 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22546 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22547 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22548 wxPrintPreview
*result
;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 PyObject
* obj2
= 0 ;
22553 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22559 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22576 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22577 PyObject
*resultobj
;
22578 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22579 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22580 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22581 wxPrintPreview
*result
;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 PyObject
* obj2
= 0 ;
22586 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22607 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22612 argc
= PyObject_Length(args
);
22613 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22614 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22616 if ((argc
>= 2) && (argc
<= 3)) {
22620 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22630 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22639 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22643 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22651 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22660 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22670 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22680 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22688 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22694 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22699 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self",(char *) "pageNum", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22713 arg2
= (int) SWIG_AsInt(obj1
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22731 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22735 PyObject
* obj0
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "self", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 result
= (int)(arg1
)->GetCurrentPage();
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= SWIG_FromInt((int)result
);
22757 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22760 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self",(char *) "printout", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 (arg1
)->SetPrintout(arg2
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 Py_INCREF(Py_None
); resultobj
= Py_None
;
22786 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
;
22788 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22789 wxPyPrintout
*result
;
22790 PyObject
* obj0
= 0 ;
22791 char *kwnames
[] = {
22792 (char *) "self", NULL
22795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= wxPyMake_wxObject(result
);
22814 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22817 wxPyPrintout
*result
;
22818 PyObject
* obj0
= 0 ;
22819 char *kwnames
[] = {
22820 (char *) "self", NULL
22823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22828 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22834 resultobj
= wxPyMake_wxObject(result
);
22842 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22845 wxFrame
*arg2
= (wxFrame
*) 0 ;
22846 PyObject
* obj0
= 0 ;
22847 PyObject
* obj1
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self",(char *) "frame", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 (arg1
)->SetFrame(arg2
);
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22864 Py_INCREF(Py_None
); resultobj
= Py_None
;
22871 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22874 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self",(char *) "canvas", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 (arg1
)->SetCanvas(arg2
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 Py_INCREF(Py_None
); resultobj
= Py_None
;
22900 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22904 PyObject
* obj0
= 0 ;
22905 char *kwnames
[] = {
22906 (char *) "self", NULL
22909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 result
= (wxFrame
*)(arg1
)->GetFrame();
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22920 resultobj
= wxPyMake_wxObject(result
);
22928 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22929 PyObject
*resultobj
;
22930 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22931 wxPreviewCanvas
*result
;
22932 PyObject
* obj0
= 0 ;
22933 char *kwnames
[] = {
22934 (char *) "self", NULL
22937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22954 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22955 PyObject
*resultobj
;
22956 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22957 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22960 PyObject
* obj0
= 0 ;
22961 PyObject
* obj1
= 0 ;
22962 PyObject
* obj2
= 0 ;
22963 char *kwnames
[] = {
22964 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22972 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22975 if (arg3
== NULL
) {
22976 PyErr_SetString(PyExc_TypeError
,"null reference");
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22995 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22998 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 PyObject
* obj2
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23013 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23016 if (arg3
== NULL
) {
23017 PyErr_SetString(PyExc_TypeError
,"null reference");
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23036 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
;
23038 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 PyObject
* obj1
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self",(char *) "pageNum", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 arg2
= (int) SWIG_AsInt(obj1
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 result
= (bool)(arg1
)->RenderPage(arg2
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23068 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23069 PyObject
*resultobj
;
23070 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23071 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23072 PyObject
* obj0
= 0 ;
23073 PyObject
* obj1
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self",(char *) "canvas", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 (arg1
)->AdjustScrollbars(arg2
);
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 Py_INCREF(Py_None
); resultobj
= Py_None
;
23097 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23099 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23100 wxPrintDialogData
*result
;
23101 PyObject
* obj0
= 0 ;
23102 char *kwnames
[] = {
23103 (char *) "self", NULL
23106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23113 result
= (wxPrintDialogData
*) &_result_ref
;
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23126 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
;
23128 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23130 PyObject
* obj0
= 0 ;
23131 PyObject
* obj1
= 0 ;
23132 char *kwnames
[] = {
23133 (char *) "self",(char *) "percent", NULL
23136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23139 arg2
= (int) SWIG_AsInt(obj1
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 (arg1
)->SetZoom(arg2
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 Py_INCREF(Py_None
); resultobj
= Py_None
;
23155 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
;
23157 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23159 PyObject
* obj0
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= (int)(arg1
)->GetZoom();
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= SWIG_FromInt((int)result
);
23181 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23182 PyObject
*resultobj
;
23183 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23185 PyObject
* obj0
= 0 ;
23186 char *kwnames
[] = {
23187 (char *) "self", NULL
23190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (int)(arg1
)->GetMaxPage();
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= SWIG_FromInt((int)result
);
23207 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23211 PyObject
* obj0
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "self", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 result
= (int)(arg1
)->GetMinPage();
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= SWIG_FromInt((int)result
);
23233 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23237 PyObject
* obj0
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (bool)(arg1
)->Ok();
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23261 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
;
23263 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23265 PyObject
* obj0
= 0 ;
23266 PyObject
* obj1
= 0 ;
23267 char *kwnames
[] = {
23268 (char *) "self",(char *) "ok", NULL
23271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23274 arg2
= (bool) SWIG_AsBool(obj1
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 (arg1
)->SetOk(arg2
);
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 Py_INCREF(Py_None
); resultobj
= Py_None
;
23290 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 char *kwnames
[] = {
23298 (char *) "self",(char *) "interactive", NULL
23301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23304 arg2
= (bool) SWIG_AsBool(obj1
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 result
= (bool)(arg1
)->Print(arg2
);
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23322 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23325 PyObject
* obj0
= 0 ;
23326 char *kwnames
[] = {
23327 (char *) "self", NULL
23330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 (arg1
)->DetermineScaling();
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 Py_INCREF(Py_None
); resultobj
= Py_None
;
23347 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23350 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23352 return Py_BuildValue((char *)"");
23354 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23355 PyObject
*resultobj
;
23356 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23357 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23358 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23359 wxPyPrintPreview
*result
;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 PyObject
* obj2
= 0 ;
23364 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23370 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23387 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23388 PyObject
*resultobj
;
23389 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23390 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23391 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23392 wxPyPrintPreview
*result
;
23393 PyObject
* obj0
= 0 ;
23394 PyObject
* obj1
= 0 ;
23395 PyObject
* obj2
= 0 ;
23397 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23402 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23418 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23423 argc
= PyObject_Length(args
);
23424 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23425 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23427 if ((argc
>= 2) && (argc
<= 3)) {
23431 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23441 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23450 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23454 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23462 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23471 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23481 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23491 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23499 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23505 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23510 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
;
23512 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23513 PyObject
*arg2
= (PyObject
*) 0 ;
23514 PyObject
*arg3
= (PyObject
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 PyObject
* obj2
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self",(char *) "self",(char *) "_class", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 Py_INCREF(Py_None
); resultobj
= Py_None
;
23541 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23546 PyObject
* obj0
= 0 ;
23547 PyObject
* obj1
= 0 ;
23548 char *kwnames
[] = {
23549 (char *) "self",(char *) "pageNum", NULL
23552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23555 arg2
= (int) SWIG_AsInt(obj1
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23573 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23576 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 PyObject
* obj2
= 0 ;
23582 char *kwnames
[] = {
23583 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23594 if (arg3
== NULL
) {
23595 PyErr_SetString(PyExc_TypeError
,"null reference");
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23614 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23616 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23617 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23620 PyObject
* obj0
= 0 ;
23621 PyObject
* obj1
= 0 ;
23622 PyObject
* obj2
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23632 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23635 if (arg3
== NULL
) {
23636 PyErr_SetString(PyExc_TypeError
,"null reference");
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23655 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23660 PyObject
* obj0
= 0 ;
23661 PyObject
* obj1
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "self",(char *) "pageNum", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23669 arg2
= (int) SWIG_AsInt(obj1
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23687 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
;
23689 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23691 PyObject
* obj0
= 0 ;
23692 PyObject
* obj1
= 0 ;
23693 char *kwnames
[] = {
23694 (char *) "self",(char *) "percent", NULL
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23700 arg2
= (int) SWIG_AsInt(obj1
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 (arg1
)->base_SetZoom(arg2
);
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 Py_INCREF(Py_None
); resultobj
= Py_None
;
23716 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23721 PyObject
* obj0
= 0 ;
23722 PyObject
* obj1
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "self",(char *) "interactive", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23730 arg2
= (bool) SWIG_AsBool(obj1
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (bool)(arg1
)->base_Print(arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23748 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23751 PyObject
* obj0
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 (arg1
)->base_DetermineScaling();
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 Py_INCREF(Py_None
); resultobj
= Py_None
;
23773 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23776 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23778 return Py_BuildValue((char *)"");
23780 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
;
23782 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23783 wxFrame
*arg2
= (wxFrame
*) 0 ;
23784 wxString
*arg3
= 0 ;
23785 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23786 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23787 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23788 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23789 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23790 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23791 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23792 wxPyPreviewFrame
*result
;
23793 bool temp3
= False
;
23796 bool temp7
= False
;
23797 PyObject
* obj0
= 0 ;
23798 PyObject
* obj1
= 0 ;
23799 PyObject
* obj2
= 0 ;
23800 PyObject
* obj3
= 0 ;
23801 PyObject
* obj4
= 0 ;
23802 PyObject
* obj5
= 0 ;
23803 PyObject
* obj6
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23814 arg3
= wxString_in_helper(obj2
);
23815 if (arg3
== NULL
) SWIG_fail
;
23821 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23827 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23831 arg6
= (long) SWIG_AsLong(obj5
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23836 arg7
= wxString_in_helper(obj6
);
23837 if (arg7
== NULL
) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
23871 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23872 PyObject
*resultobj
;
23873 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23874 PyObject
*arg2
= (PyObject
*) 0 ;
23875 PyObject
*arg3
= (PyObject
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 PyObject
* obj1
= 0 ;
23878 PyObject
* obj2
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "self",(char *) "self",(char *) "_class", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23895 Py_INCREF(Py_None
); resultobj
= Py_None
;
23902 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23903 PyObject
*resultobj
;
23904 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23905 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23906 PyObject
* obj0
= 0 ;
23907 PyObject
* obj1
= 0 ;
23908 char *kwnames
[] = {
23909 (char *) "self",(char *) "canvas", NULL
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 (arg1
)->SetPreviewCanvas(arg2
);
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 Py_INCREF(Py_None
); resultobj
= Py_None
;
23931 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23934 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self",(char *) "bar", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 (arg1
)->SetControlBar(arg2
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 Py_INCREF(Py_None
); resultobj
= Py_None
;
23960 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23963 PyObject
* obj0
= 0 ;
23964 char *kwnames
[] = {
23965 (char *) "self", NULL
23968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
23969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 (arg1
)->base_Initialize();
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 Py_INCREF(Py_None
); resultobj
= Py_None
;
23985 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
;
23987 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23988 PyObject
* obj0
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "self", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 (arg1
)->base_CreateCanvas();
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 Py_INCREF(Py_None
); resultobj
= Py_None
;
24010 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 (arg1
)->base_CreateControlBar();
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 Py_INCREF(Py_None
); resultobj
= Py_None
;
24035 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24038 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24040 return Py_BuildValue((char *)"");
24042 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
;
24044 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24046 wxWindow
*arg3
= (wxWindow
*) 0 ;
24047 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24048 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24049 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24050 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24051 long arg6
= (long) 0 ;
24052 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24053 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24054 wxPyPreviewControlBar
*result
;
24057 bool temp7
= False
;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 PyObject
* obj2
= 0 ;
24061 PyObject
* obj3
= 0 ;
24062 PyObject
* obj4
= 0 ;
24063 PyObject
* obj5
= 0 ;
24064 PyObject
* obj6
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24072 arg2
= (long) SWIG_AsLong(obj1
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24074 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24079 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24085 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24089 arg6
= (long) SWIG_AsLong(obj5
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24094 arg7
= wxString_in_helper(obj6
);
24095 if (arg7
== NULL
) SWIG_fail
;
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24121 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24123 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24124 PyObject
*arg2
= (PyObject
*) 0 ;
24125 PyObject
*arg3
= (PyObject
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 PyObject
* obj2
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "self",(char *) "self",(char *) "_class", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 Py_INCREF(Py_None
); resultobj
= Py_None
;
24152 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24154 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24155 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self",(char *) "preview", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 (arg1
)->SetPrintPreview(arg2
);
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 Py_INCREF(Py_None
); resultobj
= Py_None
;
24181 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24182 PyObject
*resultobj
;
24183 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 (arg1
)->base_CreateButtons();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 Py_INCREF(Py_None
); resultobj
= Py_None
;
24206 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24210 PyObject
* obj0
= 0 ;
24211 PyObject
* obj1
= 0 ;
24212 char *kwnames
[] = {
24213 (char *) "self",(char *) "zoom", NULL
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24219 arg2
= (int) SWIG_AsInt(obj1
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 (arg1
)->base_SetZoomControl(arg2
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 Py_INCREF(Py_None
); resultobj
= Py_None
;
24235 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24238 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24240 return Py_BuildValue((char *)"");
24242 static PyMethodDef SwigMethods
[] = {
24243 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24244 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24245 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24246 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24247 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24248 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24249 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24250 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24251 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24252 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24253 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24254 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24255 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24256 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24257 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24258 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24259 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24260 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24261 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24262 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24263 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24264 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24265 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24266 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24267 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24268 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24269 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24270 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24271 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24272 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24273 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24274 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24275 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24276 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24277 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24278 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24279 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24280 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24281 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24282 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24283 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24284 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24285 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24286 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24287 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24288 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24289 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24290 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24291 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24292 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24293 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24294 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24295 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24296 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24297 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24298 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24299 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24300 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24301 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24302 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24303 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24304 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24305 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24306 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24307 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24308 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24309 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24310 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24311 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24312 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24313 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24314 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24315 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24316 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24317 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24318 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24319 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24320 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24321 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24322 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24323 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24324 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24325 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24326 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24327 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24328 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24329 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24330 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24331 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24332 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24333 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24334 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24335 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24336 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24337 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24338 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24339 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24340 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24341 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24342 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24343 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24344 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24345 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24346 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24347 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24348 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24349 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24350 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24351 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24352 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24353 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24354 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24355 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24356 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24357 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24358 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24359 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24360 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24361 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24362 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24363 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24364 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24365 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24366 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24367 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24368 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24369 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24370 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24371 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24372 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24373 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24374 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24375 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24376 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24377 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24378 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24379 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24380 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24381 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24382 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24383 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24384 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24389 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24391 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24392 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24394 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24396 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24398 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24402 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24404 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24405 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24406 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24407 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24408 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24409 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24410 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24412 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24413 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24415 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24416 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24418 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24419 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24421 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24422 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24424 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24425 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24426 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24428 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24431 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24436 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24437 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24443 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24445 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24448 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24454 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24458 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24465 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24468 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24469 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24473 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24476 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24502 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24509 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
24516 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24518 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24520 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24529 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24532 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24539 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24557 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24561 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24566 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24570 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24586 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24589 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24591 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24595 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24604 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24613 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24619 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24631 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24638 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24642 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24666 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24690 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24714 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
24760 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
24792 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
24796 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
24797 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
24830 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
24835 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
24846 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
24869 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
24871 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
24877 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
24887 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
24888 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
24911 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
24912 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
24921 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
24929 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
24939 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24941 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24942 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24944 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24945 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24947 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24948 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24950 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24951 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24953 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24954 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24956 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24957 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24959 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24960 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24962 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24963 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24965 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
24966 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
24968 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
24969 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
24971 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
24972 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24974 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
24975 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
24977 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
24978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24980 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
24981 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24983 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
24984 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
24986 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
24987 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24989 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
24990 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24992 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
24993 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
24995 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
24996 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
24998 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
24999 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25001 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25002 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25004 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25005 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25007 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25008 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25010 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25011 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25013 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25014 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25016 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25017 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25019 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25020 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25022 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25023 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25025 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25026 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25028 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25029 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25031 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25032 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25034 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25035 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25037 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25038 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25040 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25041 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25043 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25044 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25046 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25047 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25049 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25050 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25052 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25053 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25055 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25056 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25058 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25059 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25061 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25062 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25064 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25065 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25067 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25068 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25070 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25073 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25074 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25076 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25077 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25079 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25080 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25082 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25083 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25085 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25086 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25088 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25089 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25091 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25094 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25095 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25097 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25100 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25103 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25106 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25109 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25112 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25113 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25115 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25116 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25118 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25121 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25124 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25127 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25128 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25130 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25133 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25134 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25136 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25137 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25139 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25140 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25142 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25143 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25145 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25148 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25149 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25151 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25152 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25154 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25157 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25158 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25160 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25163 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25166 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25169 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25170 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25172 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25175 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25176 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25178 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25181 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25184 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25187 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25190 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25193 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25194 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25196 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25199 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25202 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25205 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25208 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25211 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25214 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25217 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25220 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25221 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25223 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25224 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25226 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25227 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25229 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25230 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25232 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25233 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25235 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25236 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25238 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25239 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25241 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25242 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25244 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25245 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25247 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25248 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25250 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25253 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25256 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25257 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25259 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25260 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25262 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25263 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25265 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25266 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25268 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25269 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25271 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25272 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25274 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25275 return (void *)((wxObject
*) ((wxSizer
*) x
));
25277 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25278 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25280 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25281 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25283 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25286 static void *_p_wxEventTo_p_wxObject(void *x
) {
25287 return (void *)((wxObject
*) ((wxEvent
*) x
));
25289 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25290 return (void *)((wxObject
*) ((wxFontData
*) x
));
25292 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25293 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25295 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25296 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25298 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25299 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25301 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25302 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25304 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25305 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25307 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25308 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25310 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25313 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25314 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25316 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25317 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25319 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25320 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25322 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25323 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25325 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25326 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25328 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25329 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25331 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25334 static void *_p_wxControlTo_p_wxObject(void *x
) {
25335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25337 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25338 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25340 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25341 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25343 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25344 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25346 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25347 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25349 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25350 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25352 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25355 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25356 return (void *)((wxObject
*) ((wxColourData
*) x
));
25358 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25359 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25361 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25362 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25364 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25367 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25370 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25373 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25376 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25379 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25382 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25385 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25388 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25391 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25392 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25394 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25395 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25397 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25398 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25400 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25401 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25403 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25404 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25406 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25407 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25409 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25410 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25412 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25413 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25415 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25416 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25418 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25419 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25421 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25422 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25424 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25425 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25427 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25428 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25430 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25431 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25433 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25434 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25436 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25437 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25439 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25442 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25443 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25445 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25446 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25448 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25449 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25451 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25454 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25455 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25457 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25460 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25461 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25463 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25464 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25466 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25469 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25472 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25473 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25475 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25478 static void *_p_wxImageTo_p_wxObject(void *x
) {
25479 return (void *)((wxObject
*) ((wxImage
*) x
));
25481 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25484 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25485 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25487 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25488 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25490 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25491 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25493 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25496 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25499 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25500 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25502 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25503 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25505 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25506 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25508 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25509 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25511 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25512 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25514 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25517 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25520 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25523 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25526 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25529 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25532 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25533 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25535 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25536 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25538 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25541 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25544 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25547 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25550 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25551 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25553 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25556 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25557 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25559 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25560 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25562 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25565 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25568 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25571 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25574 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25577 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25580 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25583 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25584 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25586 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25587 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25589 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25590 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25592 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25593 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25595 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25596 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25598 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25599 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25601 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25602 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25604 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25607 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25608 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25610 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25613 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25616 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25617 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25619 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25620 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25622 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25625 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25628 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25629 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25631 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25632 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25634 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25637 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25638 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25640 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25641 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25643 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25644 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25646 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
25647 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25649 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25650 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25652 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
25653 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25655 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25656 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25658 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25659 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25661 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25662 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25664 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25665 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25667 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25668 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25670 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25671 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25673 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25674 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25676 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25677 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25679 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25680 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25682 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25683 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25685 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25686 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25688 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25689 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25691 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25692 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25694 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25695 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25697 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25698 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25700 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25701 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25703 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25704 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25706 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25707 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25709 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25710 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25712 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25713 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25715 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25716 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25718 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25719 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25721 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25722 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25724 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25725 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25727 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25728 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25730 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25731 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25733 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25734 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25736 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25737 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25739 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25740 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25742 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25743 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25745 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25746 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25748 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25749 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25751 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25752 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25754 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25755 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25757 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25758 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25760 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25761 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25763 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25764 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25766 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25767 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25769 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25770 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25772 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25773 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25775 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25776 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25778 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25779 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25781 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25782 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25784 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25785 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25787 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25788 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25790 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25791 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25793 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25794 return (void *)((wxWindow
*) ((wxControl
*) x
));
25796 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25797 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25799 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25800 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25802 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25803 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25805 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25806 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25808 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25809 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25811 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25812 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25814 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25815 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25817 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25818 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25820 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25821 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25823 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25824 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25826 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25827 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25829 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25830 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25832 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25833 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25835 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25836 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25838 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25839 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25841 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25842 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25844 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25845 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25847 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25848 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25850 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25851 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25853 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
25854 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25856 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
25857 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25859 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
25860 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
25862 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
25863 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
25865 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
25866 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
25868 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
25869 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
25871 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
25872 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
25874 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
25875 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
25877 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
25878 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25880 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
25881 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25883 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
25884 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
25886 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
25887 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
25889 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
25890 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
25892 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
25893 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
25895 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
25896 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25898 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
25899 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25901 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
25902 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25904 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
25905 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25907 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
25908 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
25910 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
25911 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25913 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
25914 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
25916 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
25917 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25919 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
25920 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25922 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
25923 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
25925 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
25926 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25928 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
25929 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25931 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
25932 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25934 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
25935 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25937 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
25938 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25940 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
25941 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25943 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
25944 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25946 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25947 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25949 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25950 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25952 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25953 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25955 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}};
25956 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}};
25957 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}};
25958 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}};
25959 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}};
25960 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}};
25961 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}};
25962 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}};
25963 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}};
25964 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}};
25965 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}};
25966 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}};
25967 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}};
25968 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}};
25969 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}};
25970 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}};
25971 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}};
25972 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}};
25973 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}};
25974 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}};
25975 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}};
25976 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}};
25977 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}};
25978 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}};
25979 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}};
25980 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}};
25981 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}};
25982 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}};
25983 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}};
25984 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}};
25985 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}};
25986 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}};
25987 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}};
25988 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}};
25989 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}};
25990 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxDialog", _p_wxDialogTo_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_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}};
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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_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}};
25998 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}};
25999 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}};
26000 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}};
26001 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}};
26002 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}};
26003 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}};
26004 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_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_wxTipWindow", _p_wxTipWindowTo_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}};
26005 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}};
26006 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26007 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}};
26008 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}};
26009 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}};
26010 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}};
26011 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}};
26012 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}};
26013 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26014 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},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26015 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}};
26016 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_wxDirDialog", _p_wxDirDialogTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_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}};
26017 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
26018 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}};
26019 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}};
26020 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}};
26021 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}};
26022 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}};
26023 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}};
26024 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}};
26025 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}};
26026 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}};
26027 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}};
26028 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}};
26029 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}};
26030 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}};
26031 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}};
26032 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}};
26033 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}};
26034 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}};
26035 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}};
26036 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}};
26037 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}};
26038 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}};
26039 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}};
26041 static swig_type_info
*swig_types_initial
[] = {
26042 _swigt__p_wxQueryLayoutInfoEvent
,
26043 _swigt__p_wxPreviewFrame
,
26044 _swigt__p_wxPyPreviewFrame
,
26045 _swigt__p_wxPyPanel
,
26047 _swigt__p_wxPrintData
,
26048 _swigt__p_wxFontData
,
26050 _swigt__p_wxTaskBarIcon
,
26051 _swigt__p_wxIconBundle
,
26052 _swigt__p_wxLayoutAlgorithm
,
26053 _swigt__p_wxFindDialogEvent
,
26054 _swigt__p_wxPreviewCanvas
,
26056 _swigt__p_wxSplitterEvent
,
26057 _swigt__p_wxRegion
,
26058 _swigt__p_wxFindReplaceData
,
26063 _swigt__p_wxMDIChildFrame
,
26064 _swigt__p_wxColourData
,
26065 _swigt__p_wxNotifyEvent
,
26066 _swigt__p_wxPyWindow
,
26067 _swigt__p_wxSplashScreen
,
26068 _swigt__p_wxFindReplaceDialog
,
26069 _swigt__p_wxProgressDialog
,
26070 _swigt__p_wxMessageDialog
,
26071 _swigt__p_wxTextEntryDialog
,
26072 _swigt__p_wxSingleChoiceDialog
,
26073 _swigt__p_wxMultiChoiceDialog
,
26074 _swigt__p_wxFileDialog
,
26075 _swigt__p_wxPrinter
,
26076 _swigt__p_wxArrayInt
,
26077 _swigt__p_wxEvtHandler
,
26078 _swigt__p_wxCalculateLayoutEvent
,
26079 _swigt__p_wxPyHtmlListBox
,
26080 _swigt__p_wxPyVListBox
,
26083 _swigt__p_wxMiniFrame
,
26085 _swigt__p_wxPyPrintout
,
26086 _swigt__p_wxTaskBarIconEvent
,
26087 _swigt__p_wxScrollWinEvent
,
26088 _swigt__p_wxStatusBar
,
26089 _swigt__p_wxMDIParentFrame
,
26091 _swigt__p_wxObject
,
26092 _swigt__p_wxOutputStream
,
26093 _swigt__p_unsigned_long
,
26094 _swigt__p_wxPyScrolledWindow
,
26095 _swigt__p_wxMDIClientWindow
,
26096 _swigt__p_wxTipWindow
,
26097 _swigt__p_wxSashLayoutWindow
,
26098 _swigt__p_wxSplitterWindow
,
26099 _swigt__p_wxPyVScrolledWindow
,
26100 _swigt__p_wxPyPopupTransientWindow
,
26101 _swigt__p_wxPopupWindow
,
26102 _swigt__p_wxSashWindow
,
26103 _swigt__p_wxTopLevelWindow
,
26104 _swigt__p_wxWindow
,
26105 _swigt__p_wxScrolledWindow
,
26106 _swigt__p_wxSplashScreenWindow
,
26107 _swigt__p_wxMenuBar
,
26108 _swigt__p_wxPrintPreview
,
26109 _swigt__p_wxSashEvent
,
26110 _swigt__p_wxString
,
26111 _swigt__p_wxPyPrintPreview
,
26112 _swigt__p_wxFontDialog
,
26113 _swigt__p_wxDirDialog
,
26114 _swigt__p_wxColourDialog
,
26115 _swigt__p_wxDialog
,
26117 _swigt__p_wxPageSetupDialog
,
26118 _swigt__p_wxPrintDialog
,
26119 _swigt__p_wxBitmap
,
26120 _swigt__p_wxCommandEvent
,
26121 _swigt__p_wxPreviewControlBar
,
26122 _swigt__p_wxPyPreviewControlBar
,
26123 _swigt__p_wxColour
,
26124 _swigt__p_wxToolBar
,
26125 _swigt__p_wxPageSetupDialogData
,
26126 _swigt__p_wxPrintDialogData
,
26131 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26133 static swig_const_info swig_const_table
[] = {
26143 SWIGEXPORT(void) SWIG_init(void) {
26144 static PyObject
*SWIG_globals
= 0;
26145 static int typeinit
= 0;
26148 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26149 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26150 d
= PyModule_GetDict(m
);
26153 for (i
= 0; swig_types_initial
[i
]; i
++) {
26154 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26158 SWIG_InstallConstants(d
,swig_const_table
);
26160 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26161 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26162 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26163 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26164 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26165 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26166 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26167 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26168 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26169 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26170 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26171 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26172 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26173 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26174 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26175 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26176 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26177 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26178 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26179 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26180 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26181 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26182 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26183 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26184 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26185 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26186 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26187 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26188 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26189 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26190 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26191 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26192 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26193 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26194 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26195 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26196 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26197 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26198 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26199 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26200 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26201 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26202 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26203 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26204 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26205 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26206 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26207 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26208 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26209 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26210 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26211 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26212 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26213 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26214 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26215 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26216 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26217 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26218 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26219 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26220 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26221 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26222 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26223 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26224 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26225 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26226 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26227 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26228 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26229 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26230 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26231 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26232 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26233 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26234 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26235 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26236 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26237 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26238 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26239 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26240 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26241 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26242 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26243 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26244 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26245 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26246 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26247 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26248 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26249 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26250 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26251 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26252 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26254 // Map renamed classes back to their common name for OOR
26255 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26256 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26257 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26259 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26260 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26261 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26262 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26263 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26264 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26265 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26266 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26267 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26268 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26269 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26270 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26271 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26272 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26273 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26274 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26275 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26276 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26277 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26278 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26279 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26280 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26281 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26282 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26283 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26284 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26285 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26286 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26287 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26288 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26289 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26290 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26291 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26292 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26293 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26294 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26295 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26296 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26297 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26298 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26299 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26300 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26301 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26302 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26303 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26304 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26305 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26306 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26307 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26308 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26309 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26310 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26311 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26312 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26313 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26314 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26315 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26316 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26317 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26318 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26320 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");