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
);
517 bool wxDialog_IsModalShowing(wxDialog
*self
){
521 return self
->IsModalShowing();
526 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
528 self
->GetFieldRect(i
, r
);
531 static const wxString
wxPySplitterNameStr(wxT("splitter"));
532 static const wxString
wxPySashNameStr(wxT("sashWindow"));
533 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
535 #include <wx/popupwin.h>
538 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
541 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
542 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
543 : wxPopupTransientWindow(parent
, style
) {}
545 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
546 DEC_PYCALLBACK__(OnDismiss
);
547 DEC_PYCALLBACK_BOOL_(CanDismiss
);
552 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
553 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
554 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
557 #include <wx/tipwin.h>
559 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
560 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
563 #include <wx/tipwin.h>
566 #include <wx/vscroll.h>
569 class wxPyVScrolledWindow
: public wxVScrolledWindow
571 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
573 wxPyVScrolledWindow() : wxVScrolledWindow() {}
575 wxPyVScrolledWindow(wxWindow
*parent
,
576 wxWindowID id
= wxID_ANY
,
577 const wxPoint
& pos
= wxDefaultPosition
,
578 const wxSize
& size
= wxDefaultSize
,
580 const wxString
& name
= wxPyPanelNameStr
)
581 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
584 // Overridable virtuals
586 // this function must be overridden in the derived class and it should
587 // return the height of the given line in pixels
588 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
591 // this function doesn't have to be overridden but it may be useful to do
592 // it if calculating the lines heights is a relatively expensive operation
593 // as it gives the user code a possibility to calculate several of them at
596 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
597 // shouldn't rely on the latter being called for all lines in the interval
598 // specified here. It is also possible that OnGetLineHeight() will be
599 // called for the lines outside of this interval, so this is really just a
600 // hint, not a promise.
602 // finally note that lineMin is inclusive, while lineMax is exclusive, as
604 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
607 // when the number of lines changes, we try to estimate the total height
608 // of all lines which is a rather expensive operation in terms of lines
609 // access, so if the user code may estimate the average height
610 // better/faster than we do, it should override this function to implement
613 // this function should return the best guess for the total height it may
615 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
618 // Also expose some other interesting protected methods
621 // find the index of the line we need to show at the top of the window such
622 // that the last (fully or partially) visible line is the given one
623 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
624 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
626 // get the total height of the lines between lineMin (inclusive) and
627 // lineMax (exclusive)
628 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
629 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
635 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
637 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
638 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
639 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
642 SWIGSTATICINLINE(unsigned long)
643 SWIG_AsUnsignedLong(PyObject
* obj
)
645 if (PyLong_Check(obj
)) {
646 return PyLong_AsUnsignedLong(obj
);
648 long i
= SWIG_AsLong(obj
);
649 if ( !PyErr_Occurred() && (i
< 0)) {
650 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
657 SWIGSTATICINLINE(int)
658 SWIG_CheckUnsignedLong(PyObject
* obj
)
660 SWIG_AsUnsignedLong(obj
);
661 if (PyErr_Occurred()) {
670 SWIGSTATICINLINE(PyObject
* )
671 SWIG_FromUnsignedLong(unsigned long value
)
673 return (value
> LONG_MAX
) ?
674 PyLong_FromUnsignedLong(value
)
675 : PyInt_FromLong(swig_numeric_cast(long,value
));
679 #include <wx/vlbox.h>
681 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
683 class wxPyVListBox
: public wxVListBox
685 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
687 wxPyVListBox() : wxVListBox() {}
689 wxPyVListBox(wxWindow
*parent
,
690 wxWindowID id
= wxID_ANY
,
691 const wxPoint
& pos
= wxDefaultPosition
,
692 const wxSize
& size
= wxDefaultSize
,
694 const wxString
& name
= wxPyVListBoxNameStr
)
695 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
698 // Overridable virtuals
700 // the derived class must implement this function to actually draw the item
701 // with the given index on the provided DC
702 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
703 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
706 // the derived class must implement this method to return the height of the
708 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
709 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
712 // this method may be used to draw separators between the lines; note that
713 // the rectangle may be modified, typically to deflate it a bit before
714 // passing to OnDrawItem()
716 // the base class version doesn't do anything
717 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
718 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
721 // this method is used to draw the items background and, maybe, a border
724 // the base class version implements a reasonable default behaviour which
725 // consists in drawing the selected item with the standard background
726 // colour and drawing a border around the item if it is either selected or
728 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
729 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
735 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
737 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
738 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
739 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
740 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
744 #include <wx/htmllbox.h>
747 class wxPyHtmlListBox
: public wxHtmlListBox
749 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
751 wxPyHtmlListBox() : wxHtmlListBox() {}
753 wxPyHtmlListBox(wxWindow
*parent
,
754 wxWindowID id
= wxID_ANY
,
755 const wxPoint
& pos
= wxDefaultPosition
,
756 const wxSize
& size
= wxDefaultSize
,
758 const wxString
& name
= wxPyVListBoxNameStr
)
759 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
762 // Overridable virtuals
764 // this method must be implemented in the derived class and should return
765 // the body (i.e. without <html>) of the HTML for the given item
766 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
768 // this function may be overridden to decorate HTML returned by OnGetItem()
769 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
772 // // this method allows to customize the selection appearance: it may be used
773 // // to specify the colour of the text which normally has the given colour
774 // // colFg when it is inside the selection
776 // // by default, the original colour is not used at all and all text has the
777 // // same (default for this system) colour inside selection
778 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
780 // // this is the same as GetSelectedTextColour() but allows to customize the
781 // // background colour -- this is even more rarely used as you can change it
782 // // globally using SetSelectionBackground()
783 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
790 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
792 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
793 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
800 // implement dummy classes and such for wxMac
802 class wxTaskBarIcon
: public wxEvtHandler
805 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
809 class wxTaskBarIconEvent
: public wxEvent
812 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
813 { wxPyRaiseNotImplemented(); }
814 virtual wxEvent
* Clone() const { return NULL
; }
818 wxEVT_TASKBAR_MOVE
= 0,
819 wxEVT_TASKBAR_LEFT_DOWN
= 0,
820 wxEVT_TASKBAR_LEFT_UP
= 0,
821 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
822 wxEVT_TASKBAR_RIGHT_UP
= 0,
823 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
824 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
828 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
833 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
834 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
835 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
836 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
837 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
838 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
839 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
841 self
->GetFilenames(arr
);
842 return wxArrayString2PyList_helper(arr
);
844 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
847 return wxArrayString2PyList_helper(arr
);
849 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
850 return wxArrayInt2PyList_helper(self
->GetSelections());
852 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
853 return new wxSingleChoiceDialog(parent
, message
, caption
,
854 choices
, choices_array
, NULL
, style
, pos
);
859 // C++ version of Python aware wxWindow
860 class wxPyWindow
: public wxWindow
862 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
864 wxPyWindow() : wxWindow() {}
865 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
866 const wxPoint
& pos
= wxDefaultPosition
,
867 const wxSize
& size
= wxDefaultSize
,
869 const wxString
& name
= wxPyPanelNameStr
)
870 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
873 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
874 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
875 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
876 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
878 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
879 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
880 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
882 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
883 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
885 DEC_PYCALLBACK__(InitDialog
);
886 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
887 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
888 DEC_PYCALLBACK_BOOL_(Validate
);
890 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
891 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
892 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
894 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
895 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
897 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
898 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
903 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
905 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
906 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
907 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
908 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
910 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
911 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
912 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
914 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
915 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
917 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
918 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
919 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
920 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
922 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
923 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
924 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
926 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
927 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
929 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
930 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
933 // C++ version of Python aware wxPanel
934 class wxPyPanel
: public wxPanel
936 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
938 wxPyPanel() : wxPanel() {}
939 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
940 const wxPoint
& pos
= wxDefaultPosition
,
941 const wxSize
& size
= wxDefaultSize
,
943 const wxString
& name
= wxPyPanelNameStr
)
944 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
947 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
948 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
949 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
950 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
952 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
953 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
956 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
957 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
959 DEC_PYCALLBACK__(InitDialog
);
960 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
961 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
962 DEC_PYCALLBACK_BOOL_(Validate
);
964 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
965 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
966 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
968 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
969 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
971 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
972 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
977 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
979 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
980 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
981 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
982 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
984 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
985 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
988 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
989 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
991 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
992 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
993 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
994 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
996 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
997 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
998 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1000 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1001 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1003 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1004 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1006 // C++ version of Python aware wxScrolledWindow
1007 class wxPyScrolledWindow
: public wxScrolledWindow
1009 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1011 wxPyScrolledWindow() : wxScrolledWindow() {}
1012 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1013 const wxPoint
& pos
= wxDefaultPosition
,
1014 const wxSize
& size
= wxDefaultSize
,
1016 const wxString
& name
= wxPyPanelNameStr
)
1017 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1020 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1021 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1022 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1023 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1025 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1026 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1027 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1029 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1030 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1032 DEC_PYCALLBACK__(InitDialog
);
1033 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1034 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1035 DEC_PYCALLBACK_BOOL_(Validate
);
1037 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1038 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1039 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1041 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1042 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1044 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1045 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1050 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1052 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1053 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1054 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1055 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1057 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1058 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1059 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1061 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1062 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1064 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1065 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1066 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1067 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1069 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1070 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1071 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1073 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1074 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1076 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1077 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1080 #include "wx/wxPython/printfw.h"
1083 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1084 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1088 // Since this one would be tough and ugly to do with the Macros...
1089 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1090 bool hadErr
= False
;
1093 bool blocked
= wxPyBeginBlockThreads();
1094 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1095 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1096 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1099 val
= PyTuple_GetItem(result
, 0);
1100 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1103 val
= PyTuple_GetItem(result
, 1);
1104 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1107 val
= PyTuple_GetItem(result
, 2);
1108 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1111 val
= PyTuple_GetItem(result
, 3);
1112 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1119 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1124 wxPyEndBlockThreads(blocked
);
1126 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1129 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1130 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1134 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1135 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1136 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1137 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1138 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1139 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1140 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1146 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1147 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1148 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1151 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1152 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1155 bool blocked = wxPyBeginBlockThreads(); \
1156 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1157 PyObject* win = wxPyMake_wxObject(a); \
1158 PyObject* dc = wxPyMake_wxObject(&b); \
1159 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1163 wxPyEndBlockThreads(blocked); \
1165 rval = PCLASS::CBNAME(a, b); \
1168 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1169 return PCLASS::CBNAME(a, b); \
1175 class wxPyPrintPreview
: public wxPrintPreview
1177 DECLARE_CLASS(wxPyPrintPreview
)
1179 wxPyPrintPreview(wxPyPrintout
* printout
,
1180 wxPyPrintout
* printoutForPrinting
,
1181 wxPrintDialogData
* data
=NULL
)
1182 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1184 wxPyPrintPreview(wxPyPrintout
* printout
,
1185 wxPyPrintout
* printoutForPrinting
,
1186 wxPrintData
* data
=NULL
)
1187 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1190 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1191 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1192 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1193 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1194 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1195 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1196 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1201 // Stupid renamed classes... Fix this in 2.5...
1202 #if defined(__WXMSW__)
1203 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1204 #elif defined(__WXMAC__)
1205 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1207 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1210 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1211 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1212 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1213 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1214 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1215 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1216 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1219 class wxPyPreviewFrame
: public wxPreviewFrame
1221 DECLARE_CLASS(wxPyPreviewFrame
);
1223 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1224 const wxString
& title
,
1225 const wxPoint
& pos
= wxDefaultPosition
,
1226 const wxSize
& size
= wxDefaultSize
,
1227 long style
= wxDEFAULT_FRAME_STYLE
,
1228 const wxString
& name
= wxPyFrameNameStr
)
1229 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1232 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1233 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1235 DEC_PYCALLBACK_VOID_(Initialize
);
1236 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1237 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1242 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1244 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1245 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1246 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1249 class wxPyPreviewControlBar
: public wxPreviewControlBar
1251 DECLARE_CLASS(wxPyPreviewControlBar
);
1253 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1256 const wxPoint
& pos
= wxDefaultPosition
,
1257 const wxSize
& size
= wxDefaultSize
,
1259 const wxString
& name
= wxPyPanelNameStr
)
1260 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1263 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1265 DEC_PYCALLBACK_VOID_(CreateButtons
);
1266 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1271 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1272 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1273 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1278 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
*resultobj
;
1280 wxWindow
*arg1
= (wxWindow
*) 0 ;
1281 int arg2
= (int) (int)-1 ;
1282 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1283 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1284 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1285 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1286 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1287 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1288 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1292 bool temp6
= False
;
1293 PyObject
* obj0
= 0 ;
1294 PyObject
* obj1
= 0 ;
1295 PyObject
* obj2
= 0 ;
1296 PyObject
* obj3
= 0 ;
1297 PyObject
* obj4
= 0 ;
1298 PyObject
* obj5
= 0 ;
1300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1307 arg2
= (int const) SWIG_AsInt(obj1
);
1308 if (PyErr_Occurred()) SWIG_fail
;
1313 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1319 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1323 arg5
= (long) SWIG_AsLong(obj4
);
1324 if (PyErr_Occurred()) SWIG_fail
;
1328 arg6
= wxString_in_helper(obj5
);
1329 if (arg6
== NULL
) SWIG_fail
;
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) SWIG_fail
;
1340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1355 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
*resultobj
;
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 result
= (wxPanel
*)new wxPanel();
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) SWIG_fail
;
1370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1377 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
*resultobj
;
1379 wxPanel
*arg1
= (wxPanel
*) 0 ;
1380 wxWindow
*arg2
= (wxWindow
*) 0 ;
1381 int arg3
= (int) (int)-1 ;
1382 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1383 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1384 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1385 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1386 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1387 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1388 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1392 bool temp7
= False
;
1393 PyObject
* obj0
= 0 ;
1394 PyObject
* obj1
= 0 ;
1395 PyObject
* obj2
= 0 ;
1396 PyObject
* obj3
= 0 ;
1397 PyObject
* obj4
= 0 ;
1398 PyObject
* obj5
= 0 ;
1399 PyObject
* obj6
= 0 ;
1401 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1410 arg3
= (int const) SWIG_AsInt(obj2
);
1411 if (PyErr_Occurred()) SWIG_fail
;
1416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1426 arg6
= (long) SWIG_AsLong(obj5
);
1427 if (PyErr_Occurred()) SWIG_fail
;
1431 arg7
= wxString_in_helper(obj6
);
1432 if (arg7
== NULL
) SWIG_fail
;
1437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1438 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1440 wxPyEndAllowThreads(__tstate
);
1441 if (PyErr_Occurred()) SWIG_fail
;
1444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1460 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
*resultobj
;
1462 wxPanel
*arg1
= (wxPanel
*) 0 ;
1463 PyObject
* obj0
= 0 ;
1465 (char *) "self", NULL
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 (arg1
)->InitDialog();
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) SWIG_fail
;
1478 Py_INCREF(Py_None
); resultobj
= Py_None
;
1485 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1488 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1490 return Py_BuildValue((char *)"");
1492 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
*resultobj
;
1494 wxWindow
*arg1
= (wxWindow
*) 0 ;
1495 int arg2
= (int) (int)-1 ;
1496 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1497 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1498 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1499 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1500 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1501 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1502 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1503 wxScrolledWindow
*result
;
1506 bool temp6
= False
;
1507 PyObject
* obj0
= 0 ;
1508 PyObject
* obj1
= 0 ;
1509 PyObject
* obj2
= 0 ;
1510 PyObject
* obj3
= 0 ;
1511 PyObject
* obj4
= 0 ;
1512 PyObject
* obj5
= 0 ;
1514 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1521 arg2
= (int const) SWIG_AsInt(obj1
);
1522 if (PyErr_Occurred()) SWIG_fail
;
1527 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1533 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1537 arg5
= (long) SWIG_AsLong(obj4
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1542 arg6
= wxString_in_helper(obj5
);
1543 if (arg6
== NULL
) SWIG_fail
;
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) SWIG_fail
;
1554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1569 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
*resultobj
;
1571 wxScrolledWindow
*result
;
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1591 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
*resultobj
;
1593 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1594 wxWindow
*arg2
= (wxWindow
*) 0 ;
1595 int arg3
= (int) (int)-1 ;
1596 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1597 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1598 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1599 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1600 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1601 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1602 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1606 bool temp7
= False
;
1607 PyObject
* obj0
= 0 ;
1608 PyObject
* obj1
= 0 ;
1609 PyObject
* obj2
= 0 ;
1610 PyObject
* obj3
= 0 ;
1611 PyObject
* obj4
= 0 ;
1612 PyObject
* obj5
= 0 ;
1613 PyObject
* obj6
= 0 ;
1615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1624 arg3
= (int const) SWIG_AsInt(obj2
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1640 arg6
= (long) SWIG_AsLong(obj5
);
1641 if (PyErr_Occurred()) SWIG_fail
;
1645 arg7
= wxString_in_helper(obj6
);
1646 if (arg7
== NULL
) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1674 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
*resultobj
;
1676 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1681 int arg6
= (int) 0 ;
1682 int arg7
= (int) 0 ;
1683 bool arg8
= (bool) False
;
1684 PyObject
* obj0
= 0 ;
1685 PyObject
* obj1
= 0 ;
1686 PyObject
* obj2
= 0 ;
1687 PyObject
* obj3
= 0 ;
1688 PyObject
* obj4
= 0 ;
1689 PyObject
* obj5
= 0 ;
1690 PyObject
* obj6
= 0 ;
1691 PyObject
* obj7
= 0 ;
1693 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1699 arg2
= (int) SWIG_AsInt(obj1
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1701 arg3
= (int) SWIG_AsInt(obj2
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1703 arg4
= (int) SWIG_AsInt(obj3
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1705 arg5
= (int) SWIG_AsInt(obj4
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1708 arg6
= (int) SWIG_AsInt(obj5
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1712 arg7
= (int) SWIG_AsInt(obj6
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1716 arg8
= (bool) SWIG_AsBool(obj7
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1726 Py_INCREF(Py_None
); resultobj
= Py_None
;
1733 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
*resultobj
;
1735 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1738 PyObject
* obj0
= 0 ;
1739 PyObject
* obj1
= 0 ;
1740 PyObject
* obj2
= 0 ;
1742 (char *) "self",(char *) "x",(char *) "y", NULL
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1748 arg2
= (int) SWIG_AsInt(obj1
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1750 arg3
= (int) SWIG_AsInt(obj2
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 (arg1
)->Scroll(arg2
,arg3
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 Py_INCREF(Py_None
); resultobj
= Py_None
;
1766 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1771 PyObject
* obj0
= 0 ;
1772 PyObject
* obj1
= 0 ;
1774 (char *) "self",(char *) "orient", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1780 arg2
= (int) SWIG_AsInt(obj1
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1789 resultobj
= SWIG_FromInt((int)result
);
1796 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
*resultobj
;
1798 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1801 PyObject
* obj0
= 0 ;
1802 PyObject
* obj1
= 0 ;
1803 PyObject
* obj2
= 0 ;
1805 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1811 arg2
= (int) SWIG_AsInt(obj1
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1813 arg3
= (int) SWIG_AsInt(obj2
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1822 Py_INCREF(Py_None
); resultobj
= Py_None
;
1829 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1830 PyObject
*resultobj
;
1831 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1834 PyObject
* obj0
= 0 ;
1835 PyObject
* obj1
= 0 ;
1836 PyObject
* obj2
= 0 ;
1838 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1844 arg2
= (int) SWIG_AsInt(obj1
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1846 arg3
= (int) SWIG_AsInt(obj2
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 (arg1
)->SetScrollRate(arg2
,arg3
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 Py_INCREF(Py_None
); resultobj
= Py_None
;
1862 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1865 int *arg2
= (int *) 0 ;
1866 int *arg3
= (int *) 0 ;
1869 PyObject
* obj0
= 0 ;
1871 (char *) "self", NULL
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 Py_INCREF(Py_None
); resultobj
= Py_None
;
1888 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1889 resultobj
= t_output_helper(resultobj
,o
);
1892 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1893 resultobj
= t_output_helper(resultobj
,o
);
1901 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1906 PyObject
* obj0
= 0 ;
1907 PyObject
* obj1
= 0 ;
1908 PyObject
* obj2
= 0 ;
1910 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1916 arg2
= (bool) SWIG_AsBool(obj1
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1918 arg3
= (bool) SWIG_AsBool(obj2
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 (arg1
)->EnableScrolling(arg2
,arg3
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 Py_INCREF(Py_None
); resultobj
= Py_None
;
1934 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1937 int *arg2
= (int *) 0 ;
1938 int *arg3
= (int *) 0 ;
1941 PyObject
* obj0
= 0 ;
1943 (char *) "self", NULL
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1958 Py_INCREF(Py_None
); resultobj
= Py_None
;
1960 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1961 resultobj
= t_output_helper(resultobj
,o
);
1964 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1965 resultobj
= t_output_helper(resultobj
,o
);
1973 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
*resultobj
;
1975 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1978 PyObject
* obj0
= 0 ;
1979 PyObject
* obj1
= 0 ;
1980 PyObject
* obj2
= 0 ;
1982 (char *) "self",(char *) "xs",(char *) "ys", NULL
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1988 arg2
= (double) SWIG_AsDouble(obj1
);
1989 if (PyErr_Occurred()) SWIG_fail
;
1990 arg3
= (double) SWIG_AsDouble(obj2
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 (arg1
)->SetScale(arg2
,arg3
);
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 Py_INCREF(Py_None
); resultobj
= Py_None
;
2006 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
*resultobj
;
2008 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2010 PyObject
* obj0
= 0 ;
2012 (char *) "self", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 resultobj
= SWIG_FromDouble((double)result
);
2032 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2036 PyObject
* obj0
= 0 ;
2038 (char *) "self", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 resultobj
= SWIG_FromDouble((double)result
);
2058 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2059 PyObject
*resultobj
;
2060 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2064 PyObject
* obj0
= 0 ;
2065 PyObject
* obj1
= 0 ;
2067 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2082 wxPoint
* resultptr
;
2083 resultptr
= new wxPoint((wxPoint
&) result
);
2084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2092 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2093 PyObject
*resultobj
;
2094 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2097 int *arg4
= (int *) 0 ;
2098 int *arg5
= (int *) 0 ;
2101 PyObject
* obj0
= 0 ;
2102 PyObject
* obj1
= 0 ;
2103 PyObject
* obj2
= 0 ;
2107 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2110 arg2
= (int) SWIG_AsInt(obj1
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2112 arg3
= (int) SWIG_AsInt(obj2
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2116 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2118 wxPyEndAllowThreads(__tstate
);
2119 if (PyErr_Occurred()) SWIG_fail
;
2121 Py_INCREF(Py_None
); resultobj
= Py_None
;
2123 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2124 resultobj
= t_output_helper(resultobj
,o
);
2127 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2128 resultobj
= t_output_helper(resultobj
,o
);
2136 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2141 argc
= PyObject_Length(args
);
2142 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2143 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2149 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2158 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2161 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2169 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2177 _v
= SWIG_CheckInt(argv
[1]);
2179 _v
= SWIG_CheckInt(argv
[2]);
2181 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2187 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2192 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2193 PyObject
*resultobj
;
2194 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2198 PyObject
* obj0
= 0 ;
2199 PyObject
* obj1
= 0 ;
2201 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2206 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2216 wxPoint
* resultptr
;
2217 resultptr
= new wxPoint((wxPoint
&) result
);
2218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2226 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2227 PyObject
*resultobj
;
2228 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2231 int *arg4
= (int *) 0 ;
2232 int *arg5
= (int *) 0 ;
2235 PyObject
* obj0
= 0 ;
2236 PyObject
* obj1
= 0 ;
2237 PyObject
* obj2
= 0 ;
2241 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2244 arg2
= (int) SWIG_AsInt(obj1
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2246 arg3
= (int) SWIG_AsInt(obj2
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 Py_INCREF(Py_None
); resultobj
= Py_None
;
2257 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2258 resultobj
= t_output_helper(resultobj
,o
);
2261 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2262 resultobj
= t_output_helper(resultobj
,o
);
2270 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2275 argc
= PyObject_Length(args
);
2276 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2277 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2283 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2292 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2295 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2303 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2311 _v
= SWIG_CheckInt(argv
[1]);
2313 _v
= SWIG_CheckInt(argv
[2]);
2315 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2321 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2326 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2329 PyObject
* obj0
= 0 ;
2331 (char *) "self", NULL
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 (arg1
)->AdjustScrollbars();
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2344 Py_INCREF(Py_None
); resultobj
= Py_None
;
2351 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
*resultobj
;
2353 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2354 wxScrollWinEvent
*arg2
= 0 ;
2356 PyObject
* obj0
= 0 ;
2357 PyObject
* obj1
= 0 ;
2359 (char *) "self",(char *) "event", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2369 PyErr_SetString(PyExc_TypeError
,"null reference");
2373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2374 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2376 wxPyEndAllowThreads(__tstate
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2379 resultobj
= SWIG_FromInt((int)result
);
2386 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
;
2388 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2389 wxWindow
*arg2
= (wxWindow
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2391 PyObject
* obj1
= 0 ;
2393 (char *) "self",(char *) "target", NULL
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 (arg1
)->SetTargetWindow(arg2
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2408 Py_INCREF(Py_None
); resultobj
= Py_None
;
2415 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
*resultobj
;
2417 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2419 PyObject
* obj0
= 0 ;
2421 (char *) "self", NULL
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2435 resultobj
= wxPyMake_wxObject(result
);
2443 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
;
2445 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2448 PyObject
* obj0
= 0 ;
2449 PyObject
* obj1
= 0 ;
2451 (char *) "self",(char *) "rect", NULL
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2459 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2468 Py_INCREF(Py_None
); resultobj
= Py_None
;
2475 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2477 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2479 PyObject
* obj0
= 0 ;
2481 (char *) "self", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2496 resultptr
= new wxRect((wxRect
&) result
);
2497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2505 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2508 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2510 return Py_BuildValue((char *)"");
2512 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2513 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2518 static PyObject
*_wrap_FrameNameStr_get() {
2523 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2525 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2532 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2533 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2538 static PyObject
*_wrap_DialogNameStr_get() {
2543 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2545 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2552 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2553 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2558 static PyObject
*_wrap_StatusLineNameStr_get() {
2563 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2565 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2572 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2573 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2578 static PyObject
*_wrap_ToolBarNameStr_get() {
2583 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2585 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2592 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2595 bool arg2
= (bool) True
;
2596 PyObject
* obj0
= 0 ;
2597 PyObject
* obj1
= 0 ;
2599 (char *) "self",(char *) "maximize", NULL
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2606 arg2
= (bool) SWIG_AsBool(obj1
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 (arg1
)->Maximize(arg2
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2616 Py_INCREF(Py_None
); resultobj
= Py_None
;
2623 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2626 PyObject
* obj0
= 0 ;
2628 (char *) "self", NULL
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) SWIG_fail
;
2641 Py_INCREF(Py_None
); resultobj
= Py_None
;
2648 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
*resultobj
;
2650 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2651 bool arg2
= (bool) True
;
2652 PyObject
* obj0
= 0 ;
2653 PyObject
* obj1
= 0 ;
2655 (char *) "self",(char *) "iconize", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 arg2
= (bool) SWIG_AsBool(obj1
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 (arg1
)->Iconize(arg2
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2683 PyObject
* obj0
= 0 ;
2685 (char *) "self", NULL
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2707 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2711 PyObject
* obj0
= 0 ;
2713 (char *) "self", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2735 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
*resultobj
;
2737 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2739 PyObject
* obj0
= 0 ;
2741 (char *) "self", NULL
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2756 resultptr
= new wxIcon((wxIcon
&) result
);
2757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2765 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2769 PyObject
* obj0
= 0 ;
2770 PyObject
* obj1
= 0 ;
2772 (char *) "self",(char *) "icon", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2782 PyErr_SetString(PyExc_TypeError
,"null reference");
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2792 Py_INCREF(Py_None
); resultobj
= Py_None
;
2799 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2801 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2802 wxIconBundle
*arg2
= 0 ;
2803 PyObject
* obj0
= 0 ;
2804 PyObject
* obj1
= 0 ;
2806 (char *) "self",(char *) "icons", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2816 PyErr_SetString(PyExc_TypeError
,"null reference");
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2826 Py_INCREF(Py_None
); resultobj
= Py_None
;
2833 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
*resultobj
;
2835 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2837 long arg3
= (long) wxFULLSCREEN_ALL
;
2839 PyObject
* obj0
= 0 ;
2840 PyObject
* obj1
= 0 ;
2841 PyObject
* obj2
= 0 ;
2843 (char *) "self",(char *) "show",(char *) "style", NULL
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2849 arg2
= (bool) SWIG_AsBool(obj1
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2852 arg3
= (long) SWIG_AsLong(obj2
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2871 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(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_IsFullScreen",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
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2899 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
*resultobj
;
2901 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2902 wxString
*arg2
= 0 ;
2903 bool temp2
= False
;
2904 PyObject
* obj0
= 0 ;
2905 PyObject
* obj1
= 0 ;
2907 (char *) "self",(char *) "title", NULL
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2914 arg2
= wxString_in_helper(obj1
);
2915 if (arg2
== NULL
) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 (arg1
)->SetTitle((wxString
const &)*arg2
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 Py_INCREF(Py_None
); resultobj
= Py_None
;
2940 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2972 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2974 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2975 wxRegion
*arg2
= 0 ;
2977 PyObject
* obj0
= 0 ;
2978 PyObject
* obj1
= 0 ;
2980 (char *) "self",(char *) "region", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2990 PyErr_SetString(PyExc_TypeError
,"null reference");
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3009 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3012 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3014 return Py_BuildValue((char *)"");
3016 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
;
3018 wxWindow
*arg1
= (wxWindow
*) 0 ;
3020 wxString
*arg3
= 0 ;
3021 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3022 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3023 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3024 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3025 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3026 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3027 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3029 bool temp3
= False
;
3032 bool temp7
= False
;
3033 PyObject
* obj0
= 0 ;
3034 PyObject
* obj1
= 0 ;
3035 PyObject
* obj2
= 0 ;
3036 PyObject
* obj3
= 0 ;
3037 PyObject
* obj4
= 0 ;
3038 PyObject
* obj5
= 0 ;
3039 PyObject
* obj6
= 0 ;
3041 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3047 arg2
= (int const) SWIG_AsInt(obj1
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3050 arg3
= wxString_in_helper(obj2
);
3051 if (arg3
== NULL
) SWIG_fail
;
3057 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3063 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3067 arg6
= (long) SWIG_AsLong(obj5
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3072 arg7
= wxString_in_helper(obj6
);
3073 if (arg7
== NULL
) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3085 resultobj
= wxPyMake_wxObject(result
);
3109 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
*resultobj
;
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 result
= (wxFrame
*)new wxFrame();
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3125 resultobj
= wxPyMake_wxObject(result
);
3133 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
;
3135 wxFrame
*arg1
= (wxFrame
*) 0 ;
3136 wxWindow
*arg2
= (wxWindow
*) 0 ;
3138 wxString
*arg4
= 0 ;
3139 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3140 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3141 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3142 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3143 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3144 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3145 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3147 bool temp4
= False
;
3150 bool temp8
= False
;
3151 PyObject
* obj0
= 0 ;
3152 PyObject
* obj1
= 0 ;
3153 PyObject
* obj2
= 0 ;
3154 PyObject
* obj3
= 0 ;
3155 PyObject
* obj4
= 0 ;
3156 PyObject
* obj5
= 0 ;
3157 PyObject
* obj6
= 0 ;
3158 PyObject
* obj7
= 0 ;
3160 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3168 arg3
= (int const) SWIG_AsInt(obj2
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3171 arg4
= wxString_in_helper(obj3
);
3172 if (arg4
== NULL
) SWIG_fail
;
3178 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3184 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3188 arg7
= (long) SWIG_AsLong(obj6
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3193 arg8
= wxString_in_helper(obj7
);
3194 if (arg8
== NULL
) SWIG_fail
;
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3230 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
;
3232 wxFrame
*arg1
= (wxFrame
*) 0 ;
3234 PyObject
* obj0
= 0 ;
3236 (char *) "self", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3250 wxPoint
* resultptr
;
3251 resultptr
= new wxPoint((wxPoint
&) result
);
3252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3260 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
;
3262 wxFrame
*arg1
= (wxFrame
*) 0 ;
3263 PyObject
* obj0
= 0 ;
3265 (char *) "self", NULL
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 (arg1
)->SendSizeEvent();
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3278 Py_INCREF(Py_None
); resultobj
= Py_None
;
3285 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
*resultobj
;
3287 wxFrame
*arg1
= (wxFrame
*) 0 ;
3288 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3289 PyObject
* obj0
= 0 ;
3290 PyObject
* obj1
= 0 ;
3292 (char *) "self",(char *) "menubar", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 (arg1
)->SetMenuBar(arg2
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 Py_INCREF(Py_None
); resultobj
= Py_None
;
3314 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
;
3316 wxFrame
*arg1
= (wxFrame
*) 0 ;
3318 PyObject
* obj0
= 0 ;
3320 (char *) "self", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3334 resultobj
= wxPyMake_wxObject(result
);
3342 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
*resultobj
;
3344 wxFrame
*arg1
= (wxFrame
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3348 PyObject
* obj1
= 0 ;
3350 (char *) "self",(char *) "winid", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 arg2
= (int) SWIG_AsInt(obj1
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3374 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxFrame
*arg1
= (wxFrame
*) 0 ;
3377 int arg2
= (int) 1 ;
3378 long arg3
= (long) wxST_SIZEGRIP
;
3379 int arg4
= (int) 0 ;
3380 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3381 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3382 wxStatusBar
*result
;
3383 bool temp5
= False
;
3384 PyObject
* obj0
= 0 ;
3385 PyObject
* obj1
= 0 ;
3386 PyObject
* obj2
= 0 ;
3387 PyObject
* obj3
= 0 ;
3388 PyObject
* obj4
= 0 ;
3390 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3397 arg2
= (int) SWIG_AsInt(obj1
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3401 arg3
= (long) SWIG_AsLong(obj2
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3405 arg4
= (int) SWIG_AsInt(obj3
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3410 arg5
= wxString_in_helper(obj4
);
3411 if (arg5
== NULL
) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3423 resultobj
= wxPyMake_wxObject(result
);
3439 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
;
3441 wxFrame
*arg1
= (wxFrame
*) 0 ;
3442 wxStatusBar
*result
;
3443 PyObject
* obj0
= 0 ;
3445 (char *) "self", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3459 resultobj
= wxPyMake_wxObject(result
);
3467 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
*resultobj
;
3469 wxFrame
*arg1
= (wxFrame
*) 0 ;
3470 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3471 PyObject
* obj0
= 0 ;
3472 PyObject
* obj1
= 0 ;
3474 (char *) "self",(char *) "statBar", NULL
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 (arg1
)->SetStatusBar(arg2
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3489 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxFrame
*arg1
= (wxFrame
*) 0 ;
3499 wxString
*arg2
= 0 ;
3500 int arg3
= (int) 0 ;
3501 bool temp2
= False
;
3502 PyObject
* obj0
= 0 ;
3503 PyObject
* obj1
= 0 ;
3504 PyObject
* obj2
= 0 ;
3506 (char *) "self",(char *) "text",(char *) "number", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3513 arg2
= wxString_in_helper(obj1
);
3514 if (arg2
== NULL
) SWIG_fail
;
3518 arg3
= (int) SWIG_AsInt(obj2
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3528 Py_INCREF(Py_None
); resultobj
= Py_None
;
3543 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
;
3545 wxFrame
*arg1
= (wxFrame
*) 0 ;
3547 int *arg3
= (int *) 0 ;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3551 (char *) "self",(char *) "widths", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3558 arg2
= PyList_Size(obj1
);
3559 arg3
= int_LIST_helper(obj1
);
3560 if (arg3
== NULL
) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 Py_INCREF(Py_None
); resultobj
= Py_None
;
3571 if (arg3
) delete [] arg3
;
3576 if (arg3
) delete [] arg3
;
3582 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxFrame
*arg1
= (wxFrame
*) 0 ;
3585 wxString
*arg2
= 0 ;
3586 int arg3
= (int) 0 ;
3587 bool temp2
= False
;
3588 PyObject
* obj0
= 0 ;
3589 PyObject
* obj1
= 0 ;
3590 PyObject
* obj2
= 0 ;
3592 (char *) "self",(char *) "text",(char *) "number", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3599 arg2
= wxString_in_helper(obj1
);
3600 if (arg2
== NULL
) SWIG_fail
;
3604 arg3
= (int) SWIG_AsInt(obj2
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3614 Py_INCREF(Py_None
); resultobj
= Py_None
;
3629 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3631 wxFrame
*arg1
= (wxFrame
*) 0 ;
3632 int arg2
= (int) 0 ;
3633 PyObject
* obj0
= 0 ;
3634 PyObject
* obj1
= 0 ;
3636 (char *) "self",(char *) "number", NULL
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3643 arg2
= (int) SWIG_AsInt(obj1
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 (arg1
)->PopStatusText(arg2
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 Py_INCREF(Py_None
); resultobj
= Py_None
;
3660 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxFrame
*arg1
= (wxFrame
*) 0 ;
3664 PyObject
* obj0
= 0 ;
3665 PyObject
* obj1
= 0 ;
3667 (char *) "self",(char *) "n", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3673 arg2
= (int) SWIG_AsInt(obj1
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 (arg1
)->SetStatusBarPane(arg2
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3682 Py_INCREF(Py_None
); resultobj
= Py_None
;
3689 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3691 wxFrame
*arg1
= (wxFrame
*) 0 ;
3693 PyObject
* obj0
= 0 ;
3695 (char *) "self", NULL
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 resultobj
= SWIG_FromInt((int)result
);
3715 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
;
3717 wxFrame
*arg1
= (wxFrame
*) 0 ;
3718 long arg2
= (long) -1 ;
3719 int arg3
= (int) -1 ;
3720 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3721 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3723 bool temp4
= False
;
3724 PyObject
* obj0
= 0 ;
3725 PyObject
* obj1
= 0 ;
3726 PyObject
* obj2
= 0 ;
3727 PyObject
* obj3
= 0 ;
3729 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3736 arg2
= (long) SWIG_AsLong(obj1
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3740 arg3
= (int) SWIG_AsInt(obj2
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3745 arg4
= wxString_in_helper(obj3
);
3746 if (arg4
== NULL
) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= wxPyMake_wxObject(result
);
3774 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxFrame
*arg1
= (wxFrame
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3780 (char *) "self", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= wxPyMake_wxObject(result
);
3802 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3804 wxFrame
*arg1
= (wxFrame
*) 0 ;
3805 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3806 PyObject
* obj0
= 0 ;
3807 PyObject
* obj1
= 0 ;
3809 (char *) "self",(char *) "toolbar", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 (arg1
)->SetToolBar(arg2
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 Py_INCREF(Py_None
); resultobj
= Py_None
;
3831 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxFrame
*arg1
= (wxFrame
*) 0 ;
3834 wxString
*arg2
= 0 ;
3836 bool temp2
= False
;
3837 PyObject
* obj0
= 0 ;
3838 PyObject
* obj1
= 0 ;
3839 PyObject
* obj2
= 0 ;
3841 (char *) "self",(char *) "text",(char *) "show", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3848 arg2
= wxString_in_helper(obj1
);
3849 if (arg2
== NULL
) SWIG_fail
;
3852 arg3
= (bool) SWIG_AsBool(obj2
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3861 Py_INCREF(Py_None
); resultobj
= Py_None
;
3876 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 wxFrame
*arg1
= (wxFrame
*) 0 ;
3879 wxMenu
*arg2
= (wxMenu
*) NULL
;
3880 PyObject
* obj0
= 0 ;
3881 PyObject
* obj1
= 0 ;
3883 (char *) "self",(char *) "menu", NULL
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 (arg1
)->DoMenuUpdates(arg2
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3900 Py_INCREF(Py_None
); resultobj
= Py_None
;
3907 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3910 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3912 return Py_BuildValue((char *)"");
3914 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxWindow
*arg1
= (wxWindow
*) 0 ;
3918 wxString
*arg3
= 0 ;
3919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3923 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3924 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3925 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3927 bool temp3
= False
;
3930 bool temp7
= False
;
3931 PyObject
* obj0
= 0 ;
3932 PyObject
* obj1
= 0 ;
3933 PyObject
* obj2
= 0 ;
3934 PyObject
* obj3
= 0 ;
3935 PyObject
* obj4
= 0 ;
3936 PyObject
* obj5
= 0 ;
3937 PyObject
* obj6
= 0 ;
3939 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3945 arg2
= (int const) SWIG_AsInt(obj1
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 arg3
= wxString_in_helper(obj2
);
3949 if (arg3
== NULL
) SWIG_fail
;
3955 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3961 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3965 arg6
= (long) SWIG_AsLong(obj5
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3970 arg7
= wxString_in_helper(obj6
);
3971 if (arg7
== NULL
) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4005 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= (wxDialog
*)new wxDialog();
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4027 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxDialog
*arg1
= (wxDialog
*) 0 ;
4030 wxWindow
*arg2
= (wxWindow
*) 0 ;
4032 wxString
*arg4
= 0 ;
4033 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4034 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4035 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4036 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4037 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4038 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4039 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4041 bool temp4
= False
;
4044 bool temp8
= False
;
4045 PyObject
* obj0
= 0 ;
4046 PyObject
* obj1
= 0 ;
4047 PyObject
* obj2
= 0 ;
4048 PyObject
* obj3
= 0 ;
4049 PyObject
* obj4
= 0 ;
4050 PyObject
* obj5
= 0 ;
4051 PyObject
* obj6
= 0 ;
4052 PyObject
* obj7
= 0 ;
4054 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4062 arg3
= (int const) SWIG_AsInt(obj2
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 arg4
= wxString_in_helper(obj3
);
4066 if (arg4
== NULL
) SWIG_fail
;
4072 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4078 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4082 arg7
= (long) SWIG_AsLong(obj6
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4087 arg8
= wxString_in_helper(obj7
);
4088 if (arg8
== NULL
) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4124 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4126 wxDialog
*arg1
= (wxDialog
*) 0 ;
4128 PyObject
* obj0
= 0 ;
4129 PyObject
* obj1
= 0 ;
4131 (char *) "self",(char *) "returnCode", NULL
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4137 arg2
= (int) SWIG_AsInt(obj1
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 (arg1
)->SetReturnCode(arg2
);
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 Py_INCREF(Py_None
); resultobj
= Py_None
;
4153 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxDialog
*arg1
= (wxDialog
*) 0 ;
4157 PyObject
* obj0
= 0 ;
4159 (char *) "self", NULL
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= SWIG_FromInt((int)result
);
4179 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
*resultobj
;
4181 wxDialog
*arg1
= (wxDialog
*) 0 ;
4182 wxString
*arg2
= 0 ;
4184 bool temp2
= False
;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4188 (char *) "self",(char *) "message", NULL
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4195 arg2
= wxString_in_helper(obj1
);
4196 if (arg2
== NULL
) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4207 resultobj
= wxPyMake_wxSizer(result
);
4223 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxDialog
*arg1
= (wxDialog
*) 0 ;
4228 PyObject
* obj0
= 0 ;
4229 PyObject
* obj1
= 0 ;
4231 (char *) "self",(char *) "flags", NULL
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4237 arg2
= (long) SWIG_AsLong(obj1
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= wxPyMake_wxSizer(result
);
4255 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4257 wxDialog
*arg1
= (wxDialog
*) 0 ;
4259 PyObject
* obj0
= 0 ;
4261 (char *) "self", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4283 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxDialog
*arg1
= (wxDialog
*) 0 ;
4287 PyObject
* obj0
= 0 ;
4289 (char *) "self", NULL
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (int)(arg1
)->ShowModal();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= SWIG_FromInt((int)result
);
4309 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxDialog
*arg1
= (wxDialog
*) 0 ;
4313 PyObject
* obj0
= 0 ;
4314 PyObject
* obj1
= 0 ;
4316 (char *) "self",(char *) "retCode", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4322 arg2
= (int) SWIG_AsInt(obj1
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 (arg1
)->EndModal(arg2
);
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 Py_INCREF(Py_None
); resultobj
= Py_None
;
4338 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4340 wxDialog
*arg1
= (wxDialog
*) 0 ;
4342 PyObject
* obj0
= 0 ;
4344 (char *) "self", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 result
= (bool)wxDialog_IsModalShowing(arg1
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4366 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4369 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4371 return Py_BuildValue((char *)"");
4373 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxWindow
*arg1
= (wxWindow
*) 0 ;
4377 wxString
*arg3
= 0 ;
4378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4382 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4383 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4384 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4385 wxMiniFrame
*result
;
4386 bool temp3
= False
;
4389 bool temp7
= False
;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4392 PyObject
* obj2
= 0 ;
4393 PyObject
* obj3
= 0 ;
4394 PyObject
* obj4
= 0 ;
4395 PyObject
* obj5
= 0 ;
4396 PyObject
* obj6
= 0 ;
4398 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4404 arg2
= (int const) SWIG_AsInt(obj1
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4407 arg3
= wxString_in_helper(obj2
);
4408 if (arg3
== NULL
) SWIG_fail
;
4414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4424 arg6
= (long) SWIG_AsLong(obj5
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4429 arg7
= wxString_in_helper(obj6
);
4430 if (arg7
== NULL
) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4464 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxMiniFrame
*result
;
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (wxMiniFrame
*)new wxMiniFrame();
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4486 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
;
4488 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4489 wxWindow
*arg2
= (wxWindow
*) 0 ;
4491 wxString
*arg4
= 0 ;
4492 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4493 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4494 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4495 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4496 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4497 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4498 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4500 bool temp4
= False
;
4503 bool temp8
= False
;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4506 PyObject
* obj2
= 0 ;
4507 PyObject
* obj3
= 0 ;
4508 PyObject
* obj4
= 0 ;
4509 PyObject
* obj5
= 0 ;
4510 PyObject
* obj6
= 0 ;
4511 PyObject
* obj7
= 0 ;
4513 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4521 arg3
= (int const) SWIG_AsInt(obj2
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 arg4
= wxString_in_helper(obj3
);
4525 if (arg4
== NULL
) SWIG_fail
;
4531 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4537 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4541 arg7
= (long) SWIG_AsLong(obj6
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4546 arg8
= wxString_in_helper(obj7
);
4547 if (arg8
== NULL
) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4583 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4586 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4588 return Py_BuildValue((char *)"");
4590 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxBitmap
*arg1
= 0 ;
4593 wxWindow
*arg2
= (wxWindow
*) 0 ;
4595 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4596 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4597 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4598 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4599 long arg6
= (long) wxNO_BORDER
;
4600 wxSplashScreenWindow
*result
;
4603 PyObject
* obj0
= 0 ;
4604 PyObject
* obj1
= 0 ;
4605 PyObject
* obj2
= 0 ;
4606 PyObject
* obj3
= 0 ;
4607 PyObject
* obj4
= 0 ;
4608 PyObject
* obj5
= 0 ;
4610 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4618 PyErr_SetString(PyExc_TypeError
,"null reference");
4621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4623 arg3
= (int) SWIG_AsInt(obj2
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4638 arg6
= (long) SWIG_AsLong(obj5
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4655 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
;
4657 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4658 wxBitmap
*arg2
= 0 ;
4659 PyObject
* obj0
= 0 ;
4660 PyObject
* obj1
= 0 ;
4662 (char *) "self",(char *) "bitmap", NULL
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4672 PyErr_SetString(PyExc_TypeError
,"null reference");
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 Py_INCREF(Py_None
); resultobj
= Py_None
;
4689 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
;
4691 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4695 (char *) "self", NULL
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4705 result
= (wxBitmap
*) &_result_ref
;
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4712 wxBitmap
* resultptr
= new wxBitmap(*result
);
4713 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4721 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4724 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4726 return Py_BuildValue((char *)"");
4728 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4730 wxBitmap
*arg1
= 0 ;
4733 wxWindow
*arg4
= (wxWindow
*) 0 ;
4735 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4736 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4737 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4738 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4739 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4740 wxSplashScreen
*result
;
4743 PyObject
* obj0
= 0 ;
4744 PyObject
* obj1
= 0 ;
4745 PyObject
* obj2
= 0 ;
4746 PyObject
* obj3
= 0 ;
4747 PyObject
* obj4
= 0 ;
4748 PyObject
* obj5
= 0 ;
4749 PyObject
* obj6
= 0 ;
4750 PyObject
* obj7
= 0 ;
4752 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4760 PyErr_SetString(PyExc_TypeError
,"null reference");
4763 arg2
= (long) SWIG_AsLong(obj1
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4765 arg3
= (int) SWIG_AsInt(obj2
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4767 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4769 arg5
= (int) SWIG_AsInt(obj4
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4774 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4780 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4784 arg8
= (long) SWIG_AsLong(obj7
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4801 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
*resultobj
;
4803 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4805 PyObject
* obj0
= 0 ;
4807 (char *) "self", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_FromLong((long)result
);
4827 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4830 wxSplashScreenWindow
*result
;
4831 PyObject
* obj0
= 0 ;
4833 (char *) "self", NULL
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4853 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4859 (char *) "self", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= SWIG_FromInt((int)result
);
4879 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4882 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4884 return Py_BuildValue((char *)"");
4886 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxWindow
*arg1
= (wxWindow
*) 0 ;
4889 int arg2
= (int) -1 ;
4890 long arg3
= (long) wxST_SIZEGRIP
;
4891 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4892 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4893 wxStatusBar
*result
;
4894 bool temp4
= False
;
4895 PyObject
* obj0
= 0 ;
4896 PyObject
* obj1
= 0 ;
4897 PyObject
* obj2
= 0 ;
4898 PyObject
* obj3
= 0 ;
4900 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4907 arg2
= (int) SWIG_AsInt(obj1
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4911 arg3
= (long) SWIG_AsLong(obj2
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4916 arg4
= wxString_in_helper(obj3
);
4917 if (arg4
== NULL
) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= wxPyMake_wxObject(result
);
4945 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxStatusBar
*result
;
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (wxStatusBar
*)new wxStatusBar();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= wxPyMake_wxObject(result
);
4969 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4972 wxWindow
*arg2
= (wxWindow
*) 0 ;
4974 long arg4
= (long) wxST_SIZEGRIP
;
4975 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4976 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4978 bool temp5
= False
;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj1
= 0 ;
4981 PyObject
* obj2
= 0 ;
4982 PyObject
* obj3
= 0 ;
4983 PyObject
* obj4
= 0 ;
4985 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4993 arg3
= (int) SWIG_AsInt(obj2
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 arg4
= (long) SWIG_AsLong(obj3
);
4997 if (PyErr_Occurred()) SWIG_fail
;
5001 arg5
= wxString_in_helper(obj4
);
5002 if (arg5
== NULL
) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5030 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5033 int arg2
= (int) 1 ;
5034 PyObject
* obj0
= 0 ;
5035 PyObject
* obj1
= 0 ;
5037 (char *) "self",(char *) "number", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5044 arg2
= (int) SWIG_AsInt(obj1
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 (arg1
)->SetFieldsCount(arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 Py_INCREF(Py_None
); resultobj
= Py_None
;
5061 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "self", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= SWIG_FromInt((int)result
);
5087 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5090 wxString
*arg2
= 0 ;
5091 int arg3
= (int) 0 ;
5092 bool temp2
= False
;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5095 PyObject
* obj2
= 0 ;
5097 (char *) "self",(char *) "text",(char *) "number", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5104 arg2
= wxString_in_helper(obj1
);
5105 if (arg2
== NULL
) SWIG_fail
;
5109 arg3
= (int) SWIG_AsInt(obj2
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 Py_INCREF(Py_None
); resultobj
= Py_None
;
5134 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
;
5136 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5137 int arg2
= (int) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5142 (char *) "self",(char *) "number", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5149 arg2
= (int) SWIG_AsInt(obj1
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5172 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
;
5174 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5175 wxString
*arg2
= 0 ;
5176 int arg3
= (int) 0 ;
5177 bool temp2
= False
;
5178 PyObject
* obj0
= 0 ;
5179 PyObject
* obj1
= 0 ;
5180 PyObject
* obj2
= 0 ;
5182 (char *) "self",(char *) "text",(char *) "number", NULL
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5189 arg2
= wxString_in_helper(obj1
);
5190 if (arg2
== NULL
) SWIG_fail
;
5194 arg3
= (int) SWIG_AsInt(obj2
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 Py_INCREF(Py_None
); resultobj
= Py_None
;
5219 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5222 int arg2
= (int) 0 ;
5223 PyObject
* obj0
= 0 ;
5224 PyObject
* obj1
= 0 ;
5226 (char *) "self",(char *) "number", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5233 arg2
= (int) SWIG_AsInt(obj1
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 (arg1
)->PopStatusText(arg2
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 Py_INCREF(Py_None
); resultobj
= Py_None
;
5250 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5254 int *arg3
= (int *) 0 ;
5255 PyObject
* obj0
= 0 ;
5256 PyObject
* obj1
= 0 ;
5258 (char *) "self",(char *) "widths", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5265 arg2
= PyList_Size(obj1
);
5266 arg3
= int_LIST_helper(obj1
);
5267 if (arg3
== NULL
) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 Py_INCREF(Py_None
); resultobj
= Py_None
;
5278 if (arg3
) delete [] arg3
;
5283 if (arg3
) delete [] arg3
;
5289 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5297 (char *) "self",(char *) "i", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5303 arg2
= (int) SWIG_AsInt(obj1
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5314 resultptr
= new wxRect((wxRect
&) result
);
5315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5323 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5328 PyObject
* obj1
= 0 ;
5330 (char *) "self",(char *) "height", NULL
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5336 arg2
= (int) SWIG_AsInt(obj1
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 (arg1
)->SetMinHeight(arg2
);
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 Py_INCREF(Py_None
); resultobj
= Py_None
;
5352 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_FromInt((int)result
);
5378 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5384 (char *) "self", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_FromInt((int)result
);
5404 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5407 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5409 return Py_BuildValue((char *)"");
5411 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5412 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5417 static PyObject
*_wrap_SplitterNameStr_get() {
5422 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5424 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5431 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
;
5433 wxWindow
*arg1
= (wxWindow
*) 0 ;
5434 int arg2
= (int) -1 ;
5435 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5436 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5437 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5438 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5439 long arg5
= (long) wxSP_3D
;
5440 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5441 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5442 wxSplitterWindow
*result
;
5445 bool temp6
= False
;
5446 PyObject
* obj0
= 0 ;
5447 PyObject
* obj1
= 0 ;
5448 PyObject
* obj2
= 0 ;
5449 PyObject
* obj3
= 0 ;
5450 PyObject
* obj4
= 0 ;
5451 PyObject
* obj5
= 0 ;
5453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5460 arg2
= (int) SWIG_AsInt(obj1
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5466 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5472 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5476 arg5
= (long) SWIG_AsLong(obj4
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5481 arg6
= wxString_in_helper(obj5
);
5482 if (arg6
== NULL
) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5508 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxSplitterWindow
*result
;
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5530 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5533 wxWindow
*arg2
= (wxWindow
*) 0 ;
5534 int arg3
= (int) -1 ;
5535 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5536 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5537 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5538 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5539 long arg6
= (long) wxSP_3D
;
5540 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5541 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5545 bool temp7
= False
;
5546 PyObject
* obj0
= 0 ;
5547 PyObject
* obj1
= 0 ;
5548 PyObject
* obj2
= 0 ;
5549 PyObject
* obj3
= 0 ;
5550 PyObject
* obj4
= 0 ;
5551 PyObject
* obj5
= 0 ;
5552 PyObject
* obj6
= 0 ;
5554 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5563 arg3
= (int) SWIG_AsInt(obj2
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5569 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5575 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5579 arg6
= (long) SWIG_AsLong(obj5
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5584 arg7
= wxString_in_helper(obj6
);
5585 if (arg7
== NULL
) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5613 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5615 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5617 PyObject
* obj0
= 0 ;
5619 (char *) "self", NULL
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= wxPyMake_wxObject(result
);
5641 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5647 (char *) "self", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= wxPyMake_wxObject(result
);
5669 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
;
5671 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5673 PyObject
* obj0
= 0 ;
5674 PyObject
* obj1
= 0 ;
5676 (char *) "self",(char *) "mode", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5682 arg2
= (int) SWIG_AsInt(obj1
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 (arg1
)->SetSplitMode(arg2
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 Py_INCREF(Py_None
); resultobj
= Py_None
;
5698 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5702 PyObject
* obj0
= 0 ;
5704 (char *) "self", NULL
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= SWIG_FromInt((int)result
);
5724 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5726 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5727 wxWindow
*arg2
= (wxWindow
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5729 PyObject
* obj1
= 0 ;
5731 (char *) "self",(char *) "window", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 (arg1
)->Initialize(arg2
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 Py_INCREF(Py_None
); resultobj
= Py_None
;
5753 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5756 wxWindow
*arg2
= (wxWindow
*) 0 ;
5757 wxWindow
*arg3
= (wxWindow
*) 0 ;
5758 int arg4
= (int) 0 ;
5760 PyObject
* obj0
= 0 ;
5761 PyObject
* obj1
= 0 ;
5762 PyObject
* obj2
= 0 ;
5763 PyObject
* obj3
= 0 ;
5765 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5773 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5776 arg4
= (int) SWIG_AsInt(obj3
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5795 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5798 wxWindow
*arg2
= (wxWindow
*) 0 ;
5799 wxWindow
*arg3
= (wxWindow
*) 0 ;
5800 int arg4
= (int) 0 ;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5804 PyObject
* obj2
= 0 ;
5805 PyObject
* obj3
= 0 ;
5807 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5815 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5818 arg4
= (int) SWIG_AsInt(obj3
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5837 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5840 wxWindow
*arg2
= (wxWindow
*) NULL
;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5845 (char *) "self",(char *) "toRemove", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (bool)(arg1
)->Unsplit(arg2
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5871 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5874 wxWindow
*arg2
= (wxWindow
*) 0 ;
5875 wxWindow
*arg3
= (wxWindow
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5878 PyObject
* obj1
= 0 ;
5879 PyObject
* obj2
= 0 ;
5881 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5889 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5907 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
;
5909 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5910 PyObject
* obj0
= 0 ;
5912 (char *) "self", NULL
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 (arg1
)->UpdateSize();
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 Py_INCREF(Py_None
); resultobj
= Py_None
;
5932 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
;
5934 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5936 PyObject
* obj0
= 0 ;
5938 (char *) "self", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5960 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5965 PyObject
* obj1
= 0 ;
5967 (char *) "self",(char *) "width", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5973 arg2
= (int) SWIG_AsInt(obj1
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 (arg1
)->SetSashSize(arg2
);
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 Py_INCREF(Py_None
); resultobj
= Py_None
;
5989 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5993 PyObject
* obj0
= 0 ;
5994 PyObject
* obj1
= 0 ;
5996 (char *) "self",(char *) "width", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6002 arg2
= (int) SWIG_AsInt(obj1
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 (arg1
)->SetBorderSize(arg2
);
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 Py_INCREF(Py_None
); resultobj
= Py_None
;
6018 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6022 PyObject
* obj0
= 0 ;
6024 (char *) "self", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= SWIG_FromInt((int)result
);
6044 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6048 PyObject
* obj0
= 0 ;
6050 (char *) "self", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= SWIG_FromInt((int)result
);
6070 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6074 bool arg3
= (bool) True
;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6077 PyObject
* obj2
= 0 ;
6079 (char *) "self",(char *) "position",(char *) "redraw", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 arg2
= (int) SWIG_AsInt(obj1
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 arg3
= (bool) SWIG_AsBool(obj2
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 (arg1
)->SetSashPosition(arg2
,arg3
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 Py_INCREF(Py_None
); resultobj
= Py_None
;
6105 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6109 PyObject
* obj0
= 0 ;
6111 (char *) "self", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= SWIG_FromInt((int)result
);
6131 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
;
6133 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6136 PyObject
* obj1
= 0 ;
6138 (char *) "self",(char *) "min", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 arg2
= (int) SWIG_AsInt(obj1
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 (arg1
)->SetMinimumPaneSize(arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 Py_INCREF(Py_None
); resultobj
= Py_None
;
6160 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6164 PyObject
* obj0
= 0 ;
6166 (char *) "self", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_FromInt((int)result
);
6186 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6191 int arg4
= (int) 5 ;
6193 PyObject
* obj0
= 0 ;
6194 PyObject
* obj1
= 0 ;
6195 PyObject
* obj2
= 0 ;
6196 PyObject
* obj3
= 0 ;
6198 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 arg2
= (int) SWIG_AsInt(obj1
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6206 arg3
= (int) SWIG_AsInt(obj2
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 arg4
= (int) SWIG_AsInt(obj3
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6228 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6231 PyObject
* obj0
= 0 ;
6233 (char *) "self", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 (arg1
)->SizeWindows();
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 Py_INCREF(Py_None
); resultobj
= Py_None
;
6253 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6260 (char *) "self",(char *) "needUpdating", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6266 arg2
= (bool) SWIG_AsBool(obj1
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 (arg1
)->SetNeedUpdating(arg2
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 Py_INCREF(Py_None
); resultobj
= Py_None
;
6282 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6286 PyObject
* obj0
= 0 ;
6288 (char *) "self", NULL
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6310 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6313 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6315 return Py_BuildValue((char *)"");
6317 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6320 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6321 wxSplitterEvent
*result
;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6325 (char *) "type",(char *) "splitter", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6330 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6351 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6355 PyObject
* obj0
= 0 ;
6356 PyObject
* obj1
= 0 ;
6358 (char *) "self",(char *) "pos", NULL
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6364 arg2
= (int) SWIG_AsInt(obj1
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 (arg1
)->SetSashPosition(arg2
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 Py_INCREF(Py_None
); resultobj
= Py_None
;
6380 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
;
6382 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6384 PyObject
* obj0
= 0 ;
6386 (char *) "self", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= SWIG_FromInt((int)result
);
6406 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6410 PyObject
* obj0
= 0 ;
6412 (char *) "self", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= wxPyMake_wxObject(result
);
6434 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6440 (char *) "self", NULL
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= SWIG_FromInt((int)result
);
6460 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
*resultobj
;
6462 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6464 PyObject
* obj0
= 0 ;
6466 (char *) "self", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_FromInt((int)result
);
6486 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6489 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6491 return Py_BuildValue((char *)"");
6493 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6494 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6499 static PyObject
*_wrap_SashNameStr_get() {
6504 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6506 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6513 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6514 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6519 static PyObject
*_wrap_SashLayoutNameStr_get() {
6524 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6526 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6533 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxWindow
*arg1
= (wxWindow
*) 0 ;
6537 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6538 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6539 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6540 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6541 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6542 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6543 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6544 wxSashWindow
*result
;
6547 bool temp6
= False
;
6548 PyObject
* obj0
= 0 ;
6549 PyObject
* obj1
= 0 ;
6550 PyObject
* obj2
= 0 ;
6551 PyObject
* obj3
= 0 ;
6552 PyObject
* obj4
= 0 ;
6553 PyObject
* obj5
= 0 ;
6555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6561 arg2
= (int) SWIG_AsInt(obj1
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6566 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6572 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6576 arg5
= (long) SWIG_AsLong(obj4
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6581 arg6
= wxString_in_helper(obj5
);
6582 if (arg6
== NULL
) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6608 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxSashWindow
*result
;
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (wxSashWindow
*)new wxSashWindow();
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6630 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6633 wxWindow
*arg2
= (wxWindow
*) 0 ;
6635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6639 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6640 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6645 bool temp7
= False
;
6646 PyObject
* obj0
= 0 ;
6647 PyObject
* obj1
= 0 ;
6648 PyObject
* obj2
= 0 ;
6649 PyObject
* obj3
= 0 ;
6650 PyObject
* obj4
= 0 ;
6651 PyObject
* obj5
= 0 ;
6652 PyObject
* obj6
= 0 ;
6654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6662 arg3
= (int) SWIG_AsInt(obj2
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6667 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6673 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6677 arg6
= (long) SWIG_AsLong(obj5
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6682 arg7
= wxString_in_helper(obj6
);
6683 if (arg7
== NULL
) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6711 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6718 PyObject
* obj2
= 0 ;
6720 (char *) "self",(char *) "edge",(char *) "sash", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
6728 arg3
= (bool) SWIG_AsBool(obj2
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6737 Py_INCREF(Py_None
); resultobj
= Py_None
;
6744 static PyObject
*_wrap_SashWindow_GetSashVisible(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_GetSashVisible",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
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6776 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6783 PyObject
* obj2
= 0 ;
6785 (char *) "self",(char *) "edge",(char *) "border", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6791 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6793 arg3
= (bool) SWIG_AsBool(obj2
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 Py_INCREF(Py_None
); resultobj
= Py_None
;
6809 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6817 (char *) "self",(char *) "edge", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6823 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6841 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
;
6843 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6846 PyObject
* obj0
= 0 ;
6847 PyObject
* obj1
= 0 ;
6849 (char *) "self",(char *) "edge", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6855 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= SWIG_FromInt((int)result
);
6871 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
;
6873 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6878 (char *) "self",(char *) "width", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6884 arg2
= (int) SWIG_AsInt(obj1
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 (arg1
)->SetDefaultBorderSize(arg2
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 Py_INCREF(Py_None
); resultobj
= Py_None
;
6900 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6904 PyObject
* obj0
= 0 ;
6906 (char *) "self", NULL
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_FromInt((int)result
);
6926 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6930 PyObject
* obj0
= 0 ;
6931 PyObject
* obj1
= 0 ;
6933 (char *) "self",(char *) "width", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6939 arg2
= (int) SWIG_AsInt(obj1
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 (arg1
)->SetExtraBorderSize(arg2
);
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 Py_INCREF(Py_None
); resultobj
= Py_None
;
6955 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6959 PyObject
* obj0
= 0 ;
6961 (char *) "self", NULL
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= SWIG_FromInt((int)result
);
6981 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6988 (char *) "self",(char *) "min", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6994 arg2
= (int) SWIG_AsInt(obj1
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 (arg1
)->SetMinimumSizeX(arg2
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 Py_INCREF(Py_None
); resultobj
= Py_None
;
7010 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7017 (char *) "self",(char *) "min", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7023 arg2
= (int) SWIG_AsInt(obj1
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 (arg1
)->SetMinimumSizeY(arg2
);
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 Py_INCREF(Py_None
); resultobj
= Py_None
;
7039 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7043 PyObject
* obj0
= 0 ;
7045 (char *) "self", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_FromInt((int)result
);
7065 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7067 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7069 PyObject
* obj0
= 0 ;
7071 (char *) "self", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 resultobj
= SWIG_FromInt((int)result
);
7091 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7098 (char *) "self",(char *) "max", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7104 arg2
= (int) SWIG_AsInt(obj1
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 (arg1
)->SetMaximumSizeX(arg2
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 Py_INCREF(Py_None
); resultobj
= Py_None
;
7120 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7122 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7127 (char *) "self",(char *) "max", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7133 arg2
= (int) SWIG_AsInt(obj1
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 (arg1
)->SetMaximumSizeY(arg2
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 Py_INCREF(Py_None
); resultobj
= Py_None
;
7149 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
;
7151 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7153 PyObject
* obj0
= 0 ;
7155 (char *) "self", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= SWIG_FromInt((int)result
);
7175 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7179 PyObject
* obj0
= 0 ;
7181 (char *) "self", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_FromInt((int)result
);
7201 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7206 int arg4
= (int) 2 ;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7210 PyObject
* obj2
= 0 ;
7211 PyObject
* obj3
= 0 ;
7213 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7219 arg2
= (int) SWIG_AsInt(obj1
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7221 arg3
= (int) SWIG_AsInt(obj2
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 arg4
= (int) SWIG_AsInt(obj3
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_FromInt((int)result
);
7241 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
;
7243 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7244 PyObject
* obj0
= 0 ;
7246 (char *) "self", NULL
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 (arg1
)->SizeWindows();
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 Py_INCREF(Py_None
); resultobj
= Py_None
;
7266 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7269 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7271 return Py_BuildValue((char *)"");
7273 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 int arg1
= (int) 0 ;
7276 int arg2
= (int) wxSASH_NONE
;
7277 wxSashEvent
*result
;
7278 PyObject
* obj0
= 0 ;
7279 PyObject
* obj1
= 0 ;
7281 (char *) "id",(char *) "edge", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7286 arg1
= (int) SWIG_AsInt(obj0
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7290 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7307 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7311 PyObject
* obj0
= 0 ;
7312 PyObject
* obj1
= 0 ;
7314 (char *) "self",(char *) "edge", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7320 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 Py_INCREF(Py_None
); resultobj
= Py_None
;
7336 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
;
7338 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7340 PyObject
* obj0
= 0 ;
7342 (char *) "self", NULL
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_FromInt((int)result
);
7362 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7367 PyObject
* obj0
= 0 ;
7368 PyObject
* obj1
= 0 ;
7370 (char *) "self",(char *) "rect", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7378 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 Py_INCREF(Py_None
); resultobj
= Py_None
;
7394 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7396 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7398 PyObject
* obj0
= 0 ;
7400 (char *) "self", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7415 resultptr
= new wxRect((wxRect
&) result
);
7416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7424 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7431 (char *) "self",(char *) "status", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7437 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7459 (char *) "self", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= SWIG_FromInt((int)result
);
7479 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7482 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7484 return Py_BuildValue((char *)"");
7486 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 int arg1
= (int) 0 ;
7489 wxQueryLayoutInfoEvent
*result
;
7490 PyObject
* obj0
= 0 ;
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7497 arg1
= (int) SWIG_AsInt(obj0
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7514 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7521 (char *) "self",(char *) "length", NULL
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 arg2
= (int) SWIG_AsInt(obj1
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 (arg1
)->SetRequestedLength(arg2
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 Py_INCREF(Py_None
); resultobj
= Py_None
;
7543 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
;
7545 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7547 PyObject
* obj0
= 0 ;
7549 (char *) "self", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_FromInt((int)result
);
7569 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7576 (char *) "self",(char *) "flags", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7582 arg2
= (int) SWIG_AsInt(obj1
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 (arg1
)->SetFlags(arg2
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 Py_INCREF(Py_None
); resultobj
= Py_None
;
7598 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7602 PyObject
* obj0
= 0 ;
7604 (char *) "self", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_FromInt((int)result
);
7624 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7632 (char *) "self",(char *) "size", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7640 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 (arg1
)->SetSize((wxSize
const &)*arg2
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 Py_INCREF(Py_None
); resultobj
= Py_None
;
7656 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7660 PyObject
* obj0
= 0 ;
7662 (char *) "self", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7677 resultptr
= new wxSize((wxSize
&) result
);
7678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7686 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7693 (char *) "self",(char *) "orient", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7699 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 Py_INCREF(Py_None
); resultobj
= Py_None
;
7715 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "self", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= SWIG_FromInt((int)result
);
7741 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7746 PyObject
* obj1
= 0 ;
7748 (char *) "self",(char *) "align", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 Py_INCREF(Py_None
); resultobj
= Py_None
;
7770 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7774 PyObject
* obj0
= 0 ;
7776 (char *) "self", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_FromInt((int)result
);
7796 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7799 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7801 return Py_BuildValue((char *)"");
7803 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 int arg1
= (int) 0 ;
7806 wxCalculateLayoutEvent
*result
;
7807 PyObject
* obj0
= 0 ;
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7814 arg1
= (int) SWIG_AsInt(obj0
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7831 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7838 (char *) "self",(char *) "flags", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7844 arg2
= (int) SWIG_AsInt(obj1
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 (arg1
)->SetFlags(arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 Py_INCREF(Py_None
); resultobj
= Py_None
;
7860 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7864 PyObject
* obj0
= 0 ;
7866 (char *) "self", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= SWIG_FromInt((int)result
);
7886 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7894 (char *) "self",(char *) "rect", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7902 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 (arg1
)->SetRect((wxRect
const &)*arg2
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 Py_INCREF(Py_None
); resultobj
= Py_None
;
7918 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7922 PyObject
* obj0
= 0 ;
7924 (char *) "self", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7939 resultptr
= new wxRect((wxRect
&) result
);
7940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7948 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7951 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7953 return Py_BuildValue((char *)"");
7955 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxWindow
*arg1
= (wxWindow
*) 0 ;
7959 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7960 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7961 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7962 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7963 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7964 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7965 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7966 wxSashLayoutWindow
*result
;
7969 bool temp6
= False
;
7970 PyObject
* obj0
= 0 ;
7971 PyObject
* obj1
= 0 ;
7972 PyObject
* obj2
= 0 ;
7973 PyObject
* obj3
= 0 ;
7974 PyObject
* obj4
= 0 ;
7975 PyObject
* obj5
= 0 ;
7977 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 arg2
= (int) SWIG_AsInt(obj1
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7988 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7994 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7998 arg5
= (long) SWIG_AsLong(obj4
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8003 arg6
= wxString_in_helper(obj5
);
8004 if (arg6
== NULL
) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8030 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxSashLayoutWindow
*result
;
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8052 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8055 wxWindow
*arg2
= (wxWindow
*) 0 ;
8057 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8058 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8059 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8060 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8061 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8062 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8063 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8067 bool temp7
= False
;
8068 PyObject
* obj0
= 0 ;
8069 PyObject
* obj1
= 0 ;
8070 PyObject
* obj2
= 0 ;
8071 PyObject
* obj3
= 0 ;
8072 PyObject
* obj4
= 0 ;
8073 PyObject
* obj5
= 0 ;
8074 PyObject
* obj6
= 0 ;
8076 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8084 arg3
= (int) SWIG_AsInt(obj2
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8099 arg6
= (long) SWIG_AsLong(obj5
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8104 arg7
= wxString_in_helper(obj6
);
8105 if (arg7
== NULL
) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8133 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8137 PyObject
* obj0
= 0 ;
8139 (char *) "self", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= (int)(arg1
)->GetAlignment();
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_FromInt((int)result
);
8159 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8163 PyObject
* obj0
= 0 ;
8165 (char *) "self", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (int)(arg1
)->GetOrientation();
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= SWIG_FromInt((int)result
);
8185 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8189 PyObject
* obj0
= 0 ;
8190 PyObject
* obj1
= 0 ;
8192 (char *) "self",(char *) "alignment", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8198 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 Py_INCREF(Py_None
); resultobj
= Py_None
;
8214 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8222 (char *) "self",(char *) "size", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8230 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 Py_INCREF(Py_None
); resultobj
= Py_None
;
8246 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8253 (char *) "self",(char *) "orientation", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8259 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 Py_INCREF(Py_None
); resultobj
= Py_None
;
8275 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8278 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8280 return Py_BuildValue((char *)"");
8282 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxLayoutAlgorithm
*result
;
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8304 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8307 PyObject
* obj0
= 0 ;
8309 (char *) "self", NULL
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 Py_INCREF(Py_None
); resultobj
= Py_None
;
8329 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8332 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8333 wxRect
*arg3
= (wxRect
*) NULL
;
8335 PyObject
* obj0
= 0 ;
8336 PyObject
* obj1
= 0 ;
8337 PyObject
* obj2
= 0 ;
8339 (char *) "self",(char *) "frame",(char *) "rect", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8367 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8370 wxFrame
*arg2
= (wxFrame
*) 0 ;
8371 wxWindow
*arg3
= (wxWindow
*) NULL
;
8373 PyObject
* obj0
= 0 ;
8374 PyObject
* obj1
= 0 ;
8375 PyObject
* obj2
= 0 ;
8377 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8386 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8405 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8408 wxWindow
*arg2
= (wxWindow
*) 0 ;
8409 wxWindow
*arg3
= (wxWindow
*) NULL
;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8413 PyObject
* obj2
= 0 ;
8415 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8424 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8443 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8446 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8448 return Py_BuildValue((char *)"");
8450 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
;
8452 wxWindow
*arg1
= (wxWindow
*) 0 ;
8453 int arg2
= (int) wxBORDER_NONE
;
8454 wxPopupWindow
*result
;
8455 PyObject
* obj0
= 0 ;
8456 PyObject
* obj1
= 0 ;
8458 (char *) "parent",(char *) "flags", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8465 arg2
= (int) SWIG_AsInt(obj1
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8482 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxPopupWindow
*result
;
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= (wxPopupWindow
*)new wxPopupWindow();
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8504 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
;
8506 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8507 wxWindow
*arg2
= (wxWindow
*) 0 ;
8508 int arg3
= (int) wxBORDER_NONE
;
8510 PyObject
* obj0
= 0 ;
8511 PyObject
* obj1
= 0 ;
8512 PyObject
* obj2
= 0 ;
8514 (char *) "self",(char *) "parent",(char *) "flags", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8523 arg3
= (int) SWIG_AsInt(obj2
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8542 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj2
= 0 ;
8553 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8565 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8574 Py_INCREF(Py_None
); resultobj
= Py_None
;
8581 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8584 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8586 return Py_BuildValue((char *)"");
8588 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxWindow
*arg1
= (wxWindow
*) 0 ;
8591 int arg2
= (int) wxBORDER_NONE
;
8592 wxPyPopupTransientWindow
*result
;
8593 PyObject
* obj0
= 0 ;
8594 PyObject
* obj1
= 0 ;
8596 (char *) "parent",(char *) "style", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8603 arg2
= (int) SWIG_AsInt(obj1
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8620 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
;
8622 wxPyPopupTransientWindow
*result
;
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8642 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8645 PyObject
*arg2
= (PyObject
*) 0 ;
8646 PyObject
*arg3
= (PyObject
*) 0 ;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8649 PyObject
* obj2
= 0 ;
8651 (char *) "self",(char *) "self",(char *) "_class", NULL
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 Py_INCREF(Py_None
); resultobj
= Py_None
;
8673 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8676 wxWindow
*arg2
= (wxWindow
*) NULL
;
8677 PyObject
* obj0
= 0 ;
8678 PyObject
* obj1
= 0 ;
8680 (char *) "self",(char *) "focus", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 (arg1
)->Popup(arg2
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 Py_INCREF(Py_None
); resultobj
= Py_None
;
8704 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8707 PyObject
* obj0
= 0 ;
8709 (char *) "self", NULL
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8732 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8734 return Py_BuildValue((char *)"");
8736 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxWindow
*arg1
= (wxWindow
*) 0 ;
8739 wxString
*arg2
= 0 ;
8740 int arg3
= (int) 100 ;
8741 wxRect
*arg4
= (wxRect
*) NULL
;
8742 wxTipWindow
*result
;
8743 bool temp2
= False
;
8744 PyObject
* obj0
= 0 ;
8745 PyObject
* obj1
= 0 ;
8746 PyObject
* obj2
= 0 ;
8747 PyObject
* obj3
= 0 ;
8749 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8756 arg2
= wxString_in_helper(obj1
);
8757 if (arg2
== NULL
) SWIG_fail
;
8761 arg3
= (int) SWIG_AsInt(obj2
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8765 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8790 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
;
8792 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8795 PyObject
* obj0
= 0 ;
8796 PyObject
* obj1
= 0 ;
8798 (char *) "self",(char *) "rectBound", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8806 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 Py_INCREF(Py_None
); resultobj
= Py_None
;
8822 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8825 PyObject
* obj0
= 0 ;
8827 (char *) "self", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 Py_INCREF(Py_None
); resultobj
= Py_None
;
8847 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8850 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8852 return Py_BuildValue((char *)"");
8854 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxWindow
*arg1
= (wxWindow
*) 0 ;
8857 int arg2
= (int) wxID_ANY
;
8858 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8859 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8860 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8861 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8862 long arg5
= (long) 0 ;
8863 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8864 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8865 wxPyVScrolledWindow
*result
;
8868 bool temp6
= False
;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8871 PyObject
* obj2
= 0 ;
8872 PyObject
* obj3
= 0 ;
8873 PyObject
* obj4
= 0 ;
8874 PyObject
* obj5
= 0 ;
8876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8883 arg2
= (int) SWIG_AsInt(obj1
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8895 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8899 arg5
= (long) SWIG_AsLong(obj4
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8904 arg6
= wxString_in_helper(obj5
);
8905 if (arg6
== NULL
) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8931 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
;
8933 wxPyVScrolledWindow
*result
;
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8953 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8955 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8956 PyObject
*arg2
= (PyObject
*) 0 ;
8957 PyObject
*arg3
= (PyObject
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8960 PyObject
* obj2
= 0 ;
8962 (char *) "self",(char *) "self",(char *) "_class", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8977 Py_INCREF(Py_None
); resultobj
= Py_None
;
8984 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8987 wxWindow
*arg2
= (wxWindow
*) 0 ;
8988 int arg3
= (int) wxID_ANY
;
8989 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8990 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8991 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8992 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8993 long arg6
= (long) 0 ;
8994 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8995 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8999 bool temp7
= False
;
9000 PyObject
* obj0
= 0 ;
9001 PyObject
* obj1
= 0 ;
9002 PyObject
* obj2
= 0 ;
9003 PyObject
* obj3
= 0 ;
9004 PyObject
* obj4
= 0 ;
9005 PyObject
* obj5
= 0 ;
9006 PyObject
* obj6
= 0 ;
9008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9017 arg3
= (int) SWIG_AsInt(obj2
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9023 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9029 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9033 arg6
= (long) SWIG_AsLong(obj5
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9038 arg7
= wxString_in_helper(obj6
);
9039 if (arg7
== NULL
) SWIG_fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9067 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9069 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9074 (char *) "self",(char *) "count", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9080 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 (arg1
)->SetLineCount(arg2
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 Py_INCREF(Py_None
); resultobj
= Py_None
;
9096 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9104 (char *) "self",(char *) "line", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9110 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9128 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9133 PyObject
* obj0
= 0 ;
9134 PyObject
* obj1
= 0 ;
9136 (char *) "self",(char *) "lines", NULL
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9142 arg2
= (int) SWIG_AsInt(obj1
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (bool)(arg1
)->ScrollLines(arg2
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9160 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
;
9162 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9165 PyObject
* obj0
= 0 ;
9166 PyObject
* obj1
= 0 ;
9168 (char *) "self",(char *) "pages", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9174 arg2
= (int) SWIG_AsInt(obj1
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 result
= (bool)(arg1
)->ScrollPages(arg2
);
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9192 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9199 (char *) "self",(char *) "line", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9205 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 (arg1
)->RefreshLine(arg2
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 Py_INCREF(Py_None
); resultobj
= Py_None
;
9221 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 PyObject
* obj2
= 0 ;
9230 (char *) "self",(char *) "from",(char *) "to", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9238 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 (arg1
)->RefreshLines(arg2
,arg3
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 Py_INCREF(Py_None
); resultobj
= Py_None
;
9254 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9260 PyObject
* obj0
= 0 ;
9261 PyObject
* obj1
= 0 ;
9262 PyObject
* obj2
= 0 ;
9264 (char *) "self",(char *) "x",(char *) "y", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9270 arg2
= (int) SWIG_AsInt(obj1
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9272 arg3
= (int) SWIG_AsInt(obj2
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= SWIG_FromInt((int)result
);
9288 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9297 (char *) "self",(char *) "pt", NULL
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9305 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= SWIG_FromInt((int)result
);
9321 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
;
9323 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9324 PyObject
* obj0
= 0 ;
9326 (char *) "self", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 (arg1
)->RefreshAll();
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 Py_INCREF(Py_None
); resultobj
= Py_None
;
9346 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9372 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9376 PyObject
* obj0
= 0 ;
9378 (char *) "self", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9398 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9402 PyObject
* obj0
= 0 ;
9404 (char *) "self", NULL
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9424 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9432 (char *) "self",(char *) "line", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9438 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9456 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9459 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9461 return Py_BuildValue((char *)"");
9463 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9464 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9469 static PyObject
*_wrap_VListBoxNameStr_get() {
9474 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9476 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9483 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxWindow
*arg1
= (wxWindow
*) 0 ;
9486 int arg2
= (int) wxID_ANY
;
9487 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9488 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9489 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9490 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9491 long arg5
= (long) 0 ;
9492 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9493 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9494 wxPyVListBox
*result
;
9497 bool temp6
= False
;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 PyObject
* obj2
= 0 ;
9501 PyObject
* obj3
= 0 ;
9502 PyObject
* obj4
= 0 ;
9503 PyObject
* obj5
= 0 ;
9505 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9512 arg2
= (int) SWIG_AsInt(obj1
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9518 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9524 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9528 arg5
= (long) SWIG_AsLong(obj4
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9533 arg6
= wxString_in_helper(obj5
);
9534 if (arg6
== NULL
) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9560 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxPyVListBox
*result
;
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (wxPyVListBox
*)new wxPyVListBox();
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9582 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
;
9584 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9585 PyObject
*arg2
= (PyObject
*) 0 ;
9586 PyObject
*arg3
= (PyObject
*) 0 ;
9587 PyObject
* obj0
= 0 ;
9588 PyObject
* obj1
= 0 ;
9589 PyObject
* obj2
= 0 ;
9591 (char *) "self",(char *) "self",(char *) "_class", NULL
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 Py_INCREF(Py_None
); resultobj
= Py_None
;
9613 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9616 wxWindow
*arg2
= (wxWindow
*) 0 ;
9617 int arg3
= (int) wxID_ANY
;
9618 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9619 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9620 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9621 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9622 long arg6
= (long) 0 ;
9623 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9624 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9628 bool temp7
= False
;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9631 PyObject
* obj2
= 0 ;
9632 PyObject
* obj3
= 0 ;
9633 PyObject
* obj4
= 0 ;
9634 PyObject
* obj5
= 0 ;
9635 PyObject
* obj6
= 0 ;
9637 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9646 arg3
= (int) SWIG_AsInt(obj2
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9652 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9658 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9662 arg6
= (long) SWIG_AsLong(obj5
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9667 arg7
= wxString_in_helper(obj6
);
9668 if (arg7
== NULL
) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9696 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9700 PyObject
* obj0
= 0 ;
9702 (char *) "self", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9722 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
;
9724 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9726 PyObject
* obj0
= 0 ;
9728 (char *) "self", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9750 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "self", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= SWIG_FromInt((int)result
);
9776 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9784 (char *) "self",(char *) "item", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9790 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9808 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
;
9810 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9816 (char *) "self",(char *) "item", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9822 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9840 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9846 (char *) "self", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9866 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9869 unsigned long *arg2
= 0 ;
9871 PyObject
* obj0
= 0 ;
9872 PyObject
* obj1
= 0 ;
9874 (char *) "self",(char *) "cookie", NULL
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9884 PyErr_SetString(PyExc_TypeError
,"null reference");
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= SWIG_FromInt((int)result
);
9901 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9904 unsigned long *arg2
= 0 ;
9906 PyObject
* obj0
= 0 ;
9907 PyObject
* obj1
= 0 ;
9909 (char *) "self",(char *) "cookie", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9919 PyErr_SetString(PyExc_TypeError
,"null reference");
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= SWIG_FromInt((int)result
);
9936 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9940 PyObject
* obj0
= 0 ;
9942 (char *) "self", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9956 wxPoint
* resultptr
;
9957 resultptr
= new wxPoint((wxPoint
&) result
);
9958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9966 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9970 PyObject
* obj0
= 0 ;
9972 (char *) "self", NULL
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9982 result
= (wxColour
*) &_result_ref
;
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9995 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9999 PyObject
* obj0
= 0 ;
10000 PyObject
* obj1
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self",(char *) "count", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10008 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 (arg1
)->SetItemCount(arg2
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 Py_INCREF(Py_None
); resultobj
= Py_None
;
10024 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10027 PyObject
* obj0
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 Py_INCREF(Py_None
); resultobj
= Py_None
;
10049 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10053 PyObject
* obj0
= 0 ;
10054 PyObject
* obj1
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "self",(char *) "selection", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10062 arg2
= (int) SWIG_AsInt(obj1
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 (arg1
)->SetSelection(arg2
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 Py_INCREF(Py_None
); resultobj
= Py_None
;
10078 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10082 bool arg3
= (bool) True
;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 PyObject
* obj2
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self",(char *) "item",(char *) "select", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10094 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 arg3
= (bool) SWIG_AsBool(obj2
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10116 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10122 PyObject
* obj0
= 0 ;
10123 PyObject
* obj1
= 0 ;
10124 PyObject
* obj2
= 0 ;
10125 char *kwnames
[] = {
10126 (char *) "self",(char *) "from",(char *) "to", NULL
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10134 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10152 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10156 PyObject
* obj0
= 0 ;
10157 PyObject
* obj1
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "self",(char *) "item", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10165 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 (arg1
)->Toggle(arg2
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 Py_INCREF(Py_None
); resultobj
= Py_None
;
10181 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10185 PyObject
* obj0
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "self", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= (bool)(arg1
)->SelectAll();
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10209 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10213 PyObject
* obj0
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= (bool)(arg1
)->DeselectAll();
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10237 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10240 wxPoint
*arg2
= 0 ;
10242 PyObject
* obj0
= 0 ;
10243 PyObject
* obj1
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self",(char *) "pt", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10253 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 Py_INCREF(Py_None
); resultobj
= Py_None
;
10269 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 PyObject
* obj2
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "self",(char *) "x",(char *) "y", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10284 arg2
= (int) SWIG_AsInt(obj1
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10286 arg3
= (int) SWIG_AsInt(obj2
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 (arg1
)->SetMargins(arg2
,arg3
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 Py_INCREF(Py_None
); resultobj
= Py_None
;
10302 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
;
10304 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10305 wxColour
*arg2
= 0 ;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self",(char *) "col", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10318 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 Py_INCREF(Py_None
); resultobj
= Py_None
;
10334 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10337 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10339 return Py_BuildValue((char *)"");
10341 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxWindow
*arg1
= (wxWindow
*) 0 ;
10344 int arg2
= (int) wxID_ANY
;
10345 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10346 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10347 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10348 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10349 long arg5
= (long) 0 ;
10350 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10351 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10352 wxPyHtmlListBox
*result
;
10355 bool temp6
= False
;
10356 PyObject
* obj0
= 0 ;
10357 PyObject
* obj1
= 0 ;
10358 PyObject
* obj2
= 0 ;
10359 PyObject
* obj3
= 0 ;
10360 PyObject
* obj4
= 0 ;
10361 PyObject
* obj5
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10370 arg2
= (int) SWIG_AsInt(obj1
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10376 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10382 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10386 arg5
= (long) SWIG_AsLong(obj4
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10391 arg6
= wxString_in_helper(obj5
);
10392 if (arg6
== NULL
) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10418 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxPyHtmlListBox
*result
;
10421 char *kwnames
[] = {
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10440 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10443 PyObject
*arg2
= (PyObject
*) 0 ;
10444 PyObject
*arg3
= (PyObject
*) 0 ;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 PyObject
* obj2
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self",(char *) "self",(char *) "_class", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 Py_INCREF(Py_None
); resultobj
= Py_None
;
10471 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10474 wxWindow
*arg2
= (wxWindow
*) 0 ;
10475 int arg3
= (int) wxID_ANY
;
10476 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10477 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10478 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10479 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10480 long arg6
= (long) 0 ;
10481 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10482 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10486 bool temp7
= False
;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 PyObject
* obj2
= 0 ;
10490 PyObject
* obj3
= 0 ;
10491 PyObject
* obj4
= 0 ;
10492 PyObject
* obj5
= 0 ;
10493 PyObject
* obj6
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10504 arg3
= (int) SWIG_AsInt(obj2
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10510 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10516 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10520 arg6
= (long) SWIG_AsLong(obj5
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10525 arg7
= wxString_in_helper(obj6
);
10526 if (arg7
== NULL
) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10554 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10556 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10557 PyObject
* obj0
= 0 ;
10558 char *kwnames
[] = {
10559 (char *) "self", NULL
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 (arg1
)->RefreshAll();
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 Py_INCREF(Py_None
); resultobj
= Py_None
;
10579 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self",(char *) "count", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10592 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 (arg1
)->SetItemCount(arg2
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10608 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10611 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10613 return Py_BuildValue((char *)"");
10615 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxTaskBarIcon
*result
;
10618 char *kwnames
[] = {
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10637 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 Py_INCREF(Py_None
); resultobj
= Py_None
;
10662 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 wxTaskBarIcon_Destroy(arg1
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 Py_INCREF(Py_None
); resultobj
= Py_None
;
10687 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10715 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 char *kwnames
[] = {
10721 (char *) "self", NULL
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10743 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10747 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10748 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10750 bool temp3
= False
;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj1
= 0 ;
10753 PyObject
* obj2
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10764 if (arg2
== NULL
) {
10765 PyErr_SetString(PyExc_TypeError
,"null reference");
10770 arg3
= wxString_in_helper(obj2
);
10771 if (arg3
== NULL
) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10799 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 result
= (bool)(arg1
)->RemoveIcon();
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10827 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10830 wxMenu
*arg2
= (wxMenu
*) 0 ;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "menu", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (bool)(arg1
)->PopupMenu(arg2
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10859 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10862 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10864 return Py_BuildValue((char *)"");
10866 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10869 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10870 wxTaskBarIconEvent
*result
;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 char *kwnames
[] = {
10874 (char *) "evtType",(char *) "tbIcon", NULL
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10878 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10896 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10899 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10901 return Py_BuildValue((char *)"");
10903 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10904 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10909 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10914 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10916 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10923 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10924 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10929 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10934 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10936 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10943 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10944 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10949 static PyObject
*_wrap_DirDialogNameStr_get() {
10954 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10956 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10963 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10964 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10969 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10974 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10976 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10983 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10984 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10989 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10994 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10996 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11003 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11004 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11009 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11014 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11016 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11023 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxColourData
*result
;
11026 char *kwnames
[] = {
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 result
= (wxColourData
*)new wxColourData();
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11045 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxColourData
*arg1
= (wxColourData
*) 0 ;
11048 PyObject
* obj0
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 Py_INCREF(Py_None
); resultobj
= Py_None
;
11070 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxColourData
*arg1
= (wxColourData
*) 0 ;
11074 PyObject
* obj0
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 result
= (bool)(arg1
)->GetChooseFull();
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11098 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxColourData
*arg1
= (wxColourData
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 result
= (arg1
)->GetColour();
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11118 wxColour
* resultptr
;
11119 resultptr
= new wxColour((wxColour
&) result
);
11120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11128 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
;
11130 wxColourData
*arg1
= (wxColourData
*) 0 ;
11133 PyObject
* obj0
= 0 ;
11134 PyObject
* obj1
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self",(char *) "i", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) 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
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (arg1
)->GetCustomColour(arg2
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11152 wxColour
* resultptr
;
11153 resultptr
= new wxColour((wxColour
&) result
);
11154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11162 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxColourData
*arg1
= (wxColourData
*) 0 ;
11166 PyObject
* obj0
= 0 ;
11167 PyObject
* obj1
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self",(char *) "flag", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 arg2
= (int) SWIG_AsInt(obj1
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 (arg1
)->SetChooseFull(arg2
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 Py_INCREF(Py_None
); resultobj
= Py_None
;
11191 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxColourData
*arg1
= (wxColourData
*) 0 ;
11194 wxColour
*arg2
= 0 ;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "colour", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11207 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 (arg1
)->SetColour((wxColour
const &)*arg2
);
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 Py_INCREF(Py_None
); resultobj
= Py_None
;
11223 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
;
11225 wxColourData
*arg1
= (wxColourData
*) 0 ;
11227 wxColour
*arg3
= 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 PyObject
* obj2
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "i",(char *) "colour", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11239 arg2
= (int) SWIG_AsInt(obj1
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11243 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 Py_INCREF(Py_None
); resultobj
= Py_None
;
11259 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11262 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11264 return Py_BuildValue((char *)"");
11266 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
;
11268 wxWindow
*arg1
= (wxWindow
*) 0 ;
11269 wxColourData
*arg2
= (wxColourData
*) NULL
;
11270 wxColourDialog
*result
;
11271 PyObject
* obj0
= 0 ;
11272 PyObject
* obj1
= 0 ;
11273 char *kwnames
[] = {
11274 (char *) "parent",(char *) "data", NULL
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11298 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11301 wxColourData
*result
;
11302 PyObject
* obj0
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11314 result
= (wxColourData
*) &_result_ref
;
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11327 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11330 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11332 return Py_BuildValue((char *)"");
11334 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxWindow
*arg1
= (wxWindow
*) 0 ;
11337 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11338 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11339 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11340 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11341 long arg4
= (long) 0 ;
11342 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11343 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11344 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11345 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11346 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11347 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11348 wxDirDialog
*result
;
11349 bool temp2
= False
;
11350 bool temp3
= False
;
11353 bool temp7
= False
;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 PyObject
* obj2
= 0 ;
11357 PyObject
* obj3
= 0 ;
11358 PyObject
* obj4
= 0 ;
11359 PyObject
* obj5
= 0 ;
11360 PyObject
* obj6
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11370 arg2
= wxString_in_helper(obj1
);
11371 if (arg2
== NULL
) SWIG_fail
;
11377 arg3
= wxString_in_helper(obj2
);
11378 if (arg3
== NULL
) SWIG_fail
;
11383 arg4
= (long) SWIG_AsLong(obj3
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11389 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11395 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11400 arg7
= wxString_in_helper(obj6
);
11401 if (arg7
== NULL
) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11443 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (arg1
)->GetPath();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11475 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11479 PyObject
* obj0
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 result
= (arg1
)->GetMessage();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11507 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11511 PyObject
* obj0
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (long)(arg1
)->GetStyle();
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= SWIG_FromLong((long)result
);
11533 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11536 wxString
*arg2
= 0 ;
11537 bool temp2
= False
;
11538 PyObject
* obj0
= 0 ;
11539 PyObject
* obj1
= 0 ;
11540 char *kwnames
[] = {
11541 (char *) "self",(char *) "message", NULL
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11548 arg2
= wxString_in_helper(obj1
);
11549 if (arg2
== NULL
) SWIG_fail
;
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 (arg1
)->SetMessage((wxString
const &)*arg2
);
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 Py_INCREF(Py_None
); resultobj
= Py_None
;
11574 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11577 wxString
*arg2
= 0 ;
11578 bool temp2
= False
;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 char *kwnames
[] = {
11582 (char *) "self",(char *) "path", NULL
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11589 arg2
= wxString_in_helper(obj1
);
11590 if (arg2
== NULL
) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 (arg1
)->SetPath((wxString
const &)*arg2
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 Py_INCREF(Py_None
); resultobj
= Py_None
;
11615 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11618 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11620 return Py_BuildValue((char *)"");
11622 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxWindow
*arg1
= (wxWindow
*) 0 ;
11625 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11626 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11627 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11628 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11629 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11630 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11631 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11632 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11633 long arg6
= (long) 0 ;
11634 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11635 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11636 wxFileDialog
*result
;
11637 bool temp2
= False
;
11638 bool temp3
= False
;
11639 bool temp4
= False
;
11640 bool temp5
= False
;
11642 PyObject
* obj0
= 0 ;
11643 PyObject
* obj1
= 0 ;
11644 PyObject
* obj2
= 0 ;
11645 PyObject
* obj3
= 0 ;
11646 PyObject
* obj4
= 0 ;
11647 PyObject
* obj5
= 0 ;
11648 PyObject
* obj6
= 0 ;
11649 char *kwnames
[] = {
11650 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11658 arg2
= wxString_in_helper(obj1
);
11659 if (arg2
== NULL
) SWIG_fail
;
11665 arg3
= wxString_in_helper(obj2
);
11666 if (arg3
== NULL
) SWIG_fail
;
11672 arg4
= wxString_in_helper(obj3
);
11673 if (arg4
== NULL
) SWIG_fail
;
11679 arg5
= wxString_in_helper(obj4
);
11680 if (arg5
== NULL
) SWIG_fail
;
11685 arg6
= (long) SWIG_AsLong(obj5
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11691 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11740 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11743 wxString
*arg2
= 0 ;
11744 bool temp2
= False
;
11745 PyObject
* obj0
= 0 ;
11746 PyObject
* obj1
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "self",(char *) "message", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11755 arg2
= wxString_in_helper(obj1
);
11756 if (arg2
== NULL
) SWIG_fail
;
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 (arg1
)->SetMessage((wxString
const &)*arg2
);
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11766 Py_INCREF(Py_None
); resultobj
= Py_None
;
11781 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11784 wxString
*arg2
= 0 ;
11785 bool temp2
= False
;
11786 PyObject
* obj0
= 0 ;
11787 PyObject
* obj1
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "self",(char *) "path", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11796 arg2
= wxString_in_helper(obj1
);
11797 if (arg2
== NULL
) SWIG_fail
;
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 (arg1
)->SetPath((wxString
const &)*arg2
);
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11807 Py_INCREF(Py_None
); resultobj
= Py_None
;
11822 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11825 wxString
*arg2
= 0 ;
11826 bool temp2
= False
;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self",(char *) "dir", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11837 arg2
= wxString_in_helper(obj1
);
11838 if (arg2
== NULL
) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 Py_INCREF(Py_None
); resultobj
= Py_None
;
11863 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11866 wxString
*arg2
= 0 ;
11867 bool temp2
= False
;
11868 PyObject
* obj0
= 0 ;
11869 PyObject
* obj1
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self",(char *) "name", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11878 arg2
= wxString_in_helper(obj1
);
11879 if (arg2
== NULL
) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->SetFilename((wxString
const &)*arg2
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 Py_INCREF(Py_None
); resultobj
= Py_None
;
11904 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11907 wxString
*arg2
= 0 ;
11908 bool temp2
= False
;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self",(char *) "wildCard", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 arg2
= wxString_in_helper(obj1
);
11920 if (arg2
== NULL
) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11930 Py_INCREF(Py_None
); resultobj
= Py_None
;
11945 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11946 PyObject
*resultobj
;
11947 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11949 PyObject
* obj0
= 0 ;
11950 PyObject
* obj1
= 0 ;
11951 char *kwnames
[] = {
11952 (char *) "self",(char *) "style", NULL
11955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11958 arg2
= (long) SWIG_AsLong(obj1
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 (arg1
)->SetStyle(arg2
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 Py_INCREF(Py_None
); resultobj
= Py_None
;
11974 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
;
11976 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11978 PyObject
* obj0
= 0 ;
11979 PyObject
* obj1
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "self",(char *) "filterIndex", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11987 arg2
= (int) SWIG_AsInt(obj1
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 (arg1
)->SetFilterIndex(arg2
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 Py_INCREF(Py_None
); resultobj
= Py_None
;
12003 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12007 PyObject
* obj0
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12035 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 char *kwnames
[] = {
12041 (char *) "self", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12067 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
;
12069 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12099 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12131 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12135 PyObject
* obj0
= 0 ;
12136 char *kwnames
[] = {
12137 (char *) "self", NULL
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12163 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_FromLong((long)result
);
12189 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12193 PyObject
* obj0
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= SWIG_FromInt((int)result
);
12215 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= result
;
12241 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= result
;
12267 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12270 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12272 return Py_BuildValue((char *)"");
12274 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxWindow
*arg1
= (wxWindow
*) 0 ;
12277 wxString
*arg2
= 0 ;
12278 wxString
*arg3
= 0 ;
12279 int arg4
= (int) 0 ;
12280 wxString
*arg5
= (wxString
*) 0 ;
12281 long arg6
= (long) wxCHOICEDLG_STYLE
;
12282 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12283 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12284 wxMultiChoiceDialog
*result
;
12285 bool temp2
= False
;
12286 bool temp3
= False
;
12288 PyObject
* obj0
= 0 ;
12289 PyObject
* obj1
= 0 ;
12290 PyObject
* obj2
= 0 ;
12291 PyObject
* obj3
= 0 ;
12292 PyObject
* obj4
= 0 ;
12293 PyObject
* obj5
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12302 arg2
= wxString_in_helper(obj1
);
12303 if (arg2
== NULL
) SWIG_fail
;
12307 arg3
= wxString_in_helper(obj2
);
12308 if (arg3
== NULL
) SWIG_fail
;
12313 arg4
= PyList_Size(obj3
);
12314 arg5
= wxString_LIST_helper(obj3
);
12315 if (arg5
== NULL
) SWIG_fail
;
12319 arg6
= (long) SWIG_AsLong(obj4
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12325 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12345 if (arg5
) delete [] arg5
;
12358 if (arg5
) delete [] arg5
;
12364 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12367 wxArrayInt
*arg2
= 0 ;
12368 bool temp2
= False
;
12369 PyObject
* obj0
= 0 ;
12370 PyObject
* obj1
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self",(char *) "selections", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 if (! PySequence_Check(obj1
)) {
12380 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12383 arg2
= new wxArrayInt
;
12385 int i
, len
=PySequence_Length(obj1
);
12386 for (i
=0; i
<len
; i
++) {
12387 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12388 PyObject
* number
= PyNumber_Int(item
);
12389 arg2
->Add(PyInt_AS_LONG(number
));
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 Py_INCREF(Py_None
); resultobj
= Py_None
;
12403 if (temp2
) delete arg2
;
12408 if (temp2
) delete arg2
;
12414 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= result
;
12440 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12443 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12445 return Py_BuildValue((char *)"");
12447 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
;
12449 wxWindow
*arg1
= (wxWindow
*) 0 ;
12450 wxString
*arg2
= 0 ;
12451 wxString
*arg3
= 0 ;
12453 wxString
*arg5
= (wxString
*) 0 ;
12454 long arg6
= (long) wxCHOICEDLG_STYLE
;
12455 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12456 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12457 wxSingleChoiceDialog
*result
;
12458 bool temp2
= False
;
12459 bool temp3
= False
;
12461 PyObject
* obj0
= 0 ;
12462 PyObject
* obj1
= 0 ;
12463 PyObject
* obj2
= 0 ;
12464 PyObject
* obj3
= 0 ;
12465 PyObject
* obj4
= 0 ;
12466 PyObject
* obj5
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12475 arg2
= wxString_in_helper(obj1
);
12476 if (arg2
== NULL
) SWIG_fail
;
12480 arg3
= wxString_in_helper(obj2
);
12481 if (arg3
== NULL
) SWIG_fail
;
12485 arg4
= PyList_Size(obj3
);
12486 arg5
= wxString_LIST_helper(obj3
);
12487 if (arg5
== NULL
) SWIG_fail
;
12490 arg6
= (long) SWIG_AsLong(obj4
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12496 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12516 if (arg5
) delete [] arg5
;
12529 if (arg5
) delete [] arg5
;
12535 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12539 PyObject
* obj0
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 result
= (int)(arg1
)->GetSelection();
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= SWIG_FromInt((int)result
);
12561 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
;
12563 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12565 PyObject
* obj0
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 result
= (arg1
)->GetStringSelection();
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12593 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12597 PyObject
* obj0
= 0 ;
12598 PyObject
* obj1
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self",(char *) "sel", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12606 arg2
= (int) SWIG_AsInt(obj1
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 (arg1
)->SetSelection(arg2
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 Py_INCREF(Py_None
); resultobj
= Py_None
;
12622 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12625 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12627 return Py_BuildValue((char *)"");
12629 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12630 PyObject
*resultobj
;
12631 wxWindow
*arg1
= (wxWindow
*) 0 ;
12632 wxString
*arg2
= 0 ;
12633 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12634 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12635 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12636 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12637 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12638 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12639 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12640 wxTextEntryDialog
*result
;
12641 bool temp2
= False
;
12642 bool temp3
= False
;
12643 bool temp4
= False
;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 PyObject
* obj2
= 0 ;
12648 PyObject
* obj3
= 0 ;
12649 PyObject
* obj4
= 0 ;
12650 PyObject
* obj5
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 arg2
= wxString_in_helper(obj1
);
12660 if (arg2
== NULL
) SWIG_fail
;
12665 arg3
= wxString_in_helper(obj2
);
12666 if (arg3
== NULL
) SWIG_fail
;
12672 arg4
= wxString_in_helper(obj3
);
12673 if (arg4
== NULL
) SWIG_fail
;
12678 arg5
= (long) SWIG_AsLong(obj4
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12684 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12725 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= (arg1
)->GetValue();
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12757 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12760 wxString
*arg2
= 0 ;
12761 bool temp2
= False
;
12762 PyObject
* obj0
= 0 ;
12763 PyObject
* obj1
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self",(char *) "value", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 arg2
= wxString_in_helper(obj1
);
12773 if (arg2
== NULL
) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 (arg1
)->SetValue((wxString
const &)*arg2
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 Py_INCREF(Py_None
); resultobj
= Py_None
;
12798 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12801 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12803 return Py_BuildValue((char *)"");
12805 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
;
12807 wxFontData
*result
;
12808 char *kwnames
[] = {
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 result
= (wxFontData
*)new wxFontData();
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12827 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
;
12829 wxFontData
*arg1
= (wxFontData
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 Py_INCREF(Py_None
); resultobj
= Py_None
;
12852 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxFontData
*arg1
= (wxFontData
*) 0 ;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 char *kwnames
[] = {
12859 (char *) "self",(char *) "enable", NULL
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12865 arg2
= (bool) SWIG_AsBool(obj1
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 (arg1
)->EnableEffects(arg2
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 Py_INCREF(Py_None
); resultobj
= Py_None
;
12881 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxFontData
*arg1
= (wxFontData
*) 0 ;
12885 PyObject
* obj0
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "self", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (bool)(arg1
)->GetAllowSymbols();
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12909 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxFontData
*arg1
= (wxFontData
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (arg1
)->GetColour();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12929 wxColour
* resultptr
;
12930 resultptr
= new wxColour((wxColour
&) result
);
12931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12939 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxFontData
*arg1
= (wxFontData
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (arg1
)->GetChosenFont();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12959 wxFont
* resultptr
;
12960 resultptr
= new wxFont((wxFont
&) result
);
12961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12969 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxFontData
*arg1
= (wxFontData
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (bool)(arg1
)->GetEnableEffects();
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12997 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxFontData
*arg1
= (wxFontData
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (arg1
)->GetInitialFont();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13017 wxFont
* resultptr
;
13018 resultptr
= new wxFont((wxFont
&) result
);
13019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13027 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxFontData
*arg1
= (wxFontData
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (bool)(arg1
)->GetShowHelp();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
;
13057 wxFontData
*arg1
= (wxFontData
*) 0 ;
13059 PyObject
* obj0
= 0 ;
13060 PyObject
* obj1
= 0 ;
13061 char *kwnames
[] = {
13062 (char *) "self",(char *) "allowSymbols", NULL
13065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13068 arg2
= (bool) SWIG_AsBool(obj1
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 (arg1
)->SetAllowSymbols(arg2
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxFontData
*arg1
= (wxFontData
*) 0 ;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self",(char *) "font", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13100 if (arg2
== NULL
) {
13101 PyErr_SetString(PyExc_TypeError
,"null reference");
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 Py_INCREF(Py_None
); resultobj
= Py_None
;
13118 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxFontData
*arg1
= (wxFontData
*) 0 ;
13121 wxColour
*arg2
= 0 ;
13123 PyObject
* obj0
= 0 ;
13124 PyObject
* obj1
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "self",(char *) "colour", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13134 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 (arg1
)->SetColour((wxColour
const &)*arg2
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 Py_INCREF(Py_None
); resultobj
= Py_None
;
13150 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxFontData
*arg1
= (wxFontData
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self",(char *) "font", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13166 if (arg2
== NULL
) {
13167 PyErr_SetString(PyExc_TypeError
,"null reference");
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 Py_INCREF(Py_None
); resultobj
= Py_None
;
13184 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxFontData
*arg1
= (wxFontData
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 PyObject
* obj2
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self",(char *) "min",(char *) "max", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13199 arg2
= (int) SWIG_AsInt(obj1
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13201 arg3
= (int) SWIG_AsInt(obj2
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 (arg1
)->SetRange(arg2
,arg3
);
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 Py_INCREF(Py_None
); resultobj
= Py_None
;
13217 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxFontData
*arg1
= (wxFontData
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 PyObject
* obj1
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self",(char *) "showHelp", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13230 arg2
= (bool) SWIG_AsBool(obj1
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 (arg1
)->SetShowHelp(arg2
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 Py_INCREF(Py_None
); resultobj
= Py_None
;
13246 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13249 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13251 return Py_BuildValue((char *)"");
13253 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxWindow
*arg1
= (wxWindow
*) 0 ;
13256 wxFontData
*arg2
= 0 ;
13257 wxFontDialog
*result
;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "parent",(char *) "data", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13270 if (arg2
== NULL
) {
13271 PyErr_SetString(PyExc_TypeError
,"null reference");
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13288 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
;
13290 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13291 wxFontData
*result
;
13292 PyObject
* obj0
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13304 result
= (wxFontData
*) &_result_ref
;
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13317 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13320 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13322 return Py_BuildValue((char *)"");
13324 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxWindow
*arg1
= (wxWindow
*) 0 ;
13327 wxString
*arg2
= 0 ;
13328 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13329 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13330 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13331 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13332 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13333 wxMessageDialog
*result
;
13334 bool temp2
= False
;
13335 bool temp3
= False
;
13337 PyObject
* obj0
= 0 ;
13338 PyObject
* obj1
= 0 ;
13339 PyObject
* obj2
= 0 ;
13340 PyObject
* obj3
= 0 ;
13341 PyObject
* obj4
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13350 arg2
= wxString_in_helper(obj1
);
13351 if (arg2
== NULL
) SWIG_fail
;
13356 arg3
= wxString_in_helper(obj2
);
13357 if (arg3
== NULL
) SWIG_fail
;
13362 arg4
= (long) SWIG_AsLong(obj3
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13368 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13401 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13404 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13406 return Py_BuildValue((char *)"");
13408 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxString
*arg1
= 0 ;
13411 wxString
*arg2
= 0 ;
13412 int arg3
= (int) 100 ;
13413 wxWindow
*arg4
= (wxWindow
*) NULL
;
13414 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13415 wxProgressDialog
*result
;
13416 bool temp1
= False
;
13417 bool temp2
= False
;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 PyObject
* obj2
= 0 ;
13421 PyObject
* obj3
= 0 ;
13422 PyObject
* obj4
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13429 arg1
= wxString_in_helper(obj0
);
13430 if (arg1
== NULL
) SWIG_fail
;
13434 arg2
= wxString_in_helper(obj1
);
13435 if (arg2
== NULL
) SWIG_fail
;
13439 arg3
= (int) SWIG_AsInt(obj2
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13443 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13447 arg5
= (int) SWIG_AsInt(obj4
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13480 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13484 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13485 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13487 bool temp3
= False
;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 PyObject
* obj2
= 0 ;
13491 char *kwnames
[] = {
13492 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13498 arg2
= (int) SWIG_AsInt(obj1
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13502 arg3
= wxString_in_helper(obj2
);
13503 if (arg3
== NULL
) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13531 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 Py_INCREF(Py_None
); resultobj
= Py_None
;
13556 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13559 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13561 return Py_BuildValue((char *)"");
13563 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13566 int arg2
= (int) 0 ;
13567 wxFindDialogEvent
*result
;
13568 PyObject
* obj0
= 0 ;
13569 PyObject
* obj1
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "commandType",(char *) "id", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13576 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13580 arg2
= (int) SWIG_AsInt(obj1
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13597 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13601 PyObject
* obj0
= 0 ;
13602 char *kwnames
[] = {
13603 (char *) "self", NULL
13606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= (int)(arg1
)->GetFlags();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_FromInt((int)result
);
13623 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 wxString
const &_result_ref
= (arg1
)->GetFindString();
13639 result
= (wxString
*) &_result_ref
;
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13649 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13658 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13674 result
= (wxString
*) &_result_ref
;
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13682 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13684 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13693 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
;
13695 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13696 wxFindReplaceDialog
*result
;
13697 PyObject
* obj0
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13719 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
;
13721 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13723 PyObject
* obj0
= 0 ;
13724 PyObject
* obj1
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self",(char *) "flags", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13732 arg2
= (int) SWIG_AsInt(obj1
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 (arg1
)->SetFlags(arg2
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 Py_INCREF(Py_None
); resultobj
= Py_None
;
13748 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13751 wxString
*arg2
= 0 ;
13752 bool temp2
= False
;
13753 PyObject
* obj0
= 0 ;
13754 PyObject
* obj1
= 0 ;
13755 char *kwnames
[] = {
13756 (char *) "self",(char *) "str", NULL
13759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13763 arg2
= wxString_in_helper(obj1
);
13764 if (arg2
== NULL
) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 (arg1
)->SetFindString((wxString
const &)*arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 Py_INCREF(Py_None
); resultobj
= Py_None
;
13789 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
;
13791 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13792 wxString
*arg2
= 0 ;
13793 bool temp2
= False
;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self",(char *) "str", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13804 arg2
= wxString_in_helper(obj1
);
13805 if (arg2
== NULL
) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 Py_INCREF(Py_None
); resultobj
= Py_None
;
13830 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13833 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13835 return Py_BuildValue((char *)"");
13837 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
;
13839 int arg1
= (int) 0 ;
13840 wxFindReplaceData
*result
;
13841 PyObject
* obj0
= 0 ;
13842 char *kwnames
[] = {
13843 (char *) "flags", NULL
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13848 arg1
= (int) SWIG_AsInt(obj0
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13865 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
;
13867 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13868 PyObject
* obj0
= 0 ;
13869 char *kwnames
[] = {
13870 (char *) "self", NULL
13873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 Py_INCREF(Py_None
); resultobj
= Py_None
;
13890 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
;
13892 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13894 PyObject
* obj0
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "self", NULL
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 wxString
const &_result_ref
= (arg1
)->GetFindString();
13906 result
= (wxString
*) &_result_ref
;
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13916 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13925 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13929 PyObject
* obj0
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13941 result
= (wxString
*) &_result_ref
;
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13951 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13960 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 result
= (int)(arg1
)->GetFlags();
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= SWIG_FromInt((int)result
);
13986 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self",(char *) "flags", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13999 arg2
= (int) SWIG_AsInt(obj1
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->SetFlags(arg2
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 Py_INCREF(Py_None
); resultobj
= Py_None
;
14015 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14018 wxString
*arg2
= 0 ;
14019 bool temp2
= False
;
14020 PyObject
* obj0
= 0 ;
14021 PyObject
* obj1
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self",(char *) "str", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14030 arg2
= wxString_in_helper(obj1
);
14031 if (arg2
== NULL
) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 (arg1
)->SetFindString((wxString
const &)*arg2
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 Py_INCREF(Py_None
); resultobj
= Py_None
;
14056 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14059 wxString
*arg2
= 0 ;
14060 bool temp2
= False
;
14061 PyObject
* obj0
= 0 ;
14062 PyObject
* obj1
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "self",(char *) "str", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14071 arg2
= wxString_in_helper(obj1
);
14072 if (arg2
== NULL
) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 Py_INCREF(Py_None
); resultobj
= Py_None
;
14097 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14100 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14102 return Py_BuildValue((char *)"");
14104 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxWindow
*arg1
= (wxWindow
*) 0 ;
14107 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14108 wxString
*arg3
= 0 ;
14109 int arg4
= (int) 0 ;
14110 wxFindReplaceDialog
*result
;
14111 bool temp3
= False
;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 PyObject
* obj2
= 0 ;
14115 PyObject
* obj3
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14126 arg3
= wxString_in_helper(obj2
);
14127 if (arg3
== NULL
) SWIG_fail
;
14131 arg4
= (int) SWIG_AsInt(obj3
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14156 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxFindReplaceDialog
*result
;
14159 char *kwnames
[] = {
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14178 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14181 wxWindow
*arg2
= (wxWindow
*) 0 ;
14182 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14183 wxString
*arg4
= 0 ;
14184 int arg5
= (int) 0 ;
14186 bool temp4
= False
;
14187 PyObject
* obj0
= 0 ;
14188 PyObject
* obj1
= 0 ;
14189 PyObject
* obj2
= 0 ;
14190 PyObject
* obj3
= 0 ;
14191 PyObject
* obj4
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14201 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14204 arg4
= wxString_in_helper(obj3
);
14205 if (arg4
== NULL
) SWIG_fail
;
14209 arg5
= (int) SWIG_AsInt(obj4
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14236 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14239 wxFindReplaceData
*result
;
14240 PyObject
* obj0
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14262 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14265 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 PyObject
* obj1
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self",(char *) "data", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 (arg1
)->SetData(arg2
);
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14284 Py_INCREF(Py_None
); resultobj
= Py_None
;
14291 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14294 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14296 return Py_BuildValue((char *)"");
14298 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
;
14300 wxWindow
*arg1
= (wxWindow
*) 0 ;
14302 wxString
*arg3
= 0 ;
14303 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14304 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14305 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14306 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14307 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14308 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14309 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14310 wxMDIParentFrame
*result
;
14311 bool temp3
= False
;
14314 bool temp7
= False
;
14315 PyObject
* obj0
= 0 ;
14316 PyObject
* obj1
= 0 ;
14317 PyObject
* obj2
= 0 ;
14318 PyObject
* obj3
= 0 ;
14319 PyObject
* obj4
= 0 ;
14320 PyObject
* obj5
= 0 ;
14321 PyObject
* obj6
= 0 ;
14322 char *kwnames
[] = {
14323 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 arg2
= (int const) SWIG_AsInt(obj1
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14332 arg3
= wxString_in_helper(obj2
);
14333 if (arg3
== NULL
) SWIG_fail
;
14339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14349 arg6
= (long) SWIG_AsLong(obj5
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14354 arg7
= wxString_in_helper(obj6
);
14355 if (arg7
== NULL
) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14389 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxMDIParentFrame
*result
;
14392 char *kwnames
[] = {
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14411 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14414 wxWindow
*arg2
= (wxWindow
*) 0 ;
14416 wxString
*arg4
= 0 ;
14417 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14418 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14419 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14420 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14421 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14422 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14423 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14425 bool temp4
= False
;
14428 bool temp8
= False
;
14429 PyObject
* obj0
= 0 ;
14430 PyObject
* obj1
= 0 ;
14431 PyObject
* obj2
= 0 ;
14432 PyObject
* obj3
= 0 ;
14433 PyObject
* obj4
= 0 ;
14434 PyObject
* obj5
= 0 ;
14435 PyObject
* obj6
= 0 ;
14436 PyObject
* obj7
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 arg3
= (int const) SWIG_AsInt(obj2
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 arg4
= wxString_in_helper(obj3
);
14450 if (arg4
== NULL
) SWIG_fail
;
14456 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14462 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14466 arg7
= (long) SWIG_AsLong(obj6
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14471 arg8
= wxString_in_helper(obj7
);
14472 if (arg8
== NULL
) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14508 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 (arg1
)->ActivateNext();
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 Py_INCREF(Py_None
); resultobj
= Py_None
;
14533 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14536 PyObject
* obj0
= 0 ;
14537 char *kwnames
[] = {
14538 (char *) "self", NULL
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 (arg1
)->ActivatePrevious();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 Py_INCREF(Py_None
); resultobj
= Py_None
;
14558 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 (arg1
)->ArrangeIcons();
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 Py_INCREF(Py_None
); resultobj
= Py_None
;
14583 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
;
14585 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 Py_INCREF(Py_None
); resultobj
= Py_None
;
14608 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14611 wxMDIChildFrame
*result
;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= wxPyMake_wxObject(result
);
14636 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14639 wxMDIClientWindow
*result
;
14640 PyObject
* obj0
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= wxPyMake_wxObject(result
);
14664 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (wxWindow
*)(arg1
)->GetToolBar();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= wxPyMake_wxObject(result
);
14692 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= wxPyMake_wxObject(result
);
14720 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14723 wxMenu
*arg2
= (wxMenu
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 PyObject
* obj1
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self",(char *) "menu", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
14734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 (arg1
)->SetWindowMenu(arg2
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 Py_INCREF(Py_None
); resultobj
= Py_None
;
14749 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14752 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 PyObject
* obj1
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self",(char *) "toolbar", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
14763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 (arg1
)->SetToolBar(arg2
);
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 Py_INCREF(Py_None
); resultobj
= Py_None
;
14778 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14781 PyObject
* obj0
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14796 Py_INCREF(Py_None
); resultobj
= Py_None
;
14803 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14806 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14808 return Py_BuildValue((char *)"");
14810 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14811 PyObject
*resultobj
;
14812 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14814 wxString
*arg3
= 0 ;
14815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14819 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14820 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14821 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14822 wxMDIChildFrame
*result
;
14823 bool temp3
= False
;
14826 bool temp7
= False
;
14827 PyObject
* obj0
= 0 ;
14828 PyObject
* obj1
= 0 ;
14829 PyObject
* obj2
= 0 ;
14830 PyObject
* obj3
= 0 ;
14831 PyObject
* obj4
= 0 ;
14832 PyObject
* obj5
= 0 ;
14833 PyObject
* obj6
= 0 ;
14834 char *kwnames
[] = {
14835 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14841 arg2
= (int const) SWIG_AsInt(obj1
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14844 arg3
= wxString_in_helper(obj2
);
14845 if (arg3
== NULL
) SWIG_fail
;
14851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14861 arg6
= (long) SWIG_AsLong(obj5
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14866 arg7
= wxString_in_helper(obj6
);
14867 if (arg7
== NULL
) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= wxPyMake_wxObject(result
);
14903 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxMDIChildFrame
*result
;
14906 char *kwnames
[] = {
14910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= wxPyMake_wxObject(result
);
14927 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14930 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14932 wxString
*arg4
= 0 ;
14933 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14934 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14935 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14936 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14937 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14938 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14939 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14941 bool temp4
= False
;
14944 bool temp8
= False
;
14945 PyObject
* obj0
= 0 ;
14946 PyObject
* obj1
= 0 ;
14947 PyObject
* obj2
= 0 ;
14948 PyObject
* obj3
= 0 ;
14949 PyObject
* obj4
= 0 ;
14950 PyObject
* obj5
= 0 ;
14951 PyObject
* obj6
= 0 ;
14952 PyObject
* obj7
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14962 arg3
= (int const) SWIG_AsInt(obj2
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 arg4
= wxString_in_helper(obj3
);
14966 if (arg4
== NULL
) SWIG_fail
;
14972 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14978 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14982 arg7
= (long) SWIG_AsLong(obj6
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14987 arg8
= wxString_in_helper(obj7
);
14988 if (arg8
== NULL
) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15024 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
;
15026 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15027 PyObject
* obj0
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 (arg1
)->Activate();
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15042 Py_INCREF(Py_None
); resultobj
= Py_None
;
15049 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15053 PyObject
* obj0
= 0 ;
15054 PyObject
* obj1
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self",(char *) "maximize", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15062 arg2
= (bool) SWIG_AsBool(obj1
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 (arg1
)->Maximize(arg2
);
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 Py_INCREF(Py_None
); resultobj
= Py_None
;
15078 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "self", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 Py_INCREF(Py_None
); resultobj
= Py_None
;
15103 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15106 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15108 return Py_BuildValue((char *)"");
15110 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15113 long arg2
= (long) 0 ;
15114 wxMDIClientWindow
*result
;
15115 PyObject
* obj0
= 0 ;
15116 PyObject
* obj1
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "parent",(char *) "style", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15125 arg2
= (long) SWIG_AsLong(obj1
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= wxPyMake_wxObject(result
);
15144 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxMDIClientWindow
*result
;
15147 char *kwnames
[] = {
15151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= wxPyMake_wxObject(result
);
15168 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15171 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15172 long arg3
= (long) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 PyObject
* obj1
= 0 ;
15176 PyObject
* obj2
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self",(char *) "parent",(char *) "style", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15187 arg3
= (long) SWIG_AsLong(obj2
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15206 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15209 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15211 return Py_BuildValue((char *)"");
15213 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxWindow
*arg1
= (wxWindow
*) 0 ;
15217 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15218 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15219 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15220 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15221 long arg5
= (long) 0 ;
15222 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15223 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15224 wxPyWindow
*result
;
15227 bool temp6
= False
;
15228 PyObject
* obj0
= 0 ;
15229 PyObject
* obj1
= 0 ;
15230 PyObject
* obj2
= 0 ;
15231 PyObject
* obj3
= 0 ;
15232 PyObject
* obj4
= 0 ;
15233 PyObject
* obj5
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15241 arg2
= (int const) SWIG_AsInt(obj1
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15246 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15252 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15256 arg5
= (long) SWIG_AsLong(obj4
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15261 arg6
= wxString_in_helper(obj5
);
15262 if (arg6
== NULL
) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15288 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxPyWindow
*result
;
15291 char *kwnames
[] = {
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 result
= (wxPyWindow
*)new wxPyWindow();
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15310 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15313 PyObject
*arg2
= (PyObject
*) 0 ;
15314 PyObject
*arg3
= (PyObject
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 PyObject
* obj1
= 0 ;
15317 PyObject
* obj2
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self",(char *) "self",(char *) "_class", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 Py_INCREF(Py_None
); resultobj
= Py_None
;
15341 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15348 PyObject
* obj0
= 0 ;
15349 PyObject
* obj1
= 0 ;
15350 PyObject
* obj2
= 0 ;
15351 PyObject
* obj3
= 0 ;
15352 PyObject
* obj4
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15360 arg2
= (int) SWIG_AsInt(obj1
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15362 arg3
= (int) SWIG_AsInt(obj2
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15364 arg4
= (int) SWIG_AsInt(obj3
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15366 arg5
= (int) SWIG_AsInt(obj4
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 Py_INCREF(Py_None
); resultobj
= Py_None
;
15382 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15389 int arg6
= (int) wxSIZE_AUTO
;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 PyObject
* obj2
= 0 ;
15393 PyObject
* obj3
= 0 ;
15394 PyObject
* obj4
= 0 ;
15395 PyObject
* obj5
= 0 ;
15396 char *kwnames
[] = {
15397 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15403 arg2
= (int) SWIG_AsInt(obj1
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15405 arg3
= (int) SWIG_AsInt(obj2
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15407 arg4
= (int) SWIG_AsInt(obj3
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15409 arg5
= (int) SWIG_AsInt(obj4
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 arg6
= (int) SWIG_AsInt(obj5
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 Py_INCREF(Py_None
); resultobj
= Py_None
;
15429 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 PyObject
* obj2
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "width",(char *) "height", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 arg2
= (int) SWIG_AsInt(obj1
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15446 arg3
= (int) SWIG_AsInt(obj2
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 Py_INCREF(Py_None
); resultobj
= Py_None
;
15462 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15469 PyObject
* obj2
= 0 ;
15470 char *kwnames
[] = {
15471 (char *) "self",(char *) "x",(char *) "y", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15477 arg2
= (int) SWIG_AsInt(obj1
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15479 arg3
= (int) SWIG_AsInt(obj2
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15488 Py_INCREF(Py_None
); resultobj
= Py_None
;
15495 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15498 int *arg2
= (int *) 0 ;
15499 int *arg3
= (int *) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 Py_INCREF(Py_None
); resultobj
= Py_None
;
15521 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15522 resultobj
= t_output_helper(resultobj
,o
);
15525 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15526 resultobj
= t_output_helper(resultobj
,o
);
15534 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15537 int *arg2
= (int *) 0 ;
15538 int *arg3
= (int *) 0 ;
15541 PyObject
* obj0
= 0 ;
15542 char *kwnames
[] = {
15543 (char *) "self", NULL
15548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 Py_INCREF(Py_None
); resultobj
= Py_None
;
15560 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15561 resultobj
= t_output_helper(resultobj
,o
);
15564 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15565 resultobj
= t_output_helper(resultobj
,o
);
15573 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15576 int *arg2
= (int *) 0 ;
15577 int *arg3
= (int *) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 Py_INCREF(Py_None
); resultobj
= Py_None
;
15599 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15600 resultobj
= t_output_helper(resultobj
,o
);
15603 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15604 resultobj
= t_output_helper(resultobj
,o
);
15612 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
;
15614 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15616 PyObject
* obj0
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "self", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 wxSize
* resultptr
;
15633 resultptr
= new wxSize((wxSize
&) result
);
15634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15642 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
;
15644 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15646 PyObject
* obj0
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15662 wxSize
* resultptr
;
15663 resultptr
= new wxSize((wxSize
&) result
);
15664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15672 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
;
15674 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 (arg1
)->base_InitDialog();
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 Py_INCREF(Py_None
); resultobj
= Py_None
;
15697 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15701 PyObject
* obj0
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (bool)(arg1
)->base_TransferDataToWindow();
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15725 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
;
15727 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15729 PyObject
* obj0
= 0 ;
15730 char *kwnames
[] = {
15731 (char *) "self", NULL
15734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15753 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
;
15755 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15757 PyObject
* obj0
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 result
= (bool)(arg1
)->base_Validate();
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15781 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15785 PyObject
* obj0
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15809 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
;
15811 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15813 PyObject
* obj0
= 0 ;
15814 char *kwnames
[] = {
15815 (char *) "self", NULL
15818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15837 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15838 PyObject
*resultobj
;
15839 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15841 PyObject
* obj0
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15857 wxSize
* resultptr
;
15858 resultptr
= new wxSize((wxSize
&) result
);
15859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15867 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15870 wxWindow
*arg2
= (wxWindow
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self",(char *) "child", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 (arg1
)->base_AddChild(arg2
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 Py_INCREF(Py_None
); resultobj
= Py_None
;
15896 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15899 wxWindow
*arg2
= (wxWindow
*) 0 ;
15900 PyObject
* obj0
= 0 ;
15901 PyObject
* obj1
= 0 ;
15902 char *kwnames
[] = {
15903 (char *) "self",(char *) "child", NULL
15906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 (arg1
)->base_RemoveChild(arg2
);
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15918 Py_INCREF(Py_None
); resultobj
= Py_None
;
15925 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
;
15927 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15929 PyObject
* obj0
= 0 ;
15930 char *kwnames
[] = {
15931 (char *) "self", NULL
15934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (bool)(arg1
)->base_ShouldInheritColours();
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15953 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15956 wxColour
*arg2
= 0 ;
15958 PyObject
* obj0
= 0 ;
15959 PyObject
* obj1
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self",(char *) "c", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15975 wxPyEndAllowThreads(__tstate
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15978 Py_INCREF(Py_None
); resultobj
= Py_None
;
15985 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15988 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15990 return Py_BuildValue((char *)"");
15992 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
;
15994 wxWindow
*arg1
= (wxWindow
*) 0 ;
15996 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15997 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15998 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15999 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16000 long arg5
= (long) 0 ;
16001 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16002 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16006 bool temp6
= False
;
16007 PyObject
* obj0
= 0 ;
16008 PyObject
* obj1
= 0 ;
16009 PyObject
* obj2
= 0 ;
16010 PyObject
* obj3
= 0 ;
16011 PyObject
* obj4
= 0 ;
16012 PyObject
* obj5
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 arg2
= (int const) SWIG_AsInt(obj1
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16025 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16031 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16035 arg5
= (long) SWIG_AsLong(obj4
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16040 arg6
= wxString_in_helper(obj5
);
16041 if (arg6
== NULL
) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16067 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
;
16070 char *kwnames
[] = {
16074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (wxPyPanel
*)new wxPyPanel();
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16089 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16091 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16092 PyObject
*arg2
= (PyObject
*) 0 ;
16093 PyObject
*arg3
= (PyObject
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 PyObject
* obj1
= 0 ;
16096 PyObject
* obj2
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self",(char *) "self",(char *) "_class", NULL
16101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 Py_INCREF(Py_None
); resultobj
= Py_None
;
16120 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16127 PyObject
* obj0
= 0 ;
16128 PyObject
* obj1
= 0 ;
16129 PyObject
* obj2
= 0 ;
16130 PyObject
* obj3
= 0 ;
16131 PyObject
* obj4
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16139 arg2
= (int) SWIG_AsInt(obj1
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16141 arg3
= (int) SWIG_AsInt(obj2
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16143 arg4
= (int) SWIG_AsInt(obj3
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16145 arg5
= (int) SWIG_AsInt(obj4
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16154 Py_INCREF(Py_None
); resultobj
= Py_None
;
16161 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
;
16163 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16168 int arg6
= (int) wxSIZE_AUTO
;
16169 PyObject
* obj0
= 0 ;
16170 PyObject
* obj1
= 0 ;
16171 PyObject
* obj2
= 0 ;
16172 PyObject
* obj3
= 0 ;
16173 PyObject
* obj4
= 0 ;
16174 PyObject
* obj5
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 arg2
= (int) SWIG_AsInt(obj1
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16184 arg3
= (int) SWIG_AsInt(obj2
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16186 arg4
= (int) SWIG_AsInt(obj3
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16188 arg5
= (int) SWIG_AsInt(obj4
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16191 arg6
= (int) SWIG_AsInt(obj5
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 Py_INCREF(Py_None
); resultobj
= Py_None
;
16208 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 PyObject
* obj2
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self",(char *) "width",(char *) "height", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 arg2
= (int) SWIG_AsInt(obj1
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16225 arg3
= (int) SWIG_AsInt(obj2
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 Py_INCREF(Py_None
); resultobj
= Py_None
;
16241 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 PyObject
* obj2
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "x",(char *) "y", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16256 arg2
= (int) SWIG_AsInt(obj1
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16258 arg3
= (int) SWIG_AsInt(obj2
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 Py_INCREF(Py_None
); resultobj
= Py_None
;
16274 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16277 int *arg2
= (int *) 0 ;
16278 int *arg3
= (int *) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "self", NULL
16288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 Py_INCREF(Py_None
); resultobj
= Py_None
;
16300 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16301 resultobj
= t_output_helper(resultobj
,o
);
16304 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16305 resultobj
= t_output_helper(resultobj
,o
);
16313 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16316 int *arg2
= (int *) 0 ;
16317 int *arg3
= (int *) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 Py_INCREF(Py_None
); resultobj
= Py_None
;
16339 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16340 resultobj
= t_output_helper(resultobj
,o
);
16343 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16344 resultobj
= t_output_helper(resultobj
,o
);
16352 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16355 int *arg2
= (int *) 0 ;
16356 int *arg3
= (int *) 0 ;
16359 PyObject
* obj0
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 Py_INCREF(Py_None
); resultobj
= Py_None
;
16378 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16379 resultobj
= t_output_helper(resultobj
,o
);
16382 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16383 resultobj
= t_output_helper(resultobj
,o
);
16391 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16411 wxSize
* resultptr
;
16412 resultptr
= new wxSize((wxSize
&) result
);
16413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16421 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16425 PyObject
* obj0
= 0 ;
16426 char *kwnames
[] = {
16427 (char *) "self", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16441 wxSize
* resultptr
;
16442 resultptr
= new wxSize((wxSize
&) result
);
16443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16451 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16454 PyObject
* obj0
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 (arg1
)->base_InitDialog();
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 Py_INCREF(Py_None
); resultobj
= Py_None
;
16476 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 result
= (bool)(arg1
)->base_TransferDataToWindow();
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16504 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
;
16506 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16508 PyObject
* obj0
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "self", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16532 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16536 PyObject
* obj0
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "self", NULL
16541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 result
= (bool)(arg1
)->base_Validate();
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16560 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16564 PyObject
* obj0
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16588 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16592 PyObject
* obj0
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "self", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16616 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 wxSize
* resultptr
;
16637 resultptr
= new wxSize((wxSize
&) result
);
16638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16646 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
;
16648 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16649 wxWindow
*arg2
= (wxWindow
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "child", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 (arg1
)->base_AddChild(arg2
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 Py_INCREF(Py_None
); resultobj
= Py_None
;
16675 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16678 wxWindow
*arg2
= (wxWindow
*) 0 ;
16679 PyObject
* obj0
= 0 ;
16680 PyObject
* obj1
= 0 ;
16681 char *kwnames
[] = {
16682 (char *) "self",(char *) "child", NULL
16685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 (arg1
)->base_RemoveChild(arg2
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 Py_INCREF(Py_None
); resultobj
= Py_None
;
16704 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16708 PyObject
* obj0
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "self", NULL
16713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 result
= (bool)(arg1
)->base_ShouldInheritColours();
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16732 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16735 wxColour
*arg2
= 0 ;
16737 PyObject
* obj0
= 0 ;
16738 PyObject
* obj1
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self",(char *) "c", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16748 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16757 Py_INCREF(Py_None
); resultobj
= Py_None
;
16764 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16767 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16769 return Py_BuildValue((char *)"");
16771 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxWindow
*arg1
= (wxWindow
*) 0 ;
16775 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16776 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16777 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16778 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16779 long arg5
= (long) 0 ;
16780 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16781 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16782 wxPyScrolledWindow
*result
;
16785 bool temp6
= False
;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 PyObject
* obj2
= 0 ;
16789 PyObject
* obj3
= 0 ;
16790 PyObject
* obj4
= 0 ;
16791 PyObject
* obj5
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16799 arg2
= (int const) SWIG_AsInt(obj1
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16810 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16814 arg5
= (long) SWIG_AsLong(obj4
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16819 arg6
= wxString_in_helper(obj5
);
16820 if (arg6
== NULL
) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16846 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxPyScrolledWindow
*result
;
16849 char *kwnames
[] = {
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16868 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
;
16870 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16871 PyObject
*arg2
= (PyObject
*) 0 ;
16872 PyObject
*arg3
= (PyObject
*) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 PyObject
* obj1
= 0 ;
16875 PyObject
* obj2
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self",(char *) "self",(char *) "_class", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 Py_INCREF(Py_None
); resultobj
= Py_None
;
16899 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 PyObject
* obj2
= 0 ;
16909 PyObject
* obj3
= 0 ;
16910 PyObject
* obj4
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16918 arg2
= (int) SWIG_AsInt(obj1
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16920 arg3
= (int) SWIG_AsInt(obj2
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16922 arg4
= (int) SWIG_AsInt(obj3
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16924 arg5
= (int) SWIG_AsInt(obj4
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 Py_INCREF(Py_None
); resultobj
= Py_None
;
16940 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
;
16942 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16947 int arg6
= (int) wxSIZE_AUTO
;
16948 PyObject
* obj0
= 0 ;
16949 PyObject
* obj1
= 0 ;
16950 PyObject
* obj2
= 0 ;
16951 PyObject
* obj3
= 0 ;
16952 PyObject
* obj4
= 0 ;
16953 PyObject
* obj5
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16961 arg2
= (int) SWIG_AsInt(obj1
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16963 arg3
= (int) SWIG_AsInt(obj2
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16965 arg4
= (int) SWIG_AsInt(obj3
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16967 arg5
= (int) SWIG_AsInt(obj4
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 arg6
= (int) SWIG_AsInt(obj5
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 Py_INCREF(Py_None
); resultobj
= Py_None
;
16987 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
;
16989 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16992 PyObject
* obj0
= 0 ;
16993 PyObject
* obj1
= 0 ;
16994 PyObject
* obj2
= 0 ;
16995 char *kwnames
[] = {
16996 (char *) "self",(char *) "width",(char *) "height", NULL
16999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17002 arg2
= (int) SWIG_AsInt(obj1
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17004 arg3
= (int) SWIG_AsInt(obj2
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 Py_INCREF(Py_None
); resultobj
= Py_None
;
17020 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17025 PyObject
* obj0
= 0 ;
17026 PyObject
* obj1
= 0 ;
17027 PyObject
* obj2
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self",(char *) "x",(char *) "y", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17035 arg2
= (int) SWIG_AsInt(obj1
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17037 arg3
= (int) SWIG_AsInt(obj2
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17046 Py_INCREF(Py_None
); resultobj
= Py_None
;
17053 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17055 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17056 int *arg2
= (int *) 0 ;
17057 int *arg3
= (int *) 0 ;
17060 PyObject
* obj0
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17079 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17080 resultobj
= t_output_helper(resultobj
,o
);
17083 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17084 resultobj
= t_output_helper(resultobj
,o
);
17092 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17095 int *arg2
= (int *) 0 ;
17096 int *arg3
= (int *) 0 ;
17099 PyObject
* obj0
= 0 ;
17100 char *kwnames
[] = {
17101 (char *) "self", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17116 Py_INCREF(Py_None
); resultobj
= Py_None
;
17118 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17119 resultobj
= t_output_helper(resultobj
,o
);
17122 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17123 resultobj
= t_output_helper(resultobj
,o
);
17131 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
;
17133 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17134 int *arg2
= (int *) 0 ;
17135 int *arg3
= (int *) 0 ;
17138 PyObject
* obj0
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self", NULL
17145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 Py_INCREF(Py_None
); resultobj
= Py_None
;
17157 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17158 resultobj
= t_output_helper(resultobj
,o
);
17161 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17162 resultobj
= t_output_helper(resultobj
,o
);
17170 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17190 wxSize
* resultptr
;
17191 resultptr
= new wxSize((wxSize
&) result
);
17192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17200 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17220 wxSize
* resultptr
;
17221 resultptr
= new wxSize((wxSize
&) result
);
17222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17230 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17233 PyObject
* obj0
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "self", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 (arg1
)->base_InitDialog();
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 Py_INCREF(Py_None
); resultobj
= Py_None
;
17255 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17269 result
= (bool)(arg1
)->base_TransferDataToWindow();
17271 wxPyEndAllowThreads(__tstate
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17283 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17311 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17313 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17315 PyObject
* obj0
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= (bool)(arg1
)->base_Validate();
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17339 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17367 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17371 PyObject
* obj0
= 0 ;
17372 char *kwnames
[] = {
17373 (char *) "self", NULL
17376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17395 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
;
17397 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17415 wxSize
* resultptr
;
17416 resultptr
= new wxSize((wxSize
&) result
);
17417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17425 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
;
17427 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17428 wxWindow
*arg2
= (wxWindow
*) 0 ;
17429 PyObject
* obj0
= 0 ;
17430 PyObject
* obj1
= 0 ;
17431 char *kwnames
[] = {
17432 (char *) "self",(char *) "child", NULL
17435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 (arg1
)->base_AddChild(arg2
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 Py_INCREF(Py_None
); resultobj
= Py_None
;
17454 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17457 wxWindow
*arg2
= (wxWindow
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self",(char *) "child", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->base_RemoveChild(arg2
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17487 PyObject
* obj0
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 result
= (bool)(arg1
)->base_ShouldInheritColours();
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17511 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17514 wxColour
*arg2
= 0 ;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self",(char *) "c", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17527 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 Py_INCREF(Py_None
); resultobj
= Py_None
;
17543 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17546 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17548 return Py_BuildValue((char *)"");
17550 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17551 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17556 static PyObject
*_wrap_PrintoutTitleStr_get() {
17561 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17563 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17570 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17571 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17576 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17581 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17583 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17590 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxPrintData
*result
;
17593 char *kwnames
[] = {
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 result
= (wxPrintData
*)new wxPrintData();
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17612 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17615 PyObject
* obj0
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 Py_INCREF(Py_None
); resultobj
= Py_None
;
17637 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17639 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17641 PyObject
* obj0
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "self", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 result
= (int)(arg1
)->GetNoCopies();
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_FromInt((int)result
);
17663 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
;
17665 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17667 PyObject
* obj0
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 result
= (bool)(arg1
)->GetCollate();
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17691 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17695 PyObject
* obj0
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= (int)(arg1
)->GetOrientation();
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= SWIG_FromInt((int)result
);
17717 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
;
17719 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17721 PyObject
* obj0
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "self", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 result
= (bool)(arg1
)->Ok();
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17745 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
;
17747 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17749 PyObject
* obj0
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17761 result
= (wxString
*) &_result_ref
;
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17771 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17780 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
;
17782 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17784 PyObject
* obj0
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 result
= (bool)(arg1
)->GetColour();
17796 wxPyEndAllowThreads(__tstate
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17808 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17812 PyObject
* obj0
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "self", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (int)(arg1
)->GetDuplex();
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= SWIG_FromInt((int)result
);
17834 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17838 PyObject
* obj0
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 result
= (int)(arg1
)->GetPaperId();
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 resultobj
= SWIG_FromInt((int)result
);
17860 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
;
17862 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17864 PyObject
* obj0
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17876 result
= (wxSize
*) &_result_ref
;
17879 wxPyEndAllowThreads(__tstate
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17889 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17890 PyObject
*resultobj
;
17891 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 result
= (int)(arg1
)->GetQuality();
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= SWIG_FromInt((int)result
);
17915 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 PyObject
* obj1
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self",(char *) "v", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 arg2
= (int) SWIG_AsInt(obj1
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 (arg1
)->SetNoCopies(arg2
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 Py_INCREF(Py_None
); resultobj
= Py_None
;
17944 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self",(char *) "flag", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17957 arg2
= (bool) SWIG_AsBool(obj1
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 (arg1
)->SetCollate(arg2
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 Py_INCREF(Py_None
); resultobj
= Py_None
;
17973 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "orient", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17986 arg2
= (int) SWIG_AsInt(obj1
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 (arg1
)->SetOrientation(arg2
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 Py_INCREF(Py_None
); resultobj
= Py_None
;
18002 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18005 wxString
*arg2
= 0 ;
18006 bool temp2
= False
;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self",(char *) "name", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18017 arg2
= wxString_in_helper(obj1
);
18018 if (arg2
== NULL
) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18043 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18047 PyObject
* obj0
= 0 ;
18048 PyObject
* obj1
= 0 ;
18049 char *kwnames
[] = {
18050 (char *) "self",(char *) "colour", NULL
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18056 arg2
= (bool) SWIG_AsBool(obj1
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 (arg1
)->SetColour(arg2
);
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 Py_INCREF(Py_None
); resultobj
= Py_None
;
18072 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
;
18074 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18076 PyObject
* obj0
= 0 ;
18077 PyObject
* obj1
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "self",(char *) "duplex", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18085 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 Py_INCREF(Py_None
); resultobj
= Py_None
;
18101 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
;
18103 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18105 PyObject
* obj0
= 0 ;
18106 PyObject
* obj1
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "self",(char *) "sizeId", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18114 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 Py_INCREF(Py_None
); resultobj
= Py_None
;
18130 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18135 PyObject
* obj0
= 0 ;
18136 PyObject
* obj1
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "self",(char *) "sz", NULL
18141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18146 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 Py_INCREF(Py_None
); resultobj
= Py_None
;
18162 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self",(char *) "quality", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18175 arg2
= (int) SWIG_AsInt(obj1
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 (arg1
)->SetQuality(arg2
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 Py_INCREF(Py_None
); resultobj
= Py_None
;
18191 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18207 result
= (wxString
*) &_result_ref
;
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18217 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18226 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18242 result
= (wxString
*) &_result_ref
;
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18252 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18261 static PyObject
*_wrap_PrintData_GetPreviewCommand(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_GetPreviewCommand",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();
18276 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18277 result
= (wxString
*) &_result_ref
;
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18287 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18296 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18300 PyObject
* obj0
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 wxString
const &_result_ref
= (arg1
)->GetFilename();
18312 result
= (wxString
*) &_result_ref
;
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18322 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18331 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18347 result
= (wxString
*) &_result_ref
;
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18357 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18366 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= (double)(arg1
)->GetPrinterScaleX();
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_FromDouble((double)result
);
18392 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18396 PyObject
* obj0
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (double)(arg1
)->GetPrinterScaleY();
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= SWIG_FromDouble((double)result
);
18418 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= (long)(arg1
)->GetPrinterTranslateX();
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 resultobj
= SWIG_FromLong((long)result
);
18444 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
;
18446 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18448 PyObject
* obj0
= 0 ;
18449 char *kwnames
[] = {
18450 (char *) "self", NULL
18453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 result
= (long)(arg1
)->GetPrinterTranslateY();
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= SWIG_FromLong((long)result
);
18470 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18474 PyObject
* obj0
= 0 ;
18475 char *kwnames
[] = {
18476 (char *) "self", NULL
18479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 result
= (int)(arg1
)->GetPrintMode();
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= SWIG_FromInt((int)result
);
18496 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
;
18498 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18499 wxString
*arg2
= 0 ;
18500 bool temp2
= False
;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self",(char *) "command", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18511 arg2
= wxString_in_helper(obj1
);
18512 if (arg2
== NULL
) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 Py_INCREF(Py_None
); resultobj
= Py_None
;
18537 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18540 wxString
*arg2
= 0 ;
18541 bool temp2
= False
;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self",(char *) "options", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18552 arg2
= wxString_in_helper(obj1
);
18553 if (arg2
== NULL
) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 Py_INCREF(Py_None
); resultobj
= Py_None
;
18578 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18581 wxString
*arg2
= 0 ;
18582 bool temp2
= False
;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self",(char *) "command", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18593 arg2
= wxString_in_helper(obj1
);
18594 if (arg2
== NULL
) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 Py_INCREF(Py_None
); resultobj
= Py_None
;
18619 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
;
18621 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18622 wxString
*arg2
= 0 ;
18623 bool temp2
= False
;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self",(char *) "filename", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18634 arg2
= wxString_in_helper(obj1
);
18635 if (arg2
== NULL
) SWIG_fail
;
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 (arg1
)->SetFilename((wxString
const &)*arg2
);
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18645 Py_INCREF(Py_None
); resultobj
= Py_None
;
18660 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18663 wxString
*arg2
= 0 ;
18664 bool temp2
= False
;
18665 PyObject
* obj0
= 0 ;
18666 PyObject
* obj1
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self",(char *) "path", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18675 arg2
= wxString_in_helper(obj1
);
18676 if (arg2
== NULL
) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 Py_INCREF(Py_None
); resultobj
= Py_None
;
18701 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18705 PyObject
* obj0
= 0 ;
18706 PyObject
* obj1
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self",(char *) "x", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18714 arg2
= (double) SWIG_AsDouble(obj1
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 (arg1
)->SetPrinterScaleX(arg2
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 Py_INCREF(Py_None
); resultobj
= Py_None
;
18730 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 PyObject
* obj1
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self",(char *) "y", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18743 arg2
= (double) SWIG_AsDouble(obj1
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 (arg1
)->SetPrinterScaleY(arg2
);
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 Py_INCREF(Py_None
); resultobj
= Py_None
;
18759 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18764 PyObject
* obj0
= 0 ;
18765 PyObject
* obj1
= 0 ;
18766 PyObject
* obj2
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self",(char *) "x",(char *) "y", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18774 arg2
= (double) SWIG_AsDouble(obj1
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18776 arg3
= (double) SWIG_AsDouble(obj2
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 Py_INCREF(Py_None
); resultobj
= Py_None
;
18792 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
;
18794 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18796 PyObject
* obj0
= 0 ;
18797 PyObject
* obj1
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self",(char *) "x", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18805 arg2
= (long) SWIG_AsLong(obj1
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 (arg1
)->SetPrinterTranslateX(arg2
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 Py_INCREF(Py_None
); resultobj
= Py_None
;
18821 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
;
18823 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18825 PyObject
* obj0
= 0 ;
18826 PyObject
* obj1
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self",(char *) "y", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18834 arg2
= (long) SWIG_AsLong(obj1
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 (arg1
)->SetPrinterTranslateY(arg2
);
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18843 Py_INCREF(Py_None
); resultobj
= Py_None
;
18850 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18851 PyObject
*resultobj
;
18852 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 PyObject
* obj1
= 0 ;
18857 PyObject
* obj2
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self",(char *) "x",(char *) "y", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18865 arg2
= (long) SWIG_AsLong(obj1
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18867 arg3
= (long) SWIG_AsLong(obj2
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 Py_INCREF(Py_None
); resultobj
= Py_None
;
18883 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 PyObject
* obj1
= 0 ;
18889 char *kwnames
[] = {
18890 (char *) "self",(char *) "printMode", NULL
18893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18896 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 Py_INCREF(Py_None
); resultobj
= Py_None
;
18912 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18915 wxOutputStream
*result
;
18916 PyObject
* obj0
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "self", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18938 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18941 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "self",(char *) "outputstream", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 (arg1
)->SetOutputStream(arg2
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 Py_INCREF(Py_None
); resultobj
= Py_None
;
18967 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
18969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18970 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18972 return Py_BuildValue((char *)"");
18974 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxPageSetupDialogData
*result
;
18977 char *kwnames
[] = {
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18984 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18996 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18998 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 Py_INCREF(Py_None
); resultobj
= Py_None
;
19021 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19025 PyObject
* obj0
= 0 ;
19026 PyObject
* obj1
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self",(char *) "flag", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19034 arg2
= (bool) SWIG_AsBool(obj1
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 (arg1
)->EnableHelp(arg2
);
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 Py_INCREF(Py_None
); resultobj
= Py_None
;
19050 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
;
19052 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19054 PyObject
* obj0
= 0 ;
19055 PyObject
* obj1
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self",(char *) "flag", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19063 arg2
= (bool) SWIG_AsBool(obj1
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->EnableMargins(arg2
);
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 Py_INCREF(Py_None
); resultobj
= Py_None
;
19079 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self",(char *) "flag", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19092 arg2
= (bool) SWIG_AsBool(obj1
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 (arg1
)->EnableOrientation(arg2
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 Py_INCREF(Py_None
); resultobj
= Py_None
;
19108 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "flag", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 arg2
= (bool) SWIG_AsBool(obj1
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 (arg1
)->EnablePaper(arg2
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 Py_INCREF(Py_None
); resultobj
= Py_None
;
19137 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self",(char *) "flag", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 arg2
= (bool) SWIG_AsBool(obj1
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 (arg1
)->EnablePrinter(arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19170 PyObject
* obj0
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 result
= (bool)(arg1
)->GetDefaultMinMargins();
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19194 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19198 PyObject
* obj0
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 result
= (bool)(arg1
)->GetEnableMargins();
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19222 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
;
19224 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19226 PyObject
* obj0
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 result
= (bool)(arg1
)->GetEnableOrientation();
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19250 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19254 PyObject
* obj0
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (bool)(arg1
)->GetEnablePaper();
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19278 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19282 PyObject
* obj0
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (bool)(arg1
)->GetEnablePrinter();
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19306 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 result
= (bool)(arg1
)->GetEnableHelp();
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19334 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= (bool)(arg1
)->GetDefaultInfo();
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19362 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 result
= (arg1
)->GetMarginTopLeft();
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19382 wxPoint
* resultptr
;
19383 resultptr
= new wxPoint((wxPoint
&) result
);
19384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19392 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 result
= (arg1
)->GetMarginBottomRight();
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19412 wxPoint
* resultptr
;
19413 resultptr
= new wxPoint((wxPoint
&) result
);
19414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19422 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
;
19424 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19426 PyObject
* obj0
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 result
= (arg1
)->GetMinMarginTopLeft();
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19442 wxPoint
* resultptr
;
19443 resultptr
= new wxPoint((wxPoint
&) result
);
19444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19452 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19456 PyObject
* obj0
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 result
= (arg1
)->GetMinMarginBottomRight();
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19472 wxPoint
* resultptr
;
19473 resultptr
= new wxPoint((wxPoint
&) result
);
19474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19482 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19483 PyObject
*resultobj
;
19484 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19486 PyObject
* obj0
= 0 ;
19487 char *kwnames
[] = {
19488 (char *) "self", NULL
19491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= (int)(arg1
)->GetPaperId();
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= SWIG_FromInt((int)result
);
19508 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19510 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19512 PyObject
* obj0
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "self", NULL
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 result
= (arg1
)->GetPaperSize();
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19528 wxSize
* resultptr
;
19529 resultptr
= new wxSize((wxSize
&) result
);
19530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19538 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
;
19540 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19541 wxPrintData
*result
;
19542 PyObject
* obj0
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19554 result
= (wxPrintData
*) &_result_ref
;
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19567 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19571 PyObject
* obj0
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "self", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (bool)(arg1
)->Ok();
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19595 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
;
19597 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self",(char *) "flag", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19608 arg2
= (bool) SWIG_AsBool(obj1
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 (arg1
)->SetDefaultInfo(arg2
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 Py_INCREF(Py_None
); resultobj
= Py_None
;
19624 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19628 PyObject
* obj0
= 0 ;
19629 PyObject
* obj1
= 0 ;
19630 char *kwnames
[] = {
19631 (char *) "self",(char *) "flag", NULL
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19637 arg2
= (bool) SWIG_AsBool(obj1
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->SetDefaultMinMargins(arg2
);
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 Py_INCREF(Py_None
); resultobj
= Py_None
;
19653 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19656 wxPoint
*arg2
= 0 ;
19658 PyObject
* obj0
= 0 ;
19659 PyObject
* obj1
= 0 ;
19660 char *kwnames
[] = {
19661 (char *) "self",(char *) "pt", NULL
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 Py_INCREF(Py_None
); resultobj
= Py_None
;
19685 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19687 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19688 wxPoint
*arg2
= 0 ;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 char *kwnames
[] = {
19693 (char *) "self",(char *) "pt", NULL
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 Py_INCREF(Py_None
); resultobj
= Py_None
;
19717 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
;
19719 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19720 wxPoint
*arg2
= 0 ;
19722 PyObject
* obj0
= 0 ;
19723 PyObject
* obj1
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "self",(char *) "pt", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19742 Py_INCREF(Py_None
); resultobj
= Py_None
;
19749 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
;
19751 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19752 wxPoint
*arg2
= 0 ;
19754 PyObject
* obj0
= 0 ;
19755 PyObject
* obj1
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self",(char *) "pt", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19765 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 Py_INCREF(Py_None
); resultobj
= Py_None
;
19781 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19785 PyObject
* obj0
= 0 ;
19786 PyObject
* obj1
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self",(char *) "id", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19794 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 Py_INCREF(Py_None
); resultobj
= Py_None
;
19810 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 char *kwnames
[] = {
19818 (char *) "self",(char *) "size", NULL
19821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19826 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 Py_INCREF(Py_None
); resultobj
= Py_None
;
19842 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
;
19844 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19845 wxPrintData
*arg2
= 0 ;
19846 PyObject
* obj0
= 0 ;
19847 PyObject
* obj1
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "self",(char *) "printData", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19858 if (arg2
== NULL
) {
19859 PyErr_SetString(PyExc_TypeError
,"null reference");
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 Py_INCREF(Py_None
); resultobj
= Py_None
;
19876 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19879 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19881 return Py_BuildValue((char *)"");
19883 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxWindow
*arg1
= (wxWindow
*) 0 ;
19886 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19887 wxPageSetupDialog
*result
;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "parent",(char *) "data", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19915 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19918 wxPageSetupDialogData
*result
;
19919 PyObject
* obj0
= 0 ;
19920 char *kwnames
[] = {
19921 (char *) "self", NULL
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19931 result
= (wxPageSetupDialogData
*) &_result_ref
;
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19944 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
;
19946 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19948 PyObject
* obj0
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (int)(arg1
)->ShowModal();
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= SWIG_FromInt((int)result
);
19970 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19973 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19975 return Py_BuildValue((char *)"");
19977 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19978 PyObject
*resultobj
;
19979 wxPrintDialogData
*result
;
19981 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19996 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19997 PyObject
*resultobj
;
19998 wxPrintData
*arg1
= 0 ;
19999 wxPrintDialogData
*result
;
20000 PyObject
* obj0
= 0 ;
20002 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20006 if (arg1
== NULL
) {
20007 PyErr_SetString(PyExc_TypeError
,"null reference");
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20024 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20029 argc
= PyObject_Length(args
);
20030 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20031 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20034 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20040 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20048 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20052 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20057 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20058 PyObject
*resultobj
;
20059 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20060 PyObject
* obj0
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 Py_INCREF(Py_None
); resultobj
= Py_None
;
20082 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_FromInt((int)result
);
20108 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= SWIG_FromInt((int)result
);
20134 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20138 PyObject
* obj0
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= SWIG_FromInt((int)result
);
20160 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
;
20162 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20164 PyObject
* obj0
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= SWIG_FromInt((int)result
);
20186 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
;
20188 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20190 PyObject
* obj0
= 0 ;
20191 char *kwnames
[] = {
20192 (char *) "self", NULL
20195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= SWIG_FromInt((int)result
);
20212 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
;
20214 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20216 PyObject
* obj0
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "self", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20240 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20268 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
;
20270 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20296 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20324 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20326 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20352 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
;
20354 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self",(char *) "v", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20365 arg2
= (int) SWIG_AsInt(obj1
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 (arg1
)->SetFromPage(arg2
);
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 Py_INCREF(Py_None
); resultobj
= Py_None
;
20381 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self",(char *) "v", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20394 arg2
= (int) SWIG_AsInt(obj1
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 (arg1
)->SetToPage(arg2
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 Py_INCREF(Py_None
); resultobj
= Py_None
;
20410 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self",(char *) "v", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20423 arg2
= (int) SWIG_AsInt(obj1
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 (arg1
)->SetMinPage(arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 Py_INCREF(Py_None
); resultobj
= Py_None
;
20439 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 PyObject
* obj1
= 0 ;
20445 char *kwnames
[] = {
20446 (char *) "self",(char *) "v", NULL
20449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20452 arg2
= (int) SWIG_AsInt(obj1
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 (arg1
)->SetMaxPage(arg2
);
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 Py_INCREF(Py_None
); resultobj
= Py_None
;
20468 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20470 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20472 PyObject
* obj0
= 0 ;
20473 PyObject
* obj1
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self",(char *) "v", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20481 arg2
= (int) SWIG_AsInt(obj1
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 (arg1
)->SetNoCopies(arg2
);
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 Py_INCREF(Py_None
); resultobj
= Py_None
;
20497 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20499 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "flag", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20510 arg2
= (bool) SWIG_AsBool(obj1
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 (arg1
)->SetAllPages(arg2
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 Py_INCREF(Py_None
); resultobj
= Py_None
;
20526 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20532 char *kwnames
[] = {
20533 (char *) "self",(char *) "flag", NULL
20536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20539 arg2
= (bool) SWIG_AsBool(obj1
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 (arg1
)->SetSelection(arg2
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 Py_INCREF(Py_None
); resultobj
= Py_None
;
20555 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 PyObject
* obj1
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self",(char *) "flag", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20568 arg2
= (bool) SWIG_AsBool(obj1
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 (arg1
)->SetCollate(arg2
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 Py_INCREF(Py_None
); resultobj
= Py_None
;
20584 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 PyObject
* obj1
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "self",(char *) "flag", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20597 arg2
= (bool) SWIG_AsBool(obj1
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 (arg1
)->SetPrintToFile(arg2
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 Py_INCREF(Py_None
); resultobj
= Py_None
;
20613 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 PyObject
* obj1
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self",(char *) "flag", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20626 arg2
= (bool) SWIG_AsBool(obj1
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 (arg1
)->SetSetupDialog(arg2
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 Py_INCREF(Py_None
); resultobj
= Py_None
;
20642 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20646 PyObject
* obj0
= 0 ;
20647 PyObject
* obj1
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "self",(char *) "flag", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20655 arg2
= (bool) SWIG_AsBool(obj1
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 (arg1
)->EnablePrintToFile(arg2
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 Py_INCREF(Py_None
); resultobj
= Py_None
;
20671 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 PyObject
* obj1
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "self",(char *) "flag", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20684 arg2
= (bool) SWIG_AsBool(obj1
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 (arg1
)->EnableSelection(arg2
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20693 Py_INCREF(Py_None
); resultobj
= Py_None
;
20700 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
;
20702 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "self",(char *) "flag", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20713 arg2
= (bool) SWIG_AsBool(obj1
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 (arg1
)->EnablePageNumbers(arg2
);
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 Py_INCREF(Py_None
); resultobj
= Py_None
;
20729 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 char *kwnames
[] = {
20736 (char *) "self",(char *) "flag", NULL
20739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20742 arg2
= (bool) SWIG_AsBool(obj1
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 (arg1
)->EnableHelp(arg2
);
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 Py_INCREF(Py_None
); resultobj
= Py_None
;
20758 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20762 PyObject
* obj0
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20786 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20790 PyObject
* obj0
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20814 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20842 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
;
20844 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 char *kwnames
[] = {
20848 (char *) "self", NULL
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20870 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
;
20872 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20874 PyObject
* obj0
= 0 ;
20875 char *kwnames
[] = {
20876 (char *) "self", NULL
20879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20898 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
;
20900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20901 wxPrintData
*result
;
20902 PyObject
* obj0
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20914 result
= (wxPrintData
*) &_result_ref
;
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20927 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20930 wxPrintData
*arg2
= 0 ;
20931 PyObject
* obj0
= 0 ;
20932 PyObject
* obj1
= 0 ;
20933 char *kwnames
[] = {
20934 (char *) "self",(char *) "printData", NULL
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20943 if (arg2
== NULL
) {
20944 PyErr_SetString(PyExc_TypeError
,"null reference");
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 Py_INCREF(Py_None
); resultobj
= Py_None
;
20961 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20964 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20966 return Py_BuildValue((char *)"");
20968 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxWindow
*arg1
= (wxWindow
*) 0 ;
20971 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20972 wxPrintDialog
*result
;
20973 PyObject
* obj0
= 0 ;
20974 PyObject
* obj1
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "parent",(char *) "data", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21000 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21003 wxPrintDialogData
*result
;
21004 PyObject
* obj0
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21016 result
= (wxPrintDialogData
*) &_result_ref
;
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21029 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "self", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (wxDC
*)(arg1
)->GetPrintDC();
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= wxPyMake_wxObject(result
);
21057 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
;
21059 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21061 PyObject
* obj0
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "self", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 result
= (int)(arg1
)->ShowModal();
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= SWIG_FromInt((int)result
);
21083 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21086 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21088 return Py_BuildValue((char *)"");
21090 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21094 PyObject
* obj0
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "data", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (wxPrinter
*)new wxPrinter(arg1
);
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21118 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
;
21120 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21121 PyObject
* obj0
= 0 ;
21122 char *kwnames
[] = {
21123 (char *) "self", NULL
21126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 Py_INCREF(Py_None
); resultobj
= Py_None
;
21143 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21145 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21146 wxWindow
*arg2
= (wxWindow
*) 0 ;
21147 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 PyObject
* obj1
= 0 ;
21150 PyObject
* obj2
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "parent",(char *) "printout", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21160 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 Py_INCREF(Py_None
); resultobj
= Py_None
;
21176 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21179 wxPrintDialogData
*result
;
21180 PyObject
* obj0
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21192 result
= (wxPrintDialogData
*) &_result_ref
;
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21205 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
;
21207 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21208 wxWindow
*arg2
= (wxWindow
*) 0 ;
21209 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21210 int arg4
= (int) True
;
21212 PyObject
* obj0
= 0 ;
21213 PyObject
* obj1
= 0 ;
21214 PyObject
* obj2
= 0 ;
21215 PyObject
* obj3
= 0 ;
21216 char *kwnames
[] = {
21217 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21225 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21228 arg4
= (int) SWIG_AsInt(obj3
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21247 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21249 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21250 wxWindow
*arg2
= (wxWindow
*) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 PyObject
* obj1
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "self",(char *) "parent", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= wxPyMake_wxObject(result
);
21279 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21282 wxWindow
*arg2
= (wxWindow
*) 0 ;
21283 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21284 wxString
*arg4
= 0 ;
21285 bool temp4
= False
;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 PyObject
* obj2
= 0 ;
21289 PyObject
* obj3
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21299 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21302 arg4
= wxString_in_helper(obj3
);
21303 if (arg4
== NULL
) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 Py_INCREF(Py_None
); resultobj
= Py_None
;
21328 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
;
21330 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21331 wxWindow
*arg2
= (wxWindow
*) 0 ;
21333 PyObject
* obj0
= 0 ;
21334 PyObject
* obj1
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self",(char *) "parent", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 result
= (bool)(arg1
)->Setup(arg2
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21360 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
;
21362 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21364 PyObject
* obj0
= 0 ;
21365 char *kwnames
[] = {
21366 (char *) "self", NULL
21369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 result
= (bool)(arg1
)->GetAbort();
21376 wxPyEndAllowThreads(__tstate
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21388 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21391 char *kwnames
[] = {
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 result
= (int)wxPrinter::GetLastError();
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 resultobj
= SWIG_FromInt((int)result
);
21410 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21413 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21415 return Py_BuildValue((char *)"");
21417 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21419 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21420 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21421 wxPyPrintout
*result
;
21422 bool temp1
= False
;
21423 PyObject
* obj0
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "title", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21431 arg1
= wxString_in_helper(obj0
);
21432 if (arg1
== NULL
) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= wxPyMake_wxObject(result
);
21460 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21462 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21463 PyObject
*arg2
= (PyObject
*) 0 ;
21464 PyObject
*arg3
= (PyObject
*) 0 ;
21465 PyObject
* obj0
= 0 ;
21466 PyObject
* obj1
= 0 ;
21467 PyObject
* obj2
= 0 ;
21468 char *kwnames
[] = {
21469 (char *) "self",(char *) "self",(char *) "_class", NULL
21472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21481 wxPyEndAllowThreads(__tstate
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21484 Py_INCREF(Py_None
); resultobj
= Py_None
;
21491 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21492 PyObject
*resultobj
;
21493 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21495 PyObject
* obj0
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21523 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (wxDC
*)(arg1
)->GetDC();
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= wxPyMake_wxObject(result
);
21551 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21553 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21554 wxDC
*arg2
= (wxDC
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 PyObject
* obj1
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "self",(char *) "dc", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 (arg1
)->SetDC(arg2
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 Py_INCREF(Py_None
); resultobj
= Py_None
;
21580 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 PyObject
* obj2
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "self",(char *) "w",(char *) "h", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21595 arg2
= (int) SWIG_AsInt(obj1
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21597 arg3
= (int) SWIG_AsInt(obj2
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21606 Py_INCREF(Py_None
); resultobj
= Py_None
;
21613 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21616 int *arg2
= (int *) 0 ;
21617 int *arg3
= (int *) 0 ;
21620 PyObject
* obj0
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self", NULL
21627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 Py_INCREF(Py_None
); resultobj
= Py_None
;
21639 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21640 resultobj
= t_output_helper(resultobj
,o
);
21643 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21644 resultobj
= t_output_helper(resultobj
,o
);
21652 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21657 PyObject
* obj0
= 0 ;
21658 PyObject
* obj1
= 0 ;
21659 PyObject
* obj2
= 0 ;
21660 char *kwnames
[] = {
21661 (char *) "self",(char *) "w",(char *) "h", NULL
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21667 arg2
= (int) SWIG_AsInt(obj1
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21669 arg3
= (int) SWIG_AsInt(obj2
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 Py_INCREF(Py_None
); resultobj
= Py_None
;
21685 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21688 int *arg2
= (int *) 0 ;
21689 int *arg3
= (int *) 0 ;
21692 PyObject
* obj0
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self", NULL
21699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 Py_INCREF(Py_None
); resultobj
= Py_None
;
21711 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21712 resultobj
= t_output_helper(resultobj
,o
);
21715 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21716 resultobj
= t_output_helper(resultobj
,o
);
21724 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21729 PyObject
* obj0
= 0 ;
21730 PyObject
* obj1
= 0 ;
21731 PyObject
* obj2
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "self",(char *) "x",(char *) "y", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21739 arg2
= (int) SWIG_AsInt(obj1
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21741 arg3
= (int) SWIG_AsInt(obj2
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 (arg1
)->SetPPIScreen(arg2
,arg3
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 Py_INCREF(Py_None
); resultobj
= Py_None
;
21757 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21760 int *arg2
= (int *) 0 ;
21761 int *arg3
= (int *) 0 ;
21764 PyObject
* obj0
= 0 ;
21765 char *kwnames
[] = {
21766 (char *) "self", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 (arg1
)->GetPPIScreen(arg2
,arg3
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21781 Py_INCREF(Py_None
); resultobj
= Py_None
;
21783 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21784 resultobj
= t_output_helper(resultobj
,o
);
21787 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21788 resultobj
= t_output_helper(resultobj
,o
);
21796 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21801 PyObject
* obj0
= 0 ;
21802 PyObject
* obj1
= 0 ;
21803 PyObject
* obj2
= 0 ;
21804 char *kwnames
[] = {
21805 (char *) "self",(char *) "x",(char *) "y", NULL
21808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21811 arg2
= (int) SWIG_AsInt(obj1
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21813 arg3
= (int) SWIG_AsInt(obj2
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21822 Py_INCREF(Py_None
); resultobj
= Py_None
;
21829 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21832 int *arg2
= (int *) 0 ;
21833 int *arg3
= (int *) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21853 Py_INCREF(Py_None
); resultobj
= Py_None
;
21855 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21856 resultobj
= t_output_helper(resultobj
,o
);
21859 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21860 resultobj
= t_output_helper(resultobj
,o
);
21868 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21872 PyObject
* obj0
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= (bool)(arg1
)->IsPreview();
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21896 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
;
21898 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21900 PyObject
* obj0
= 0 ;
21901 PyObject
* obj1
= 0 ;
21902 char *kwnames
[] = {
21903 (char *) "self",(char *) "p", NULL
21906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21909 arg2
= (bool) SWIG_AsBool(obj1
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 (arg1
)->SetIsPreview(arg2
);
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 Py_INCREF(Py_None
); resultobj
= Py_None
;
21925 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 PyObject
* obj2
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21941 arg2
= (int) SWIG_AsInt(obj1
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21943 arg3
= (int) SWIG_AsInt(obj2
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21961 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21964 PyObject
* obj0
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 (arg1
)->base_OnEndDocument();
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 Py_INCREF(Py_None
); resultobj
= Py_None
;
21986 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21989 PyObject
* obj0
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "self", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 (arg1
)->base_OnBeginPrinting();
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 Py_INCREF(Py_None
); resultobj
= Py_None
;
22011 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 (arg1
)->base_OnEndPrinting();
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 Py_INCREF(Py_None
); resultobj
= Py_None
;
22036 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22037 PyObject
*resultobj
;
22038 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22039 PyObject
* obj0
= 0 ;
22040 char *kwnames
[] = {
22041 (char *) "self", NULL
22044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 (arg1
)->base_OnPreparePrinting();
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 Py_INCREF(Py_None
); resultobj
= Py_None
;
22061 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
;
22063 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 char *kwnames
[] = {
22069 (char *) "self",(char *) "page", NULL
22072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22075 arg2
= (int) SWIG_AsInt(obj1
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 result
= (bool)(arg1
)->base_HasPage(arg2
);
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22093 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
;
22095 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22096 int *arg2
= (int *) 0 ;
22097 int *arg3
= (int *) 0 ;
22098 int *arg4
= (int *) 0 ;
22099 int *arg5
= (int *) 0 ;
22104 PyObject
* obj0
= 0 ;
22105 char *kwnames
[] = {
22106 (char *) "self", NULL
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 Py_INCREF(Py_None
); resultobj
= Py_None
;
22125 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22126 resultobj
= t_output_helper(resultobj
,o
);
22129 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22130 resultobj
= t_output_helper(resultobj
,o
);
22133 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22134 resultobj
= t_output_helper(resultobj
,o
);
22137 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22138 resultobj
= t_output_helper(resultobj
,o
);
22146 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22149 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22151 return Py_BuildValue((char *)"");
22153 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22155 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22156 wxWindow
*arg2
= (wxWindow
*) 0 ;
22157 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22158 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22159 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22160 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22161 long arg5
= (long) 0 ;
22162 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22163 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22164 wxPreviewCanvas
*result
;
22167 bool temp6
= False
;
22168 PyObject
* obj0
= 0 ;
22169 PyObject
* obj1
= 0 ;
22170 PyObject
* obj2
= 0 ;
22171 PyObject
* obj3
= 0 ;
22172 PyObject
* obj4
= 0 ;
22173 PyObject
* obj5
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22186 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22192 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22196 arg5
= (long) SWIG_AsLong(obj4
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22201 arg6
= wxString_in_helper(obj5
);
22202 if (arg6
== NULL
) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22228 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22231 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22233 return Py_BuildValue((char *)"");
22235 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22238 wxFrame
*arg2
= (wxFrame
*) 0 ;
22239 wxString
*arg3
= 0 ;
22240 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22241 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22242 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22243 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22244 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22245 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22246 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22247 wxPreviewFrame
*result
;
22248 bool temp3
= False
;
22251 bool temp7
= False
;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 PyObject
* obj2
= 0 ;
22255 PyObject
* obj3
= 0 ;
22256 PyObject
* obj4
= 0 ;
22257 PyObject
* obj5
= 0 ;
22258 PyObject
* obj6
= 0 ;
22259 char *kwnames
[] = {
22260 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22269 arg3
= wxString_in_helper(obj2
);
22270 if (arg3
== NULL
) SWIG_fail
;
22276 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22282 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22286 arg6
= (long) SWIG_AsLong(obj5
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22291 arg7
= wxString_in_helper(obj6
);
22292 if (arg7
== NULL
) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22326 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
;
22328 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22329 PyObject
* obj0
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "self", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 (arg1
)->Initialize();
22341 wxPyEndAllowThreads(__tstate
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22344 Py_INCREF(Py_None
); resultobj
= Py_None
;
22351 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22354 PyObject
* obj0
= 0 ;
22355 char *kwnames
[] = {
22356 (char *) "self", NULL
22359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 (arg1
)->CreateControlBar();
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 Py_INCREF(Py_None
); resultobj
= Py_None
;
22376 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
;
22378 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22379 PyObject
* obj0
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 (arg1
)->CreateCanvas();
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22394 Py_INCREF(Py_None
); resultobj
= Py_None
;
22401 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
;
22403 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22404 wxPreviewControlBar
*result
;
22405 PyObject
* obj0
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22427 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22430 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22432 return Py_BuildValue((char *)"");
22434 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
;
22436 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22438 wxWindow
*arg3
= (wxWindow
*) 0 ;
22439 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22440 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22441 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22442 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22443 long arg6
= (long) wxTAB_TRAVERSAL
;
22444 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22445 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22446 wxPreviewControlBar
*result
;
22449 bool temp7
= False
;
22450 PyObject
* obj0
= 0 ;
22451 PyObject
* obj1
= 0 ;
22452 PyObject
* obj2
= 0 ;
22453 PyObject
* obj3
= 0 ;
22454 PyObject
* obj4
= 0 ;
22455 PyObject
* obj5
= 0 ;
22456 PyObject
* obj6
= 0 ;
22457 char *kwnames
[] = {
22458 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22464 arg2
= (long) SWIG_AsLong(obj1
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22466 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22477 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22481 arg6
= (long) SWIG_AsLong(obj5
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22486 arg7
= wxString_in_helper(obj6
);
22487 if (arg7
== NULL
) SWIG_fail
;
22492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22493 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22513 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
;
22515 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22517 PyObject
* obj0
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 result
= (int)(arg1
)->GetZoomControl();
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 resultobj
= SWIG_FromInt((int)result
);
22539 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
;
22541 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22543 PyObject
* obj0
= 0 ;
22544 PyObject
* obj1
= 0 ;
22545 char *kwnames
[] = {
22546 (char *) "self",(char *) "zoom", NULL
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22552 arg2
= (int) SWIG_AsInt(obj1
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 (arg1
)->SetZoomControl(arg2
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 Py_INCREF(Py_None
); resultobj
= Py_None
;
22568 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22571 wxPrintPreview
*result
;
22572 PyObject
* obj0
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "self", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22594 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22597 PyObject
* obj0
= 0 ;
22598 char *kwnames
[] = {
22599 (char *) "self", NULL
22602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 Py_INCREF(Py_None
); resultobj
= Py_None
;
22619 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
;
22621 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22622 PyObject
* obj0
= 0 ;
22623 char *kwnames
[] = {
22624 (char *) "self", NULL
22627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 (arg1
)->OnPrevious();
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 Py_INCREF(Py_None
); resultobj
= Py_None
;
22644 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
;
22646 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22647 PyObject
* obj0
= 0 ;
22648 char *kwnames
[] = {
22649 (char *) "self", NULL
22652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 Py_INCREF(Py_None
); resultobj
= Py_None
;
22669 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22672 PyObject
* obj0
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 Py_INCREF(Py_None
); resultobj
= Py_None
;
22694 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 Py_INCREF(Py_None
); resultobj
= Py_None
;
22719 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22722 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22724 return Py_BuildValue((char *)"");
22726 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22727 PyObject
*resultobj
;
22728 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22729 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22730 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22731 wxPrintPreview
*result
;
22732 PyObject
* obj0
= 0 ;
22733 PyObject
* obj1
= 0 ;
22734 PyObject
* obj2
= 0 ;
22736 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22742 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22759 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22760 PyObject
*resultobj
;
22761 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22762 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22763 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22764 wxPrintPreview
*result
;
22765 PyObject
* obj0
= 0 ;
22766 PyObject
* obj1
= 0 ;
22767 PyObject
* obj2
= 0 ;
22769 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22774 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22790 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22795 argc
= PyObject_Length(args
);
22796 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22797 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22799 if ((argc
>= 2) && (argc
<= 3)) {
22803 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22813 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22822 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22826 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22834 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22843 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22853 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22863 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22871 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22877 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22882 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
;
22884 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 PyObject
* obj1
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self",(char *) "pageNum", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22896 arg2
= (int) SWIG_AsInt(obj1
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22914 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 char *kwnames
[] = {
22920 (char *) "self", NULL
22923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 result
= (int)(arg1
)->GetCurrentPage();
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_FromInt((int)result
);
22940 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
;
22942 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22943 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self",(char *) "printout", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 (arg1
)->SetPrintout(arg2
);
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 Py_INCREF(Py_None
); resultobj
= Py_None
;
22969 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22972 wxPyPrintout
*result
;
22973 PyObject
* obj0
= 0 ;
22974 char *kwnames
[] = {
22975 (char *) "self", NULL
22978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22989 resultobj
= wxPyMake_wxObject(result
);
22997 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23000 wxPyPrintout
*result
;
23001 PyObject
* obj0
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23017 resultobj
= wxPyMake_wxObject(result
);
23025 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23026 PyObject
*resultobj
;
23027 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23028 wxFrame
*arg2
= (wxFrame
*) 0 ;
23029 PyObject
* obj0
= 0 ;
23030 PyObject
* obj1
= 0 ;
23031 char *kwnames
[] = {
23032 (char *) "self",(char *) "frame", NULL
23035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 (arg1
)->SetFrame(arg2
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 Py_INCREF(Py_None
); resultobj
= Py_None
;
23054 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23057 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 PyObject
* obj1
= 0 ;
23060 char *kwnames
[] = {
23061 (char *) "self",(char *) "canvas", NULL
23064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 (arg1
)->SetCanvas(arg2
);
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 Py_INCREF(Py_None
); resultobj
= Py_None
;
23083 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
;
23085 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23087 PyObject
* obj0
= 0 ;
23088 char *kwnames
[] = {
23089 (char *) "self", NULL
23092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 result
= (wxFrame
*)(arg1
)->GetFrame();
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= wxPyMake_wxObject(result
);
23111 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
;
23113 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23114 wxPreviewCanvas
*result
;
23115 PyObject
* obj0
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23137 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23140 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 PyObject
* obj2
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23155 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23158 if (arg3
== NULL
) {
23159 PyErr_SetString(PyExc_TypeError
,"null reference");
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23178 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23181 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23184 PyObject
* obj0
= 0 ;
23185 PyObject
* obj1
= 0 ;
23186 PyObject
* obj2
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23196 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23199 if (arg3
== NULL
) {
23200 PyErr_SetString(PyExc_TypeError
,"null reference");
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23219 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
;
23221 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 PyObject
* obj1
= 0 ;
23226 char *kwnames
[] = {
23227 (char *) "self",(char *) "pageNum", NULL
23230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23233 arg2
= (int) SWIG_AsInt(obj1
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (bool)(arg1
)->RenderPage(arg2
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23251 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23254 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 PyObject
* obj1
= 0 ;
23257 char *kwnames
[] = {
23258 (char *) "self",(char *) "canvas", NULL
23261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 (arg1
)->AdjustScrollbars(arg2
);
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 Py_INCREF(Py_None
); resultobj
= Py_None
;
23280 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
;
23282 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23283 wxPrintDialogData
*result
;
23284 PyObject
* obj0
= 0 ;
23285 char *kwnames
[] = {
23286 (char *) "self", NULL
23289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23296 result
= (wxPrintDialogData
*) &_result_ref
;
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23309 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23313 PyObject
* obj0
= 0 ;
23314 PyObject
* obj1
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self",(char *) "percent", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23322 arg2
= (int) SWIG_AsInt(obj1
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 (arg1
)->SetZoom(arg2
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 Py_INCREF(Py_None
); resultobj
= Py_None
;
23338 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23342 PyObject
* obj0
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (int)(arg1
)->GetZoom();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_FromInt((int)result
);
23364 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 result
= (int)(arg1
)->GetMaxPage();
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_FromInt((int)result
);
23390 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (int)(arg1
)->GetMinPage();
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= SWIG_FromInt((int)result
);
23416 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23420 PyObject
* obj0
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= (bool)(arg1
)->Ok();
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23444 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
;
23446 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23448 PyObject
* obj0
= 0 ;
23449 PyObject
* obj1
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self",(char *) "ok", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23457 arg2
= (bool) SWIG_AsBool(obj1
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 (arg1
)->SetOk(arg2
);
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 Py_INCREF(Py_None
); resultobj
= Py_None
;
23473 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
;
23475 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj1
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self",(char *) "interactive", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23487 arg2
= (bool) SWIG_AsBool(obj1
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (bool)(arg1
)->Print(arg2
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23505 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23508 PyObject
* obj0
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 (arg1
)->DetermineScaling();
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 Py_INCREF(Py_None
); resultobj
= Py_None
;
23530 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23533 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23535 return Py_BuildValue((char *)"");
23537 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23538 PyObject
*resultobj
;
23539 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23540 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23541 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23542 wxPyPrintPreview
*result
;
23543 PyObject
* obj0
= 0 ;
23544 PyObject
* obj1
= 0 ;
23545 PyObject
* obj2
= 0 ;
23547 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23553 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23570 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23571 PyObject
*resultobj
;
23572 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23573 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23574 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23575 wxPyPrintPreview
*result
;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 PyObject
* obj2
= 0 ;
23580 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23585 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23601 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23606 argc
= PyObject_Length(args
);
23607 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23608 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23610 if ((argc
>= 2) && (argc
<= 3)) {
23614 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23624 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23633 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23637 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23645 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23654 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23664 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23674 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23682 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23688 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23693 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23695 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23696 PyObject
*arg2
= (PyObject
*) 0 ;
23697 PyObject
*arg3
= (PyObject
*) 0 ;
23698 PyObject
* obj0
= 0 ;
23699 PyObject
* obj1
= 0 ;
23700 PyObject
* obj2
= 0 ;
23701 char *kwnames
[] = {
23702 (char *) "self",(char *) "self",(char *) "_class", NULL
23705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 Py_INCREF(Py_None
); resultobj
= Py_None
;
23724 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23729 PyObject
* obj0
= 0 ;
23730 PyObject
* obj1
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "self",(char *) "pageNum", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23738 arg2
= (int) SWIG_AsInt(obj1
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23756 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
;
23758 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23759 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23762 PyObject
* obj0
= 0 ;
23763 PyObject
* obj1
= 0 ;
23764 PyObject
* obj2
= 0 ;
23765 char *kwnames
[] = {
23766 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23774 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23777 if (arg3
== NULL
) {
23778 PyErr_SetString(PyExc_TypeError
,"null reference");
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23797 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
;
23799 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23800 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23803 PyObject
* obj0
= 0 ;
23804 PyObject
* obj1
= 0 ;
23805 PyObject
* obj2
= 0 ;
23806 char *kwnames
[] = {
23807 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23815 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23818 if (arg3
== NULL
) {
23819 PyErr_SetString(PyExc_TypeError
,"null reference");
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23838 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23840 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23843 PyObject
* obj0
= 0 ;
23844 PyObject
* obj1
= 0 ;
23845 char *kwnames
[] = {
23846 (char *) "self",(char *) "pageNum", NULL
23849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23852 arg2
= (int) SWIG_AsInt(obj1
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23870 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
;
23872 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self",(char *) "percent", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23883 arg2
= (int) SWIG_AsInt(obj1
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 (arg1
)->base_SetZoom(arg2
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 Py_INCREF(Py_None
); resultobj
= Py_None
;
23899 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23904 PyObject
* obj0
= 0 ;
23905 PyObject
* obj1
= 0 ;
23906 char *kwnames
[] = {
23907 (char *) "self",(char *) "interactive", NULL
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23913 arg2
= (bool) SWIG_AsBool(obj1
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (bool)(arg1
)->base_Print(arg2
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23931 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23934 PyObject
* obj0
= 0 ;
23935 char *kwnames
[] = {
23936 (char *) "self", NULL
23939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 (arg1
)->base_DetermineScaling();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 Py_INCREF(Py_None
); resultobj
= Py_None
;
23956 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23959 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23961 return Py_BuildValue((char *)"");
23963 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
;
23965 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23966 wxFrame
*arg2
= (wxFrame
*) 0 ;
23967 wxString
*arg3
= 0 ;
23968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23972 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23973 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23974 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23975 wxPyPreviewFrame
*result
;
23976 bool temp3
= False
;
23979 bool temp7
= False
;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 PyObject
* obj2
= 0 ;
23983 PyObject
* obj3
= 0 ;
23984 PyObject
* obj4
= 0 ;
23985 PyObject
* obj5
= 0 ;
23986 PyObject
* obj6
= 0 ;
23987 char *kwnames
[] = {
23988 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23997 arg3
= wxString_in_helper(obj2
);
23998 if (arg3
== NULL
) SWIG_fail
;
24004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24010 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24014 arg6
= (long) SWIG_AsLong(obj5
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24019 arg7
= wxString_in_helper(obj6
);
24020 if (arg7
== NULL
) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24054 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
;
24056 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24057 PyObject
*arg2
= (PyObject
*) 0 ;
24058 PyObject
*arg3
= (PyObject
*) 0 ;
24059 PyObject
* obj0
= 0 ;
24060 PyObject
* obj1
= 0 ;
24061 PyObject
* obj2
= 0 ;
24062 char *kwnames
[] = {
24063 (char *) "self",(char *) "self",(char *) "_class", NULL
24066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 Py_INCREF(Py_None
); resultobj
= Py_None
;
24085 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24087 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24088 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24089 PyObject
* obj0
= 0 ;
24090 PyObject
* obj1
= 0 ;
24091 char *kwnames
[] = {
24092 (char *) "self",(char *) "canvas", NULL
24095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 (arg1
)->SetPreviewCanvas(arg2
);
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24107 Py_INCREF(Py_None
); resultobj
= Py_None
;
24114 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
;
24116 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24117 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24118 PyObject
* obj0
= 0 ;
24119 PyObject
* obj1
= 0 ;
24120 char *kwnames
[] = {
24121 (char *) "self",(char *) "bar", NULL
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 (arg1
)->SetControlBar(arg2
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 Py_INCREF(Py_None
); resultobj
= Py_None
;
24143 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24145 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24146 PyObject
* obj0
= 0 ;
24147 char *kwnames
[] = {
24148 (char *) "self", NULL
24151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 (arg1
)->base_Initialize();
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 Py_INCREF(Py_None
); resultobj
= Py_None
;
24168 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24170 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 (arg1
)->base_CreateCanvas();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 Py_INCREF(Py_None
); resultobj
= Py_None
;
24193 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 (arg1
)->base_CreateControlBar();
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 Py_INCREF(Py_None
); resultobj
= Py_None
;
24218 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24221 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24223 return Py_BuildValue((char *)"");
24225 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24229 wxWindow
*arg3
= (wxWindow
*) 0 ;
24230 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24231 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24232 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24233 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24234 long arg6
= (long) 0 ;
24235 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24236 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24237 wxPyPreviewControlBar
*result
;
24240 bool temp7
= False
;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 PyObject
* obj2
= 0 ;
24244 PyObject
* obj3
= 0 ;
24245 PyObject
* obj4
= 0 ;
24246 PyObject
* obj5
= 0 ;
24247 PyObject
* obj6
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24255 arg2
= (long) SWIG_AsLong(obj1
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24257 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24262 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24268 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24272 arg6
= (long) SWIG_AsLong(obj5
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24277 arg7
= wxString_in_helper(obj6
);
24278 if (arg7
== NULL
) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24304 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24307 PyObject
*arg2
= (PyObject
*) 0 ;
24308 PyObject
*arg3
= (PyObject
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 PyObject
* obj2
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self",(char *) "self",(char *) "_class", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 Py_INCREF(Py_None
); resultobj
= Py_None
;
24335 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24338 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24339 PyObject
* obj0
= 0 ;
24340 PyObject
* obj1
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self",(char *) "preview", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 (arg1
)->SetPrintPreview(arg2
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 Py_INCREF(Py_None
); resultobj
= Py_None
;
24364 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24367 PyObject
* obj0
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 (arg1
)->base_CreateButtons();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 Py_INCREF(Py_None
); resultobj
= Py_None
;
24389 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "self",(char *) "zoom", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24402 arg2
= (int) SWIG_AsInt(obj1
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 (arg1
)->base_SetZoomControl(arg2
);
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24411 Py_INCREF(Py_None
); resultobj
= Py_None
;
24418 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24421 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24423 return Py_BuildValue((char *)"");
24425 static PyMethodDef SwigMethods
[] = {
24426 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24428 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24431 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24436 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24437 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24443 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24445 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24446 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24447 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24448 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24454 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24458 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24465 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24468 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24469 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24473 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24491 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
24502 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24503 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24507 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24511 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24516 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24531 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24558 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24565 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24588 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24596 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24608 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24614 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24623 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24629 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24634 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24640 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24644 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24662 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24688 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24695 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24704 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24706 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24715 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24718 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24725 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24743 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24747 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24752 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24756 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24772 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24775 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24777 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24781 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24790 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24799 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24805 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24820 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24827 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24831 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24855 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24879 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24903 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
24949 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
24981 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
24985 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
24986 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25019 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25024 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25035 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25058 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25060 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25066 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25076 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25077 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25100 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25101 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25110 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25118 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25128 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25130 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25131 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25133 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25134 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25136 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25137 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25139 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25140 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25142 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25143 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25145 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25146 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25148 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25149 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25151 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25152 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25154 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25155 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25157 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25160 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25161 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25163 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25164 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25166 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25167 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25169 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25170 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25172 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25173 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25175 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25176 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25178 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25179 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25181 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25182 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25184 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25185 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25187 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25188 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25190 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25191 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25193 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25194 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25196 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25197 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25199 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25200 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25202 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25203 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25205 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25206 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25208 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25209 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25211 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25212 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25214 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25215 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25217 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25218 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25220 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25221 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25223 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25224 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25226 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25227 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25229 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25230 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25232 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25233 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25235 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25236 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25238 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25239 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25241 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25242 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25244 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25245 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25247 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25248 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25250 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25251 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25253 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25254 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25256 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25257 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25259 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25262 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25265 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25266 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25268 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25269 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25271 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25272 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25274 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25275 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25277 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25278 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25280 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25283 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25284 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25286 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25289 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25292 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25295 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25298 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25299 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25301 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25302 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25304 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25305 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25307 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25308 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25310 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25313 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25316 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25317 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25319 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25322 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25323 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25325 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25326 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25328 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25329 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25331 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25332 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25334 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25335 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25337 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25338 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25340 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25341 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25343 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25346 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25347 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25349 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25350 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25352 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25353 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25355 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25356 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25358 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25359 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25361 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25364 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25365 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25367 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25370 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25371 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25373 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25376 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25379 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25382 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25383 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25385 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25388 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25391 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25394 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25397 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25400 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25403 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25406 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25409 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25410 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25412 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25413 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25415 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25416 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25418 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25419 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25421 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25422 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25424 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25425 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25427 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25428 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25430 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25431 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25433 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25434 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25436 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25437 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25439 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25442 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25445 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25446 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25448 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25449 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25451 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25452 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25454 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25455 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25457 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25458 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25460 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25461 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25463 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25464 return (void *)((wxObject
*) ((wxSizer
*) x
));
25466 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25467 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25469 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25470 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25472 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25475 static void *_p_wxEventTo_p_wxObject(void *x
) {
25476 return (void *)((wxObject
*) ((wxEvent
*) x
));
25478 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25479 return (void *)((wxObject
*) ((wxFontData
*) x
));
25481 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25482 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25484 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25485 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25487 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25488 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25490 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25491 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25493 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25494 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25496 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25497 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25499 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25500 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25502 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25503 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25505 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25506 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25508 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25509 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25511 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25512 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25514 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25515 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25517 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25518 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25520 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25523 static void *_p_wxControlTo_p_wxObject(void *x
) {
25524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25526 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25527 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25529 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25530 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25532 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25533 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25535 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25536 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25538 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25539 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25541 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25544 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25545 return (void *)((wxObject
*) ((wxColourData
*) x
));
25547 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25548 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25550 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25553 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25554 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25556 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25559 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25562 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25565 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25568 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25571 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25574 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25577 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25580 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25581 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25583 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25584 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25586 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25587 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25589 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25590 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25592 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25593 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25595 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25596 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25598 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25599 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25601 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25602 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25604 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25605 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25607 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25608 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25610 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25611 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25613 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25614 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25616 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25617 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25619 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25620 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25622 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25623 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25625 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25626 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25628 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25629 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25631 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25632 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25634 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25635 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25637 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25638 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25640 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25641 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25643 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25644 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25646 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25647 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25649 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25650 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25652 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25653 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25655 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25658 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25661 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25662 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25664 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25667 static void *_p_wxImageTo_p_wxObject(void *x
) {
25668 return (void *)((wxObject
*) ((wxImage
*) x
));
25670 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25673 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25674 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25676 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25677 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25679 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25680 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25682 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25683 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25685 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25688 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25689 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25691 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25692 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25694 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25695 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25697 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25698 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25700 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25701 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25703 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25706 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25709 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25712 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25715 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25718 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25721 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25724 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25727 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25730 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25733 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25736 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25739 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25742 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25743 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25745 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25746 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25748 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25749 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25751 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25754 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25757 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25760 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25763 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25766 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25769 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25772 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25773 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25775 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25776 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25778 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25779 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25781 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25782 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25784 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25785 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25787 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25788 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25790 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25791 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25793 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25796 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25797 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25799 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25802 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25805 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25806 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25808 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25809 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25811 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25814 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25817 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25818 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25820 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25821 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25823 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25826 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25827 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25829 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25830 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25832 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25833 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25835 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
25836 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25838 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25839 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25841 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
25842 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25844 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25845 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25847 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25848 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25850 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25851 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25853 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25854 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25856 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25857 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25859 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25860 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25862 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25863 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25865 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25866 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25868 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25869 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25871 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25872 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25874 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25875 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25877 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25878 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25880 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25881 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25883 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25884 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25886 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25887 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25889 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25890 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25892 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25893 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25895 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25896 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25898 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25899 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25901 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25902 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25904 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25905 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25907 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25908 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25910 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25911 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25913 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25914 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25916 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25917 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25919 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25920 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25922 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25923 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25925 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25926 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25928 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25929 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25931 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25932 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25934 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25935 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25937 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25938 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25940 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25941 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25943 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25944 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25946 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25947 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25949 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25950 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25952 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25953 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25955 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25956 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25958 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25959 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25961 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25962 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25964 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25965 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25967 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25968 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25970 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25971 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25973 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25974 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25976 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25977 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25979 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25980 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25982 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25983 return (void *)((wxWindow
*) ((wxControl
*) x
));
25985 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25986 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25988 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25989 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25991 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25992 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25994 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25995 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25997 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25998 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26000 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26001 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26003 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26004 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26006 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26007 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26009 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26010 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26012 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26013 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26015 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26016 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26018 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26019 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26021 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26022 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26024 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26025 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26027 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26028 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26030 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26031 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26033 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26034 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26036 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26037 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26039 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26040 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26042 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26043 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26045 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26046 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26048 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26049 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26051 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26052 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26054 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26055 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26057 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26058 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26060 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26061 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26063 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26064 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26066 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26067 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26069 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26070 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26072 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26073 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26075 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26076 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26078 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26079 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26081 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26082 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26084 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26085 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26087 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26088 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26090 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26091 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26093 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26094 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26096 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26097 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26099 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26100 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26102 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26103 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26105 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26106 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26108 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26109 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26111 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26112 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26114 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26115 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26117 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26118 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26120 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26121 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26123 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26124 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26126 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26127 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26129 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26130 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26132 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26133 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26135 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26136 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26138 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26139 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26141 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26142 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26144 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}};
26145 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}};
26146 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}};
26147 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}};
26148 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}};
26149 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}};
26150 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}};
26151 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}};
26152 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}};
26153 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}};
26154 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}};
26155 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}};
26156 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}};
26157 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}};
26158 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}};
26159 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}};
26160 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}};
26161 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}};
26162 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}};
26163 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}};
26164 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}};
26165 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}};
26166 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}};
26167 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}};
26168 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}};
26169 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}};
26170 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}};
26171 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}};
26172 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}};
26173 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}};
26174 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}};
26175 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}};
26176 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}};
26177 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}};
26178 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}};
26179 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}};
26180 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}};
26181 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}};
26182 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}};
26183 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}};
26184 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}};
26185 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}};
26186 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}};
26187 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}};
26188 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}};
26189 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}};
26190 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}};
26191 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}};
26192 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}};
26193 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}};
26194 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}};
26195 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}};
26196 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}};
26197 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}};
26198 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}};
26199 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}};
26200 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}};
26201 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}};
26202 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}};
26203 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}};
26204 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}};
26205 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}};
26206 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}};
26207 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}};
26208 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}};
26209 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}};
26210 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}};
26211 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}};
26212 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}};
26213 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}};
26214 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}};
26215 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}};
26216 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}};
26217 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}};
26218 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}};
26219 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}};
26220 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}};
26221 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}};
26222 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}};
26223 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}};
26224 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}};
26225 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}};
26226 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}};
26227 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}};
26228 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}};
26230 static swig_type_info
*swig_types_initial
[] = {
26231 _swigt__p_wxQueryLayoutInfoEvent
,
26232 _swigt__p_wxPreviewFrame
,
26233 _swigt__p_wxPyPreviewFrame
,
26234 _swigt__p_wxPyPanel
,
26236 _swigt__p_wxPrintData
,
26237 _swigt__p_wxFontData
,
26239 _swigt__p_wxTaskBarIcon
,
26240 _swigt__p_wxIconBundle
,
26241 _swigt__p_wxLayoutAlgorithm
,
26242 _swigt__p_wxFindDialogEvent
,
26243 _swigt__p_wxPreviewCanvas
,
26245 _swigt__p_wxSplitterEvent
,
26246 _swigt__p_wxRegion
,
26247 _swigt__p_wxFindReplaceData
,
26252 _swigt__p_wxMDIChildFrame
,
26253 _swigt__p_wxColourData
,
26254 _swigt__p_wxNotifyEvent
,
26255 _swigt__p_wxPyWindow
,
26256 _swigt__p_wxSplashScreen
,
26257 _swigt__p_wxFindReplaceDialog
,
26258 _swigt__p_wxProgressDialog
,
26259 _swigt__p_wxMessageDialog
,
26260 _swigt__p_wxTextEntryDialog
,
26261 _swigt__p_wxSingleChoiceDialog
,
26262 _swigt__p_wxMultiChoiceDialog
,
26263 _swigt__p_wxFileDialog
,
26264 _swigt__p_wxPrinter
,
26265 _swigt__p_wxArrayInt
,
26266 _swigt__p_wxEvtHandler
,
26267 _swigt__p_wxCalculateLayoutEvent
,
26268 _swigt__p_wxPyHtmlListBox
,
26269 _swigt__p_wxPyVListBox
,
26272 _swigt__p_wxMiniFrame
,
26274 _swigt__p_wxPyPrintout
,
26275 _swigt__p_wxTaskBarIconEvent
,
26276 _swigt__p_wxScrollWinEvent
,
26277 _swigt__p_wxStatusBar
,
26278 _swigt__p_wxMDIParentFrame
,
26280 _swigt__p_wxObject
,
26281 _swigt__p_wxOutputStream
,
26282 _swigt__p_unsigned_long
,
26283 _swigt__p_wxPyScrolledWindow
,
26284 _swigt__p_wxMDIClientWindow
,
26285 _swigt__p_wxTipWindow
,
26286 _swigt__p_wxSashLayoutWindow
,
26287 _swigt__p_wxSplitterWindow
,
26288 _swigt__p_wxPyVScrolledWindow
,
26289 _swigt__p_wxPyPopupTransientWindow
,
26290 _swigt__p_wxPopupWindow
,
26291 _swigt__p_wxSashWindow
,
26292 _swigt__p_wxTopLevelWindow
,
26293 _swigt__p_wxWindow
,
26294 _swigt__p_wxScrolledWindow
,
26295 _swigt__p_wxSplashScreenWindow
,
26296 _swigt__p_wxMenuBar
,
26297 _swigt__p_wxPrintPreview
,
26298 _swigt__p_wxSashEvent
,
26299 _swigt__p_wxString
,
26300 _swigt__p_wxPyPrintPreview
,
26301 _swigt__p_wxFontDialog
,
26302 _swigt__p_wxDirDialog
,
26303 _swigt__p_wxColourDialog
,
26304 _swigt__p_wxDialog
,
26306 _swigt__p_wxPageSetupDialog
,
26307 _swigt__p_wxPrintDialog
,
26308 _swigt__p_wxBitmap
,
26309 _swigt__p_wxCommandEvent
,
26310 _swigt__p_wxPreviewControlBar
,
26311 _swigt__p_wxPyPreviewControlBar
,
26312 _swigt__p_wxColour
,
26313 _swigt__p_wxToolBar
,
26314 _swigt__p_wxPageSetupDialogData
,
26315 _swigt__p_wxPrintDialogData
,
26320 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26322 static swig_const_info swig_const_table
[] = {
26332 SWIGEXPORT(void) SWIG_init(void) {
26333 static PyObject
*SWIG_globals
= 0;
26334 static int typeinit
= 0;
26337 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26338 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26339 d
= PyModule_GetDict(m
);
26342 for (i
= 0; swig_types_initial
[i
]; i
++) {
26343 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26347 SWIG_InstallConstants(d
,swig_const_table
);
26349 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26350 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26351 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26352 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26353 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26354 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26355 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26356 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26357 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26358 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26359 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26360 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26361 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26362 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26363 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26364 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26365 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26366 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26367 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26368 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26369 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26370 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26371 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26372 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26373 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26374 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26375 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26376 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26377 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26378 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26379 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26380 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26381 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26382 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26383 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26384 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26385 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26386 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26387 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26388 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26389 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26390 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26391 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26392 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26393 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26394 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26395 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26396 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26397 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26398 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26399 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26400 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26401 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26402 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26403 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26404 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26405 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26406 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26407 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26408 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26409 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26410 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26411 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26412 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26413 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26414 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26415 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26416 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26417 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26418 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26419 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26420 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26421 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26422 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26423 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26424 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26425 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26426 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26427 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26428 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26429 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26430 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26431 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26432 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26433 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26434 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26435 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26436 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26437 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26439 // Map renamed classes back to their common name for OOR
26440 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26441 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26442 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26444 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26445 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26446 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26447 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26448 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26449 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26450 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26451 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26452 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26453 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26454 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26455 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26456 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26457 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26458 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26459 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26460 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26461 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26462 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26463 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26464 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26465 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26466 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26467 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26468 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26469 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26470 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26471 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26472 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26473 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26474 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26475 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26476 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26477 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26478 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26479 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26480 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26481 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26482 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26483 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26484 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26485 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26486 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26487 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26488 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26489 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26490 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26491 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26492 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26493 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26494 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26495 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26496 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26497 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26498 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26499 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26500 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26501 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26502 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26503 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26505 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");