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
){
519 return self
->m_modalShowing
;
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 ;
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 *)"OOO|OOOO: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
;
1409 arg3
= (int const) SWIG_AsInt(obj2
);
1410 if (PyErr_Occurred()) SWIG_fail
;
1414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1424 arg6
= (long) SWIG_AsLong(obj5
);
1425 if (PyErr_Occurred()) SWIG_fail
;
1429 arg7
= wxString_in_helper(obj6
);
1430 if (arg7
== NULL
) SWIG_fail
;
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1458 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
*resultobj
;
1460 wxPanel
*arg1
= (wxPanel
*) 0 ;
1461 PyObject
* obj0
= 0 ;
1463 (char *) "self", NULL
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 (arg1
)->InitDialog();
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) SWIG_fail
;
1476 Py_INCREF(Py_None
); resultobj
= Py_None
;
1483 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1486 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1488 return Py_BuildValue((char *)"");
1490 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
*resultobj
;
1492 wxWindow
*arg1
= (wxWindow
*) 0 ;
1493 int arg2
= (int) (int)-1 ;
1494 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1495 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1496 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1497 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1498 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1499 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1500 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1501 wxScrolledWindow
*result
;
1504 bool temp6
= False
;
1505 PyObject
* obj0
= 0 ;
1506 PyObject
* obj1
= 0 ;
1507 PyObject
* obj2
= 0 ;
1508 PyObject
* obj3
= 0 ;
1509 PyObject
* obj4
= 0 ;
1510 PyObject
* obj5
= 0 ;
1512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1519 arg2
= (int const) SWIG_AsInt(obj1
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1531 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1535 arg5
= (long) SWIG_AsLong(obj4
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1540 arg6
= wxString_in_helper(obj5
);
1541 if (arg6
== NULL
) SWIG_fail
;
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1567 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
*resultobj
;
1569 wxScrolledWindow
*result
;
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1579 wxPyEndAllowThreads(__tstate
);
1580 if (PyErr_Occurred()) SWIG_fail
;
1582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1589 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
*resultobj
;
1591 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1592 wxWindow
*arg2
= (wxWindow
*) 0 ;
1593 int arg3
= (int) (int)-1 ;
1594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1598 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1599 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1604 bool temp7
= False
;
1605 PyObject
* obj0
= 0 ;
1606 PyObject
* obj1
= 0 ;
1607 PyObject
* obj2
= 0 ;
1608 PyObject
* obj3
= 0 ;
1609 PyObject
* obj4
= 0 ;
1610 PyObject
* obj5
= 0 ;
1611 PyObject
* obj6
= 0 ;
1613 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1622 arg3
= (int const) SWIG_AsInt(obj2
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1638 arg6
= (long) SWIG_AsLong(obj5
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1643 arg7
= wxString_in_helper(obj6
);
1644 if (arg7
== NULL
) SWIG_fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1672 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
*resultobj
;
1674 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1679 int arg6
= (int) 0 ;
1680 int arg7
= (int) 0 ;
1681 bool arg8
= (bool) False
;
1682 PyObject
* obj0
= 0 ;
1683 PyObject
* obj1
= 0 ;
1684 PyObject
* obj2
= 0 ;
1685 PyObject
* obj3
= 0 ;
1686 PyObject
* obj4
= 0 ;
1687 PyObject
* obj5
= 0 ;
1688 PyObject
* obj6
= 0 ;
1689 PyObject
* obj7
= 0 ;
1691 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1697 arg2
= (int) SWIG_AsInt(obj1
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1699 arg3
= (int) SWIG_AsInt(obj2
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1701 arg4
= (int) SWIG_AsInt(obj3
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1703 arg5
= (int) SWIG_AsInt(obj4
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1706 arg6
= (int) SWIG_AsInt(obj5
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1710 arg7
= (int) SWIG_AsInt(obj6
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1714 arg8
= (bool) SWIG_AsBool(obj7
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1724 Py_INCREF(Py_None
); resultobj
= Py_None
;
1731 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
*resultobj
;
1733 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1736 PyObject
* obj0
= 0 ;
1737 PyObject
* obj1
= 0 ;
1738 PyObject
* obj2
= 0 ;
1740 (char *) "self",(char *) "x",(char *) "y", NULL
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1746 arg2
= (int) SWIG_AsInt(obj1
);
1747 if (PyErr_Occurred()) SWIG_fail
;
1748 arg3
= (int) SWIG_AsInt(obj2
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 (arg1
)->Scroll(arg2
,arg3
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 Py_INCREF(Py_None
); resultobj
= Py_None
;
1764 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1769 PyObject
* obj0
= 0 ;
1770 PyObject
* obj1
= 0 ;
1772 (char *) "self",(char *) "orient", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1778 arg2
= (int) SWIG_AsInt(obj1
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1787 resultobj
= SWIG_FromInt((int)result
);
1794 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1796 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1799 PyObject
* obj0
= 0 ;
1800 PyObject
* obj1
= 0 ;
1801 PyObject
* obj2
= 0 ;
1803 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1809 arg2
= (int) SWIG_AsInt(obj1
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1811 arg3
= (int) SWIG_AsInt(obj2
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1820 Py_INCREF(Py_None
); resultobj
= Py_None
;
1827 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
*resultobj
;
1829 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1832 PyObject
* obj0
= 0 ;
1833 PyObject
* obj1
= 0 ;
1834 PyObject
* obj2
= 0 ;
1836 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1842 arg2
= (int) SWIG_AsInt(obj1
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1844 arg3
= (int) SWIG_AsInt(obj2
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 (arg1
)->SetScrollRate(arg2
,arg3
);
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1853 Py_INCREF(Py_None
); resultobj
= Py_None
;
1860 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
*resultobj
;
1862 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1863 int *arg2
= (int *) 0 ;
1864 int *arg3
= (int *) 0 ;
1867 PyObject
* obj0
= 0 ;
1869 (char *) "self", NULL
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1879 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1881 wxPyEndAllowThreads(__tstate
);
1882 if (PyErr_Occurred()) SWIG_fail
;
1884 Py_INCREF(Py_None
); resultobj
= Py_None
;
1886 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1887 resultobj
= t_output_helper(resultobj
,o
);
1890 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1891 resultobj
= t_output_helper(resultobj
,o
);
1899 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
*resultobj
;
1901 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1904 PyObject
* obj0
= 0 ;
1905 PyObject
* obj1
= 0 ;
1906 PyObject
* obj2
= 0 ;
1908 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1914 arg2
= (bool) SWIG_AsBool(obj1
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1916 arg3
= (bool) SWIG_AsBool(obj2
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 (arg1
)->EnableScrolling(arg2
,arg3
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 Py_INCREF(Py_None
); resultobj
= Py_None
;
1932 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1935 int *arg2
= (int *) 0 ;
1936 int *arg3
= (int *) 0 ;
1939 PyObject
* obj0
= 0 ;
1941 (char *) "self", NULL
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1951 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1953 wxPyEndAllowThreads(__tstate
);
1954 if (PyErr_Occurred()) SWIG_fail
;
1956 Py_INCREF(Py_None
); resultobj
= Py_None
;
1958 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1959 resultobj
= t_output_helper(resultobj
,o
);
1962 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1963 resultobj
= t_output_helper(resultobj
,o
);
1971 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
*resultobj
;
1973 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1976 PyObject
* obj0
= 0 ;
1977 PyObject
* obj1
= 0 ;
1978 PyObject
* obj2
= 0 ;
1980 (char *) "self",(char *) "xs",(char *) "ys", NULL
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1986 arg2
= (double) SWIG_AsDouble(obj1
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1988 arg3
= (double) SWIG_AsDouble(obj2
);
1989 if (PyErr_Occurred()) SWIG_fail
;
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 (arg1
)->SetScale(arg2
,arg3
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) SWIG_fail
;
1997 Py_INCREF(Py_None
); resultobj
= Py_None
;
2004 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
*resultobj
;
2006 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2010 (char *) "self", NULL
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 resultobj
= SWIG_FromDouble((double)result
);
2030 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
*resultobj
;
2032 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2034 PyObject
* obj0
= 0 ;
2036 (char *) "self", NULL
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2049 resultobj
= SWIG_FromDouble((double)result
);
2056 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2057 PyObject
*resultobj
;
2058 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2062 PyObject
* obj0
= 0 ;
2063 PyObject
* obj1
= 0 ;
2065 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2080 wxPoint
* resultptr
;
2081 resultptr
= new wxPoint((wxPoint
&) result
);
2082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2090 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2091 PyObject
*resultobj
;
2092 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2095 int *arg4
= (int *) 0 ;
2096 int *arg5
= (int *) 0 ;
2099 PyObject
* obj0
= 0 ;
2100 PyObject
* obj1
= 0 ;
2101 PyObject
* obj2
= 0 ;
2105 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2108 arg2
= (int) SWIG_AsInt(obj1
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2110 arg3
= (int) SWIG_AsInt(obj2
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2119 Py_INCREF(Py_None
); resultobj
= Py_None
;
2121 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2122 resultobj
= t_output_helper(resultobj
,o
);
2125 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2126 resultobj
= t_output_helper(resultobj
,o
);
2134 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2139 argc
= PyObject_Length(args
);
2140 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2141 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2147 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2156 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2159 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2167 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2175 _v
= SWIG_CheckInt(argv
[1]);
2177 _v
= SWIG_CheckInt(argv
[2]);
2179 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2185 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2190 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2191 PyObject
*resultobj
;
2192 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2196 PyObject
* obj0
= 0 ;
2197 PyObject
* obj1
= 0 ;
2199 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2214 wxPoint
* resultptr
;
2215 resultptr
= new wxPoint((wxPoint
&) result
);
2216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2224 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2225 PyObject
*resultobj
;
2226 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2229 int *arg4
= (int *) 0 ;
2230 int *arg5
= (int *) 0 ;
2233 PyObject
* obj0
= 0 ;
2234 PyObject
* obj1
= 0 ;
2235 PyObject
* obj2
= 0 ;
2239 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2242 arg2
= (int) SWIG_AsInt(obj1
);
2243 if (PyErr_Occurred()) SWIG_fail
;
2244 arg3
= (int) SWIG_AsInt(obj2
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 Py_INCREF(Py_None
); resultobj
= Py_None
;
2255 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2256 resultobj
= t_output_helper(resultobj
,o
);
2259 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2260 resultobj
= t_output_helper(resultobj
,o
);
2268 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2273 argc
= PyObject_Length(args
);
2274 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2275 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2281 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2290 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2293 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2301 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2309 _v
= SWIG_CheckInt(argv
[1]);
2311 _v
= SWIG_CheckInt(argv
[2]);
2313 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2319 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2324 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2326 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2329 (char *) "self", NULL
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 (arg1
)->AdjustScrollbars();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 Py_INCREF(Py_None
); resultobj
= Py_None
;
2349 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2352 wxScrollWinEvent
*arg2
= 0 ;
2354 PyObject
* obj0
= 0 ;
2355 PyObject
* obj1
= 0 ;
2357 (char *) "self",(char *) "event", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2367 PyErr_SetString(PyExc_TypeError
,"null reference");
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2377 resultobj
= SWIG_FromInt((int)result
);
2384 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2386 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2387 wxWindow
*arg2
= (wxWindow
*) 0 ;
2388 PyObject
* obj0
= 0 ;
2389 PyObject
* obj1
= 0 ;
2391 (char *) "self",(char *) "target", NULL
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2401 (arg1
)->SetTargetWindow(arg2
);
2403 wxPyEndAllowThreads(__tstate
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2406 Py_INCREF(Py_None
); resultobj
= Py_None
;
2413 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
*resultobj
;
2415 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2417 PyObject
* obj0
= 0 ;
2419 (char *) "self", NULL
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2433 resultobj
= wxPyMake_wxObject(result
);
2441 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2444 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2446 return Py_BuildValue((char *)"");
2448 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2449 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2454 static PyObject
*_wrap_FrameNameStr_get() {
2459 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2461 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2468 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2469 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2474 static PyObject
*_wrap_DialogNameStr_get() {
2479 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2481 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2488 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2489 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2494 static PyObject
*_wrap_StatusLineNameStr_get() {
2499 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2501 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2508 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2509 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2514 static PyObject
*_wrap_ToolBarNameStr_get() {
2519 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2521 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2528 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2530 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2531 bool arg2
= (bool) True
;
2532 PyObject
* obj0
= 0 ;
2533 PyObject
* obj1
= 0 ;
2535 (char *) "self",(char *) "maximize", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2542 arg2
= (bool) SWIG_AsBool(obj1
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 (arg1
)->Maximize(arg2
);
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2552 Py_INCREF(Py_None
); resultobj
= Py_None
;
2559 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
*resultobj
;
2561 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2562 PyObject
* obj0
= 0 ;
2564 (char *) "self", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 Py_INCREF(Py_None
); resultobj
= Py_None
;
2584 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2587 bool arg2
= (bool) True
;
2588 PyObject
* obj0
= 0 ;
2589 PyObject
* obj1
= 0 ;
2591 (char *) "self",(char *) "iconize", NULL
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2598 arg2
= (bool) SWIG_AsBool(obj1
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 (arg1
)->Iconize(arg2
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2608 Py_INCREF(Py_None
); resultobj
= Py_None
;
2615 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2617 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2619 PyObject
* obj0
= 0 ;
2621 (char *) "self", NULL
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2643 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
*resultobj
;
2645 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2647 PyObject
* obj0
= 0 ;
2649 (char *) "self", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2671 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
*resultobj
;
2673 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2675 PyObject
* obj0
= 0 ;
2677 (char *) "self", NULL
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2692 resultptr
= new wxIcon((wxIcon
&) result
);
2693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2701 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
*resultobj
;
2703 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2705 PyObject
* obj0
= 0 ;
2706 PyObject
* obj1
= 0 ;
2708 (char *) "self",(char *) "icon", NULL
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2718 PyErr_SetString(PyExc_TypeError
,"null reference");
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2728 Py_INCREF(Py_None
); resultobj
= Py_None
;
2735 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
*resultobj
;
2737 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2738 wxIconBundle
*arg2
= 0 ;
2739 PyObject
* obj0
= 0 ;
2740 PyObject
* obj1
= 0 ;
2742 (char *) "self",(char *) "icons", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2752 PyErr_SetString(PyExc_TypeError
,"null reference");
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2762 Py_INCREF(Py_None
); resultobj
= Py_None
;
2769 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2773 long arg3
= (long) wxFULLSCREEN_ALL
;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2777 PyObject
* obj2
= 0 ;
2779 (char *) "self",(char *) "show",(char *) "style", NULL
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2785 arg2
= (bool) SWIG_AsBool(obj1
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2788 arg3
= (long) SWIG_AsLong(obj2
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2807 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2809 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2811 PyObject
* obj0
= 0 ;
2813 (char *) "self", NULL
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2835 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
*resultobj
;
2837 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2838 wxString
*arg2
= 0 ;
2839 bool temp2
= False
;
2840 PyObject
* obj0
= 0 ;
2841 PyObject
* obj1
= 0 ;
2843 (char *) "self",(char *) "title", NULL
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2850 arg2
= wxString_in_helper(obj1
);
2851 if (arg2
== NULL
) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 (arg1
)->SetTitle((wxString
const &)*arg2
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2861 Py_INCREF(Py_None
); resultobj
= Py_None
;
2876 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
*resultobj
;
2878 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2880 PyObject
* obj0
= 0 ;
2882 (char *) "self", NULL
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2908 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2911 wxRegion
*arg2
= 0 ;
2913 PyObject
* obj0
= 0 ;
2914 PyObject
* obj1
= 0 ;
2916 (char *) "self",(char *) "region", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2926 PyErr_SetString(PyExc_TypeError
,"null reference");
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2945 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2948 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2950 return Py_BuildValue((char *)"");
2952 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxWindow
*arg1
= (wxWindow
*) 0 ;
2956 wxString
*arg3
= 0 ;
2957 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2958 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2959 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2960 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2961 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2962 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2963 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2965 bool temp3
= False
;
2968 bool temp7
= False
;
2969 PyObject
* obj0
= 0 ;
2970 PyObject
* obj1
= 0 ;
2971 PyObject
* obj2
= 0 ;
2972 PyObject
* obj3
= 0 ;
2973 PyObject
* obj4
= 0 ;
2974 PyObject
* obj5
= 0 ;
2975 PyObject
* obj6
= 0 ;
2977 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 arg2
= (int const) SWIG_AsInt(obj1
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2986 arg3
= wxString_in_helper(obj2
);
2987 if (arg3
== NULL
) SWIG_fail
;
2993 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2999 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3003 arg6
= (long) SWIG_AsLong(obj5
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3008 arg7
= wxString_in_helper(obj6
);
3009 if (arg7
== NULL
) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3021 resultobj
= wxPyMake_wxObject(result
);
3045 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
*resultobj
;
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 result
= (wxFrame
*)new wxFrame();
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) SWIG_fail
;
3061 resultobj
= wxPyMake_wxObject(result
);
3069 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxFrame
*arg1
= (wxFrame
*) 0 ;
3072 wxWindow
*arg2
= (wxWindow
*) 0 ;
3074 wxString
*arg4
= 0 ;
3075 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3076 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3077 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3078 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3079 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3080 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3081 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3083 bool temp4
= False
;
3086 bool temp8
= False
;
3087 PyObject
* obj0
= 0 ;
3088 PyObject
* obj1
= 0 ;
3089 PyObject
* obj2
= 0 ;
3090 PyObject
* obj3
= 0 ;
3091 PyObject
* obj4
= 0 ;
3092 PyObject
* obj5
= 0 ;
3093 PyObject
* obj6
= 0 ;
3094 PyObject
* obj7
= 0 ;
3096 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3104 arg3
= (int const) SWIG_AsInt(obj2
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3107 arg4
= wxString_in_helper(obj3
);
3108 if (arg4
== NULL
) SWIG_fail
;
3114 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3120 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3124 arg7
= (long) SWIG_AsLong(obj6
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3129 arg8
= wxString_in_helper(obj7
);
3130 if (arg8
== NULL
) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3166 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 wxFrame
*arg1
= (wxFrame
*) 0 ;
3170 PyObject
* obj0
= 0 ;
3172 (char *) "self", NULL
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3186 wxPoint
* resultptr
;
3187 resultptr
= new wxPoint((wxPoint
&) result
);
3188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3196 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxFrame
*arg1
= (wxFrame
*) 0 ;
3199 PyObject
* obj0
= 0 ;
3201 (char *) "self", NULL
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 (arg1
)->SendSizeEvent();
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3214 Py_INCREF(Py_None
); resultobj
= Py_None
;
3221 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxFrame
*arg1
= (wxFrame
*) 0 ;
3224 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3225 PyObject
* obj0
= 0 ;
3226 PyObject
* obj1
= 0 ;
3228 (char *) "self",(char *) "menubar", NULL
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 (arg1
)->SetMenuBar(arg2
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 Py_INCREF(Py_None
); resultobj
= Py_None
;
3250 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxFrame
*arg1
= (wxFrame
*) 0 ;
3254 PyObject
* obj0
= 0 ;
3256 (char *) "self", NULL
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3270 resultobj
= wxPyMake_wxObject(result
);
3278 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 wxFrame
*arg1
= (wxFrame
*) 0 ;
3283 PyObject
* obj0
= 0 ;
3284 PyObject
* obj1
= 0 ;
3286 (char *) "self",(char *) "winid", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3292 arg2
= (int) SWIG_AsInt(obj1
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3310 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxFrame
*arg1
= (wxFrame
*) 0 ;
3313 int arg2
= (int) 1 ;
3314 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3315 int arg4
= (int) 0 ;
3316 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3317 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3318 wxStatusBar
*result
;
3319 bool temp5
= False
;
3320 PyObject
* obj0
= 0 ;
3321 PyObject
* obj1
= 0 ;
3322 PyObject
* obj2
= 0 ;
3323 PyObject
* obj3
= 0 ;
3324 PyObject
* obj4
= 0 ;
3326 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3333 arg2
= (int) SWIG_AsInt(obj1
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3337 arg3
= (long) SWIG_AsLong(obj2
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3341 arg4
= (int) SWIG_AsInt(obj3
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3346 arg5
= wxString_in_helper(obj4
);
3347 if (arg5
== NULL
) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3359 resultobj
= wxPyMake_wxObject(result
);
3375 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3377 wxFrame
*arg1
= (wxFrame
*) 0 ;
3378 wxStatusBar
*result
;
3379 PyObject
* obj0
= 0 ;
3381 (char *) "self", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3395 resultobj
= wxPyMake_wxObject(result
);
3403 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxFrame
*arg1
= (wxFrame
*) 0 ;
3406 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3407 PyObject
* obj0
= 0 ;
3408 PyObject
* obj1
= 0 ;
3410 (char *) "self",(char *) "statBar", NULL
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 (arg1
)->SetStatusBar(arg2
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxFrame
*arg1
= (wxFrame
*) 0 ;
3435 wxString
*arg2
= 0 ;
3436 int arg3
= (int) 0 ;
3437 bool temp2
= False
;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3440 PyObject
* obj2
= 0 ;
3442 (char *) "self",(char *) "text",(char *) "number", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3449 arg2
= wxString_in_helper(obj1
);
3450 if (arg2
== NULL
) SWIG_fail
;
3454 arg3
= (int) SWIG_AsInt(obj2
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxFrame
*arg1
= (wxFrame
*) 0 ;
3483 int *arg3
= (int *) 0 ;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3487 (char *) "self",(char *) "widths", NULL
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3494 arg2
= PyList_Size(obj1
);
3495 arg3
= int_LIST_helper(obj1
);
3496 if (arg3
== NULL
) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 Py_INCREF(Py_None
); resultobj
= Py_None
;
3507 if (arg3
) delete [] arg3
;
3512 if (arg3
) delete [] arg3
;
3518 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
*resultobj
;
3520 wxFrame
*arg1
= (wxFrame
*) 0 ;
3521 wxString
*arg2
= 0 ;
3522 int arg3
= (int) 0 ;
3523 bool temp2
= False
;
3524 PyObject
* obj0
= 0 ;
3525 PyObject
* obj1
= 0 ;
3526 PyObject
* obj2
= 0 ;
3528 (char *) "self",(char *) "text",(char *) "number", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3535 arg2
= wxString_in_helper(obj1
);
3536 if (arg2
== NULL
) SWIG_fail
;
3540 arg3
= (int) SWIG_AsInt(obj2
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 Py_INCREF(Py_None
); resultobj
= Py_None
;
3565 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxFrame
*arg1
= (wxFrame
*) 0 ;
3568 int arg2
= (int) 0 ;
3569 PyObject
* obj0
= 0 ;
3570 PyObject
* obj1
= 0 ;
3572 (char *) "self",(char *) "number", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3579 arg2
= (int) SWIG_AsInt(obj1
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 (arg1
)->PopStatusText(arg2
);
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3589 Py_INCREF(Py_None
); resultobj
= Py_None
;
3596 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxFrame
*arg1
= (wxFrame
*) 0 ;
3600 PyObject
* obj0
= 0 ;
3601 PyObject
* obj1
= 0 ;
3603 (char *) "self",(char *) "n", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3609 arg2
= (int) SWIG_AsInt(obj1
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 (arg1
)->SetStatusBarPane(arg2
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3618 Py_INCREF(Py_None
); resultobj
= Py_None
;
3625 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
*resultobj
;
3627 wxFrame
*arg1
= (wxFrame
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3631 (char *) "self", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 resultobj
= SWIG_FromInt((int)result
);
3651 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
;
3653 wxFrame
*arg1
= (wxFrame
*) 0 ;
3654 long arg2
= (long) -1 ;
3655 int arg3
= (int) -1 ;
3656 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3657 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3659 bool temp4
= False
;
3660 PyObject
* obj0
= 0 ;
3661 PyObject
* obj1
= 0 ;
3662 PyObject
* obj2
= 0 ;
3663 PyObject
* obj3
= 0 ;
3665 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3672 arg2
= (long) SWIG_AsLong(obj1
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3676 arg3
= (int) SWIG_AsInt(obj2
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3681 arg4
= wxString_in_helper(obj3
);
3682 if (arg4
== NULL
) SWIG_fail
;
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3694 resultobj
= wxPyMake_wxObject(result
);
3710 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxFrame
*arg1
= (wxFrame
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "self", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3730 resultobj
= wxPyMake_wxObject(result
);
3738 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxFrame
*arg1
= (wxFrame
*) 0 ;
3741 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3743 PyObject
* obj1
= 0 ;
3745 (char *) "self",(char *) "toolbar", NULL
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 (arg1
)->SetToolBar(arg2
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 Py_INCREF(Py_None
); resultobj
= Py_None
;
3767 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 wxFrame
*arg1
= (wxFrame
*) 0 ;
3770 wxString
*arg2
= 0 ;
3772 bool temp2
= False
;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3775 PyObject
* obj2
= 0 ;
3777 (char *) "self",(char *) "text",(char *) "show", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 arg2
= wxString_in_helper(obj1
);
3785 if (arg2
== NULL
) SWIG_fail
;
3788 arg3
= (bool) SWIG_AsBool(obj2
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3812 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxFrame
*arg1
= (wxFrame
*) 0 ;
3815 wxMenu
*arg2
= (wxMenu
*) NULL
;
3816 PyObject
* obj0
= 0 ;
3817 PyObject
* obj1
= 0 ;
3819 (char *) "self",(char *) "menu", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 (arg1
)->DoMenuUpdates(arg2
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3836 Py_INCREF(Py_None
); resultobj
= Py_None
;
3843 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3846 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3848 return Py_BuildValue((char *)"");
3850 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3852 wxWindow
*arg1
= (wxWindow
*) 0 ;
3854 wxString
*arg3
= 0 ;
3855 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3856 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3857 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3858 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3859 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3860 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3861 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3863 bool temp3
= False
;
3866 bool temp7
= False
;
3867 PyObject
* obj0
= 0 ;
3868 PyObject
* obj1
= 0 ;
3869 PyObject
* obj2
= 0 ;
3870 PyObject
* obj3
= 0 ;
3871 PyObject
* obj4
= 0 ;
3872 PyObject
* obj5
= 0 ;
3873 PyObject
* obj6
= 0 ;
3875 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3881 arg2
= (int const) SWIG_AsInt(obj1
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 arg3
= wxString_in_helper(obj2
);
3885 if (arg3
== NULL
) SWIG_fail
;
3891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3901 arg6
= (long) SWIG_AsLong(obj5
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3906 arg7
= wxString_in_helper(obj6
);
3907 if (arg7
== NULL
) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3941 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (wxDialog
*)new wxDialog();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3963 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxDialog
*arg1
= (wxDialog
*) 0 ;
3966 wxWindow
*arg2
= (wxWindow
*) 0 ;
3968 wxString
*arg4
= 0 ;
3969 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3970 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3971 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3972 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3973 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3974 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3975 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3977 bool temp4
= False
;
3980 bool temp8
= False
;
3981 PyObject
* obj0
= 0 ;
3982 PyObject
* obj1
= 0 ;
3983 PyObject
* obj2
= 0 ;
3984 PyObject
* obj3
= 0 ;
3985 PyObject
* obj4
= 0 ;
3986 PyObject
* obj5
= 0 ;
3987 PyObject
* obj6
= 0 ;
3988 PyObject
* obj7
= 0 ;
3990 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3998 arg3
= (int const) SWIG_AsInt(obj2
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 arg4
= wxString_in_helper(obj3
);
4002 if (arg4
== NULL
) SWIG_fail
;
4008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4018 arg7
= (long) SWIG_AsLong(obj6
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4023 arg8
= wxString_in_helper(obj7
);
4024 if (arg8
== NULL
) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4060 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4062 wxDialog
*arg1
= (wxDialog
*) 0 ;
4064 PyObject
* obj0
= 0 ;
4065 PyObject
* obj1
= 0 ;
4067 (char *) "self",(char *) "returnCode", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4073 arg2
= (int) SWIG_AsInt(obj1
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 (arg1
)->SetReturnCode(arg2
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 Py_INCREF(Py_None
); resultobj
= Py_None
;
4089 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
;
4091 wxDialog
*arg1
= (wxDialog
*) 0 ;
4093 PyObject
* obj0
= 0 ;
4095 (char *) "self", NULL
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4108 resultobj
= SWIG_FromInt((int)result
);
4115 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 wxDialog
*arg1
= (wxDialog
*) 0 ;
4118 wxString
*arg2
= 0 ;
4120 bool temp2
= False
;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4124 (char *) "self",(char *) "message", NULL
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4131 arg2
= wxString_in_helper(obj1
);
4132 if (arg2
== NULL
) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= wxPyMake_wxSizer(result
);
4159 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxDialog
*arg1
= (wxDialog
*) 0 ;
4164 PyObject
* obj0
= 0 ;
4165 PyObject
* obj1
= 0 ;
4167 (char *) "self",(char *) "flags", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4173 arg2
= (long) SWIG_AsLong(obj1
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= wxPyMake_wxSizer(result
);
4191 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4193 wxDialog
*arg1
= (wxDialog
*) 0 ;
4195 PyObject
* obj0
= 0 ;
4197 (char *) "self", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4219 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxDialog
*arg1
= (wxDialog
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4225 (char *) "self", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= (int)(arg1
)->ShowModal();
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= SWIG_FromInt((int)result
);
4245 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 wxDialog
*arg1
= (wxDialog
*) 0 ;
4249 PyObject
* obj0
= 0 ;
4250 PyObject
* obj1
= 0 ;
4252 (char *) "self",(char *) "retCode", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4258 arg2
= (int) SWIG_AsInt(obj1
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 (arg1
)->EndModal(arg2
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 Py_INCREF(Py_None
); resultobj
= Py_None
;
4274 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxDialog
*arg1
= (wxDialog
*) 0 ;
4278 PyObject
* obj0
= 0 ;
4280 (char *) "self", NULL
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 result
= (bool)wxDialog_IsModalShowing(arg1
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4302 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4305 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4307 return Py_BuildValue((char *)"");
4309 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxWindow
*arg1
= (wxWindow
*) 0 ;
4313 wxString
*arg3
= 0 ;
4314 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4315 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4316 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4317 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4318 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4319 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4320 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4321 wxMiniFrame
*result
;
4322 bool temp3
= False
;
4325 bool temp7
= False
;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4328 PyObject
* obj2
= 0 ;
4329 PyObject
* obj3
= 0 ;
4330 PyObject
* obj4
= 0 ;
4331 PyObject
* obj5
= 0 ;
4332 PyObject
* obj6
= 0 ;
4334 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4340 arg2
= (int const) SWIG_AsInt(obj1
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 arg3
= wxString_in_helper(obj2
);
4344 if (arg3
== NULL
) SWIG_fail
;
4350 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4356 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4360 arg6
= (long) SWIG_AsLong(obj5
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4365 arg7
= wxString_in_helper(obj6
);
4366 if (arg7
== NULL
) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4400 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4402 wxMiniFrame
*result
;
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (wxMiniFrame
*)new wxMiniFrame();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4422 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4425 wxWindow
*arg2
= (wxWindow
*) 0 ;
4427 wxString
*arg4
= 0 ;
4428 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4429 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4430 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4431 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4432 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4433 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4434 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4436 bool temp4
= False
;
4439 bool temp8
= False
;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4442 PyObject
* obj2
= 0 ;
4443 PyObject
* obj3
= 0 ;
4444 PyObject
* obj4
= 0 ;
4445 PyObject
* obj5
= 0 ;
4446 PyObject
* obj6
= 0 ;
4447 PyObject
* obj7
= 0 ;
4449 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4457 arg3
= (int const) SWIG_AsInt(obj2
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4460 arg4
= wxString_in_helper(obj3
);
4461 if (arg4
== NULL
) SWIG_fail
;
4467 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4473 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4477 arg7
= (long) SWIG_AsLong(obj6
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4482 arg8
= wxString_in_helper(obj7
);
4483 if (arg8
== NULL
) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4519 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4522 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4524 return Py_BuildValue((char *)"");
4526 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxBitmap
*arg1
= 0 ;
4529 wxWindow
*arg2
= (wxWindow
*) 0 ;
4531 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4532 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4533 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4534 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4535 long arg6
= (long) wxNO_BORDER
;
4536 wxSplashScreenWindow
*result
;
4539 PyObject
* obj0
= 0 ;
4540 PyObject
* obj1
= 0 ;
4541 PyObject
* obj2
= 0 ;
4542 PyObject
* obj3
= 0 ;
4543 PyObject
* obj4
= 0 ;
4544 PyObject
* obj5
= 0 ;
4546 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4554 PyErr_SetString(PyExc_TypeError
,"null reference");
4557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4559 arg3
= (int) SWIG_AsInt(obj2
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4564 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4570 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4574 arg6
= (long) SWIG_AsLong(obj5
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4591 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4594 wxBitmap
*arg2
= 0 ;
4595 PyObject
* obj0
= 0 ;
4596 PyObject
* obj1
= 0 ;
4598 (char *) "self",(char *) "bitmap", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4608 PyErr_SetString(PyExc_TypeError
,"null reference");
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 Py_INCREF(Py_None
); resultobj
= Py_None
;
4625 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4629 PyObject
* obj0
= 0 ;
4631 (char *) "self", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4641 result
= (wxBitmap
*) &_result_ref
;
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4648 wxBitmap
* resultptr
= new wxBitmap(*result
);
4649 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4657 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4660 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4662 return Py_BuildValue((char *)"");
4664 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxBitmap
*arg1
= 0 ;
4669 wxWindow
*arg4
= (wxWindow
*) 0 ;
4671 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4672 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4673 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4674 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4675 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4676 wxSplashScreen
*result
;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj2
= 0 ;
4682 PyObject
* obj3
= 0 ;
4683 PyObject
* obj4
= 0 ;
4684 PyObject
* obj5
= 0 ;
4685 PyObject
* obj6
= 0 ;
4686 PyObject
* obj7
= 0 ;
4688 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4696 PyErr_SetString(PyExc_TypeError
,"null reference");
4699 arg2
= (long) SWIG_AsLong(obj1
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4701 arg3
= (int) SWIG_AsInt(obj2
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4703 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4705 arg5
= (int) SWIG_AsInt(obj4
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4710 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4716 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4720 arg8
= (long) SWIG_AsLong(obj7
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4737 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4741 PyObject
* obj0
= 0 ;
4743 (char *) "self", NULL
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= SWIG_FromLong((long)result
);
4763 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4766 wxSplashScreenWindow
*result
;
4767 PyObject
* obj0
= 0 ;
4769 (char *) "self", NULL
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4789 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4793 PyObject
* obj0
= 0 ;
4795 (char *) "self", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= SWIG_FromInt((int)result
);
4815 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4818 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4820 return Py_BuildValue((char *)"");
4822 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4824 wxWindow
*arg1
= (wxWindow
*) 0 ;
4825 int arg2
= (int) -1 ;
4826 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4827 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4828 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4829 wxStatusBar
*result
;
4830 bool temp4
= False
;
4831 PyObject
* obj0
= 0 ;
4832 PyObject
* obj1
= 0 ;
4833 PyObject
* obj2
= 0 ;
4834 PyObject
* obj3
= 0 ;
4836 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4843 arg2
= (int) SWIG_AsInt(obj1
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4847 arg3
= (long) SWIG_AsLong(obj2
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4852 arg4
= wxString_in_helper(obj3
);
4853 if (arg4
== NULL
) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= wxPyMake_wxObject(result
);
4881 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxStatusBar
*result
;
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 result
= (wxStatusBar
*)new wxStatusBar();
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= wxPyMake_wxObject(result
);
4905 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4908 wxWindow
*arg2
= (wxWindow
*) 0 ;
4910 long arg4
= (long) wxST_SIZEGRIP
;
4911 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4912 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4914 bool temp5
= False
;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4917 PyObject
* obj2
= 0 ;
4918 PyObject
* obj3
= 0 ;
4919 PyObject
* obj4
= 0 ;
4921 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4929 arg3
= (int) SWIG_AsInt(obj2
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 arg4
= (long) SWIG_AsLong(obj3
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4937 arg5
= wxString_in_helper(obj4
);
4938 if (arg5
== NULL
) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4966 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4969 int arg2
= (int) 1 ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4973 (char *) "self",(char *) "number", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4980 arg2
= (int) SWIG_AsInt(obj1
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 (arg1
)->SetFieldsCount(arg2
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 Py_INCREF(Py_None
); resultobj
= Py_None
;
4997 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5001 PyObject
* obj0
= 0 ;
5003 (char *) "self", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_FromInt((int)result
);
5023 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5026 wxString
*arg2
= 0 ;
5027 int arg3
= (int) 0 ;
5028 bool temp2
= False
;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 PyObject
* obj2
= 0 ;
5033 (char *) "self",(char *) "text",(char *) "number", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5040 arg2
= wxString_in_helper(obj1
);
5041 if (arg2
== NULL
) SWIG_fail
;
5045 arg3
= (int) SWIG_AsInt(obj2
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 Py_INCREF(Py_None
); resultobj
= Py_None
;
5070 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5073 int arg2
= (int) 0 ;
5075 PyObject
* obj0
= 0 ;
5076 PyObject
* obj1
= 0 ;
5078 (char *) "self",(char *) "number", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 arg2
= (int) SWIG_AsInt(obj1
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5108 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5111 wxString
*arg2
= 0 ;
5112 int arg3
= (int) 0 ;
5113 bool temp2
= False
;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5116 PyObject
* obj2
= 0 ;
5118 (char *) "self",(char *) "text",(char *) "number", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5125 arg2
= wxString_in_helper(obj1
);
5126 if (arg2
== NULL
) SWIG_fail
;
5130 arg3
= (int) SWIG_AsInt(obj2
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 Py_INCREF(Py_None
); resultobj
= Py_None
;
5155 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5158 int arg2
= (int) 0 ;
5159 PyObject
* obj0
= 0 ;
5160 PyObject
* obj1
= 0 ;
5162 (char *) "self",(char *) "number", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5169 arg2
= (int) SWIG_AsInt(obj1
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 (arg1
)->PopStatusText(arg2
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 Py_INCREF(Py_None
); resultobj
= Py_None
;
5186 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
;
5188 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5190 int *arg3
= (int *) 0 ;
5191 PyObject
* obj0
= 0 ;
5192 PyObject
* obj1
= 0 ;
5194 (char *) "self",(char *) "widths", NULL
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5201 arg2
= PyList_Size(obj1
);
5202 arg3
= int_LIST_helper(obj1
);
5203 if (arg3
== NULL
) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 Py_INCREF(Py_None
); resultobj
= Py_None
;
5214 if (arg3
) delete [] arg3
;
5219 if (arg3
) delete [] arg3
;
5225 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5233 (char *) "self",(char *) "i", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5239 arg2
= (int) SWIG_AsInt(obj1
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5250 resultptr
= new wxRect((wxRect
&) result
);
5251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5259 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5264 PyObject
* obj1
= 0 ;
5266 (char *) "self",(char *) "height", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5272 arg2
= (int) SWIG_AsInt(obj1
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 (arg1
)->SetMinHeight(arg2
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 Py_INCREF(Py_None
); resultobj
= Py_None
;
5288 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5292 PyObject
* obj0
= 0 ;
5294 (char *) "self", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= SWIG_FromInt((int)result
);
5314 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5320 (char *) "self", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= SWIG_FromInt((int)result
);
5340 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5343 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5345 return Py_BuildValue((char *)"");
5347 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5348 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5353 static PyObject
*_wrap_SplitterNameStr_get() {
5358 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5360 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5367 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxWindow
*arg1
= (wxWindow
*) 0 ;
5370 int arg2
= (int) -1 ;
5371 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5372 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5373 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5374 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5375 long arg5
= (long) wxSP_3D
;
5376 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5377 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5378 wxSplitterWindow
*result
;
5381 bool temp6
= False
;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5384 PyObject
* obj2
= 0 ;
5385 PyObject
* obj3
= 0 ;
5386 PyObject
* obj4
= 0 ;
5387 PyObject
* obj5
= 0 ;
5389 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5396 arg2
= (int) SWIG_AsInt(obj1
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5402 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5408 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5412 arg5
= (long) SWIG_AsLong(obj4
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5417 arg6
= wxString_in_helper(obj5
);
5418 if (arg6
== NULL
) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5444 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxSplitterWindow
*result
;
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5466 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5469 wxWindow
*arg2
= (wxWindow
*) 0 ;
5470 int arg3
= (int) -1 ;
5471 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5472 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5473 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5474 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5475 long arg6
= (long) wxSP_3D
;
5476 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5477 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5481 bool temp7
= False
;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5484 PyObject
* obj2
= 0 ;
5485 PyObject
* obj3
= 0 ;
5486 PyObject
* obj4
= 0 ;
5487 PyObject
* obj5
= 0 ;
5488 PyObject
* obj6
= 0 ;
5490 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5499 arg3
= (int) SWIG_AsInt(obj2
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5505 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5511 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5515 arg6
= (long) SWIG_AsLong(obj5
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5520 arg7
= wxString_in_helper(obj6
);
5521 if (arg7
== NULL
) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5549 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
*resultobj
;
5551 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5553 PyObject
* obj0
= 0 ;
5555 (char *) "self", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5569 resultobj
= wxPyMake_wxObject(result
);
5577 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5581 PyObject
* obj0
= 0 ;
5583 (char *) "self", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= wxPyMake_wxObject(result
);
5605 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5612 (char *) "self",(char *) "mode", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5618 arg2
= (int) SWIG_AsInt(obj1
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 (arg1
)->SetSplitMode(arg2
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 Py_INCREF(Py_None
); resultobj
= Py_None
;
5634 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5640 (char *) "self", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_FromInt((int)result
);
5660 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
;
5662 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5663 wxWindow
*arg2
= (wxWindow
*) 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5667 (char *) "self",(char *) "window", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 (arg1
)->Initialize(arg2
);
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 Py_INCREF(Py_None
); resultobj
= Py_None
;
5689 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5692 wxWindow
*arg2
= (wxWindow
*) 0 ;
5693 wxWindow
*arg3
= (wxWindow
*) 0 ;
5694 int arg4
= (int) 0 ;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj1
= 0 ;
5698 PyObject
* obj2
= 0 ;
5699 PyObject
* obj3
= 0 ;
5701 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5709 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 arg4
= (int) SWIG_AsInt(obj3
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5731 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
;
5733 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5734 wxWindow
*arg2
= (wxWindow
*) 0 ;
5735 wxWindow
*arg3
= (wxWindow
*) 0 ;
5736 int arg4
= (int) 0 ;
5738 PyObject
* obj0
= 0 ;
5739 PyObject
* obj1
= 0 ;
5740 PyObject
* obj2
= 0 ;
5741 PyObject
* obj3
= 0 ;
5743 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5751 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5754 arg4
= (int) SWIG_AsInt(obj3
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5773 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5776 wxWindow
*arg2
= (wxWindow
*) NULL
;
5778 PyObject
* obj0
= 0 ;
5779 PyObject
* obj1
= 0 ;
5781 (char *) "self",(char *) "toRemove", NULL
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 result
= (bool)(arg1
)->Unsplit(arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5807 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5810 wxWindow
*arg2
= (wxWindow
*) 0 ;
5811 wxWindow
*arg3
= (wxWindow
*) 0 ;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5815 PyObject
* obj2
= 0 ;
5817 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5825 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5843 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5848 (char *) "self", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 (arg1
)->UpdateSize();
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 Py_INCREF(Py_None
); resultobj
= Py_None
;
5868 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5874 (char *) "self", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5896 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5900 PyObject
* obj0
= 0 ;
5901 PyObject
* obj1
= 0 ;
5903 (char *) "self",(char *) "width", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5909 arg2
= (int) SWIG_AsInt(obj1
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 (arg1
)->SetSashSize(arg2
);
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 Py_INCREF(Py_None
); resultobj
= Py_None
;
5925 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5932 (char *) "self",(char *) "width", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 arg2
= (int) SWIG_AsInt(obj1
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 (arg1
)->SetBorderSize(arg2
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 Py_INCREF(Py_None
); resultobj
= Py_None
;
5954 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5960 (char *) "self", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_FromInt((int)result
);
5980 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5986 (char *) "self", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_FromInt((int)result
);
6006 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6010 bool arg3
= (bool) True
;
6011 PyObject
* obj0
= 0 ;
6012 PyObject
* obj1
= 0 ;
6013 PyObject
* obj2
= 0 ;
6015 (char *) "self",(char *) "position",(char *) "redraw", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6021 arg2
= (int) SWIG_AsInt(obj1
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 arg3
= (bool) SWIG_AsBool(obj2
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 (arg1
)->SetSashPosition(arg2
,arg3
);
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 Py_INCREF(Py_None
); resultobj
= Py_None
;
6041 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6047 (char *) "self", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= SWIG_FromInt((int)result
);
6067 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6074 (char *) "self",(char *) "min", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6080 arg2
= (int) SWIG_AsInt(obj1
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 (arg1
)->SetMinimumPaneSize(arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 Py_INCREF(Py_None
); resultobj
= Py_None
;
6096 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
;
6098 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6100 PyObject
* obj0
= 0 ;
6102 (char *) "self", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= SWIG_FromInt((int)result
);
6122 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6127 int arg4
= (int) 5 ;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6131 PyObject
* obj2
= 0 ;
6132 PyObject
* obj3
= 0 ;
6134 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6140 arg2
= (int) SWIG_AsInt(obj1
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6142 arg3
= (int) SWIG_AsInt(obj2
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 arg4
= (int) SWIG_AsInt(obj3
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6164 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6167 PyObject
* obj0
= 0 ;
6169 (char *) "self", NULL
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 (arg1
)->SizeWindows();
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 Py_INCREF(Py_None
); resultobj
= Py_None
;
6189 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
;
6191 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6193 PyObject
* obj0
= 0 ;
6194 PyObject
* obj1
= 0 ;
6196 (char *) "self",(char *) "needUpdating", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6202 arg2
= (bool) SWIG_AsBool(obj1
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 (arg1
)->SetNeedUpdating(arg2
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 Py_INCREF(Py_None
); resultobj
= Py_None
;
6218 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6222 PyObject
* obj0
= 0 ;
6224 (char *) "self", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6246 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6249 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6251 return Py_BuildValue((char *)"");
6253 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6256 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6257 wxSplitterEvent
*result
;
6258 PyObject
* obj0
= 0 ;
6259 PyObject
* obj1
= 0 ;
6261 (char *) "type",(char *) "splitter", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6266 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6287 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6294 (char *) "self",(char *) "pos", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6300 arg2
= (int) SWIG_AsInt(obj1
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 (arg1
)->SetSashPosition(arg2
);
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 Py_INCREF(Py_None
); resultobj
= Py_None
;
6316 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6320 PyObject
* obj0
= 0 ;
6322 (char *) "self", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6332 wxPyEndAllowThreads(__tstate
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= SWIG_FromInt((int)result
);
6342 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
;
6344 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6348 (char *) "self", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= wxPyMake_wxObject(result
);
6370 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
;
6372 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6374 PyObject
* obj0
= 0 ;
6376 (char *) "self", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_FromInt((int)result
);
6396 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
;
6398 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6400 PyObject
* obj0
= 0 ;
6402 (char *) "self", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 resultobj
= SWIG_FromInt((int)result
);
6422 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6425 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6427 return Py_BuildValue((char *)"");
6429 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6430 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6435 static PyObject
*_wrap_SashNameStr_get() {
6440 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6442 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6449 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6450 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6455 static PyObject
*_wrap_SashLayoutNameStr_get() {
6460 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6462 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6469 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxWindow
*arg1
= (wxWindow
*) 0 ;
6473 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6474 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6475 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6476 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6477 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6478 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6479 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6480 wxSashWindow
*result
;
6483 bool temp6
= False
;
6484 PyObject
* obj0
= 0 ;
6485 PyObject
* obj1
= 0 ;
6486 PyObject
* obj2
= 0 ;
6487 PyObject
* obj3
= 0 ;
6488 PyObject
* obj4
= 0 ;
6489 PyObject
* obj5
= 0 ;
6491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6497 arg2
= (int) SWIG_AsInt(obj1
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6502 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6508 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6512 arg5
= (long) SWIG_AsLong(obj4
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6517 arg6
= wxString_in_helper(obj5
);
6518 if (arg6
== NULL
) SWIG_fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6544 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
;
6546 wxSashWindow
*result
;
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (wxSashWindow
*)new wxSashWindow();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6566 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6569 wxWindow
*arg2
= (wxWindow
*) 0 ;
6571 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6572 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6573 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6574 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6575 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6576 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6577 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6581 bool temp7
= False
;
6582 PyObject
* obj0
= 0 ;
6583 PyObject
* obj1
= 0 ;
6584 PyObject
* obj2
= 0 ;
6585 PyObject
* obj3
= 0 ;
6586 PyObject
* obj4
= 0 ;
6587 PyObject
* obj5
= 0 ;
6588 PyObject
* obj6
= 0 ;
6590 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6598 arg3
= (int) SWIG_AsInt(obj2
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6613 arg6
= (long) SWIG_AsLong(obj5
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6618 arg7
= wxString_in_helper(obj6
);
6619 if (arg7
== NULL
) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6647 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6654 PyObject
* obj2
= 0 ;
6656 (char *) "self",(char *) "edge",(char *) "sash", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6662 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6664 arg3
= (bool) SWIG_AsBool(obj2
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6673 Py_INCREF(Py_None
); resultobj
= Py_None
;
6680 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
;
6682 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6688 (char *) "self",(char *) "edge", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6694 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6712 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
;
6714 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6719 PyObject
* obj2
= 0 ;
6721 (char *) "self",(char *) "edge",(char *) "border", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6727 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6729 arg3
= (bool) SWIG_AsBool(obj2
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6738 Py_INCREF(Py_None
); resultobj
= Py_None
;
6745 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6750 PyObject
* obj0
= 0 ;
6751 PyObject
* obj1
= 0 ;
6753 (char *) "self",(char *) "edge", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6759 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6777 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6785 (char *) "self",(char *) "edge", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) 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
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_FromInt((int)result
);
6807 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6811 PyObject
* obj0
= 0 ;
6812 PyObject
* obj1
= 0 ;
6814 (char *) "self",(char *) "width", NULL
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6820 arg2
= (int) SWIG_AsInt(obj1
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 (arg1
)->SetDefaultBorderSize(arg2
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6829 Py_INCREF(Py_None
); resultobj
= Py_None
;
6836 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
*resultobj
;
6838 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6840 PyObject
* obj0
= 0 ;
6842 (char *) "self", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_FromInt((int)result
);
6862 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "width", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6875 arg2
= (int) SWIG_AsInt(obj1
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 (arg1
)->SetExtraBorderSize(arg2
);
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 Py_INCREF(Py_None
); resultobj
= Py_None
;
6891 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
;
6893 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6895 PyObject
* obj0
= 0 ;
6897 (char *) "self", NULL
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_FromInt((int)result
);
6917 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6924 (char *) "self",(char *) "min", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6930 arg2
= (int) SWIG_AsInt(obj1
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 (arg1
)->SetMinimumSizeX(arg2
);
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 Py_INCREF(Py_None
); resultobj
= Py_None
;
6946 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6950 PyObject
* obj0
= 0 ;
6951 PyObject
* obj1
= 0 ;
6953 (char *) "self",(char *) "min", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6959 arg2
= (int) SWIG_AsInt(obj1
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 (arg1
)->SetMinimumSizeY(arg2
);
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 Py_INCREF(Py_None
); resultobj
= Py_None
;
6975 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6979 PyObject
* obj0
= 0 ;
6981 (char *) "self", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= SWIG_FromInt((int)result
);
7001 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7005 PyObject
* obj0
= 0 ;
7007 (char *) "self", NULL
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_FromInt((int)result
);
7027 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7034 (char *) "self",(char *) "max", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7040 arg2
= (int) SWIG_AsInt(obj1
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->SetMaximumSizeX(arg2
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 Py_INCREF(Py_None
); resultobj
= Py_None
;
7056 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7063 (char *) "self",(char *) "max", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7069 arg2
= (int) SWIG_AsInt(obj1
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 (arg1
)->SetMaximumSizeY(arg2
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 Py_INCREF(Py_None
); resultobj
= Py_None
;
7085 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7091 (char *) "self", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_FromInt((int)result
);
7111 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7115 PyObject
* obj0
= 0 ;
7117 (char *) "self", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_FromInt((int)result
);
7137 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7139 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7142 int arg4
= (int) 2 ;
7144 PyObject
* obj0
= 0 ;
7145 PyObject
* obj1
= 0 ;
7146 PyObject
* obj2
= 0 ;
7147 PyObject
* obj3
= 0 ;
7149 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7155 arg2
= (int) SWIG_AsInt(obj1
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7157 arg3
= (int) SWIG_AsInt(obj2
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 arg4
= (int) SWIG_AsInt(obj3
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= SWIG_FromInt((int)result
);
7177 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7180 PyObject
* obj0
= 0 ;
7182 (char *) "self", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 (arg1
)->SizeWindows();
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 Py_INCREF(Py_None
); resultobj
= Py_None
;
7202 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7205 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7207 return Py_BuildValue((char *)"");
7209 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
;
7211 int arg1
= (int) 0 ;
7212 int arg2
= (int) wxSASH_NONE
;
7213 wxSashEvent
*result
;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7217 (char *) "id",(char *) "edge", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7222 arg1
= (int) SWIG_AsInt(obj0
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7226 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7243 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7250 (char *) "self",(char *) "edge", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7256 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 Py_INCREF(Py_None
); resultobj
= Py_None
;
7272 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
;
7274 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7276 PyObject
* obj0
= 0 ;
7278 (char *) "self", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= SWIG_FromInt((int)result
);
7298 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7303 PyObject
* obj0
= 0 ;
7304 PyObject
* obj1
= 0 ;
7306 (char *) "self",(char *) "rect", NULL
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7314 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 Py_INCREF(Py_None
); resultobj
= Py_None
;
7330 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
;
7332 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7334 PyObject
* obj0
= 0 ;
7336 (char *) "self", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7351 resultptr
= new wxRect((wxRect
&) result
);
7352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7360 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7367 (char *) "self",(char *) "status", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7373 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 Py_INCREF(Py_None
); resultobj
= Py_None
;
7389 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7393 PyObject
* obj0
= 0 ;
7395 (char *) "self", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_FromInt((int)result
);
7415 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7418 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7420 return Py_BuildValue((char *)"");
7422 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 int arg1
= (int) 0 ;
7425 wxQueryLayoutInfoEvent
*result
;
7426 PyObject
* obj0
= 0 ;
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7433 arg1
= (int) SWIG_AsInt(obj0
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7450 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
*resultobj
;
7452 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7454 PyObject
* obj0
= 0 ;
7455 PyObject
* obj1
= 0 ;
7457 (char *) "self",(char *) "length", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7463 arg2
= (int) SWIG_AsInt(obj1
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 (arg1
)->SetRequestedLength(arg2
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 Py_INCREF(Py_None
); resultobj
= Py_None
;
7479 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7483 PyObject
* obj0
= 0 ;
7485 (char *) "self", NULL
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= SWIG_FromInt((int)result
);
7505 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
;
7507 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7509 PyObject
* obj0
= 0 ;
7510 PyObject
* obj1
= 0 ;
7512 (char *) "self",(char *) "flags", NULL
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7518 arg2
= (int) SWIG_AsInt(obj1
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 (arg1
)->SetFlags(arg2
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 Py_INCREF(Py_None
); resultobj
= Py_None
;
7534 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7536 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7538 PyObject
* obj0
= 0 ;
7540 (char *) "self", NULL
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7553 resultobj
= SWIG_FromInt((int)result
);
7560 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
;
7562 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7565 PyObject
* obj0
= 0 ;
7566 PyObject
* obj1
= 0 ;
7568 (char *) "self",(char *) "size", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7576 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 (arg1
)->SetSize((wxSize
const &)*arg2
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 Py_INCREF(Py_None
); resultobj
= Py_None
;
7592 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7598 (char *) "self", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7613 resultptr
= new wxSize((wxSize
&) result
);
7614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7622 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7626 PyObject
* obj0
= 0 ;
7627 PyObject
* obj1
= 0 ;
7629 (char *) "self",(char *) "orient", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7635 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 Py_INCREF(Py_None
); resultobj
= Py_None
;
7651 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7657 (char *) "self", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_FromInt((int)result
);
7677 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7682 PyObject
* obj1
= 0 ;
7684 (char *) "self",(char *) "align", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7690 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7699 Py_INCREF(Py_None
); resultobj
= Py_None
;
7706 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7725 resultobj
= SWIG_FromInt((int)result
);
7732 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7735 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7737 return Py_BuildValue((char *)"");
7739 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 int arg1
= (int) 0 ;
7742 wxCalculateLayoutEvent
*result
;
7743 PyObject
* obj0
= 0 ;
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7750 arg1
= (int) SWIG_AsInt(obj0
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7767 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7772 PyObject
* obj1
= 0 ;
7774 (char *) "self",(char *) "flags", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 arg2
= (int) SWIG_AsInt(obj1
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 (arg1
)->SetFlags(arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 Py_INCREF(Py_None
); resultobj
= Py_None
;
7796 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7802 (char *) "self", NULL
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= SWIG_FromInt((int)result
);
7822 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7828 PyObject
* obj1
= 0 ;
7830 (char *) "self",(char *) "rect", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7838 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 (arg1
)->SetRect((wxRect
const &)*arg2
);
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 Py_INCREF(Py_None
); resultobj
= Py_None
;
7854 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7858 PyObject
* obj0
= 0 ;
7860 (char *) "self", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7875 resultptr
= new wxRect((wxRect
&) result
);
7876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7884 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7887 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7889 return Py_BuildValue((char *)"");
7891 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
;
7893 wxWindow
*arg1
= (wxWindow
*) 0 ;
7895 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7896 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7897 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7898 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7899 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7900 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7901 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7902 wxSashLayoutWindow
*result
;
7905 bool temp6
= False
;
7906 PyObject
* obj0
= 0 ;
7907 PyObject
* obj1
= 0 ;
7908 PyObject
* obj2
= 0 ;
7909 PyObject
* obj3
= 0 ;
7910 PyObject
* obj4
= 0 ;
7911 PyObject
* obj5
= 0 ;
7913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7919 arg2
= (int) SWIG_AsInt(obj1
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7924 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7930 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7934 arg5
= (long) SWIG_AsLong(obj4
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7939 arg6
= wxString_in_helper(obj5
);
7940 if (arg6
== NULL
) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7966 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxSashLayoutWindow
*result
;
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7988 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7991 wxWindow
*arg2
= (wxWindow
*) 0 ;
7993 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7994 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7995 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7996 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7997 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7998 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7999 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8003 bool temp7
= False
;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 PyObject
* obj2
= 0 ;
8007 PyObject
* obj3
= 0 ;
8008 PyObject
* obj4
= 0 ;
8009 PyObject
* obj5
= 0 ;
8010 PyObject
* obj6
= 0 ;
8012 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8020 arg3
= (int) SWIG_AsInt(obj2
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8025 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8031 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8035 arg6
= (long) SWIG_AsLong(obj5
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8040 arg7
= wxString_in_helper(obj6
);
8041 if (arg7
== NULL
) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8069 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8073 PyObject
* obj0
= 0 ;
8075 (char *) "self", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 result
= (int)(arg1
)->GetAlignment();
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8088 resultobj
= SWIG_FromInt((int)result
);
8095 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
;
8097 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8099 PyObject
* obj0
= 0 ;
8101 (char *) "self", NULL
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 result
= (int)(arg1
)->GetOrientation();
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 resultobj
= SWIG_FromInt((int)result
);
8121 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8126 PyObject
* obj1
= 0 ;
8128 (char *) "self",(char *) "alignment", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 Py_INCREF(Py_None
); resultobj
= Py_None
;
8150 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8156 PyObject
* obj1
= 0 ;
8158 (char *) "self",(char *) "size", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8166 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 Py_INCREF(Py_None
); resultobj
= Py_None
;
8182 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8186 PyObject
* obj0
= 0 ;
8187 PyObject
* obj1
= 0 ;
8189 (char *) "self",(char *) "orientation", NULL
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8195 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 Py_INCREF(Py_None
); resultobj
= Py_None
;
8211 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8214 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8216 return Py_BuildValue((char *)"");
8218 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
;
8220 wxLayoutAlgorithm
*result
;
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8240 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8243 PyObject
* obj0
= 0 ;
8245 (char *) "self", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 Py_INCREF(Py_None
); resultobj
= Py_None
;
8265 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8267 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8268 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8269 wxRect
*arg3
= (wxRect
*) NULL
;
8271 PyObject
* obj0
= 0 ;
8272 PyObject
* obj1
= 0 ;
8273 PyObject
* obj2
= 0 ;
8275 (char *) "self",(char *) "frame",(char *) "rect", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8284 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8303 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8306 wxFrame
*arg2
= (wxFrame
*) 0 ;
8307 wxWindow
*arg3
= (wxWindow
*) NULL
;
8309 PyObject
* obj0
= 0 ;
8310 PyObject
* obj1
= 0 ;
8311 PyObject
* obj2
= 0 ;
8313 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8322 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8341 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8344 wxWindow
*arg2
= (wxWindow
*) 0 ;
8345 wxWindow
*arg3
= (wxWindow
*) NULL
;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 PyObject
* obj2
= 0 ;
8351 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8360 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8379 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8382 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8384 return Py_BuildValue((char *)"");
8386 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
;
8388 wxWindow
*arg1
= (wxWindow
*) 0 ;
8389 int arg2
= (int) wxBORDER_NONE
;
8390 wxPopupWindow
*result
;
8391 PyObject
* obj0
= 0 ;
8392 PyObject
* obj1
= 0 ;
8394 (char *) "parent",(char *) "flags", NULL
8397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8401 arg2
= (int) SWIG_AsInt(obj1
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8418 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxPopupWindow
*result
;
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (wxPopupWindow
*)new wxPopupWindow();
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8440 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
;
8442 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8443 wxWindow
*arg2
= (wxWindow
*) 0 ;
8444 int arg3
= (int) wxBORDER_NONE
;
8446 PyObject
* obj0
= 0 ;
8447 PyObject
* obj1
= 0 ;
8448 PyObject
* obj2
= 0 ;
8450 (char *) "self",(char *) "parent",(char *) "flags", NULL
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8459 arg3
= (int) SWIG_AsInt(obj2
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8478 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
*resultobj
;
8480 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8485 PyObject
* obj0
= 0 ;
8486 PyObject
* obj1
= 0 ;
8487 PyObject
* obj2
= 0 ;
8489 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8497 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8501 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 Py_INCREF(Py_None
); resultobj
= Py_None
;
8517 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8520 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8522 return Py_BuildValue((char *)"");
8524 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxWindow
*arg1
= (wxWindow
*) 0 ;
8527 int arg2
= (int) wxBORDER_NONE
;
8528 wxPyPopupTransientWindow
*result
;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8532 (char *) "parent",(char *) "style", NULL
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8539 arg2
= (int) SWIG_AsInt(obj1
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8556 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
;
8558 wxPyPopupTransientWindow
*result
;
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8578 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8581 PyObject
*arg2
= (PyObject
*) 0 ;
8582 PyObject
*arg3
= (PyObject
*) 0 ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8585 PyObject
* obj2
= 0 ;
8587 (char *) "self",(char *) "self",(char *) "_class", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 Py_INCREF(Py_None
); resultobj
= Py_None
;
8609 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8612 wxWindow
*arg2
= (wxWindow
*) NULL
;
8613 PyObject
* obj0
= 0 ;
8614 PyObject
* obj1
= 0 ;
8616 (char *) "self",(char *) "focus", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 (arg1
)->Popup(arg2
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 Py_INCREF(Py_None
); resultobj
= Py_None
;
8640 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8643 PyObject
* obj0
= 0 ;
8645 (char *) "self", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 Py_INCREF(Py_None
); resultobj
= Py_None
;
8665 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8668 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8670 return Py_BuildValue((char *)"");
8672 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxWindow
*arg1
= (wxWindow
*) 0 ;
8675 wxString
*arg2
= 0 ;
8676 int arg3
= (int) 100 ;
8677 wxRect
*arg4
= (wxRect
*) NULL
;
8678 wxTipWindow
*result
;
8679 bool temp2
= False
;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8682 PyObject
* obj2
= 0 ;
8683 PyObject
* obj3
= 0 ;
8685 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8692 arg2
= wxString_in_helper(obj1
);
8693 if (arg2
== NULL
) SWIG_fail
;
8697 arg3
= (int) SWIG_AsInt(obj2
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8726 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8734 (char *) "self",(char *) "rectBound", NULL
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8742 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 Py_INCREF(Py_None
); resultobj
= Py_None
;
8758 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8763 (char *) "self", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8786 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8788 return Py_BuildValue((char *)"");
8790 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
;
8792 wxWindow
*arg1
= (wxWindow
*) 0 ;
8793 int arg2
= (int) wxID_ANY
;
8794 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8795 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8796 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8797 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8798 long arg5
= (long) 0 ;
8799 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8800 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8801 wxPyVScrolledWindow
*result
;
8804 bool temp6
= False
;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8807 PyObject
* obj2
= 0 ;
8808 PyObject
* obj3
= 0 ;
8809 PyObject
* obj4
= 0 ;
8810 PyObject
* obj5
= 0 ;
8812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8819 arg2
= (int) SWIG_AsInt(obj1
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8825 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8831 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8835 arg5
= (long) SWIG_AsLong(obj4
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8840 arg6
= wxString_in_helper(obj5
);
8841 if (arg6
== NULL
) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8867 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxPyVScrolledWindow
*result
;
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8889 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8892 PyObject
*arg2
= (PyObject
*) 0 ;
8893 PyObject
*arg3
= (PyObject
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8895 PyObject
* obj1
= 0 ;
8896 PyObject
* obj2
= 0 ;
8898 (char *) "self",(char *) "self",(char *) "_class", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 Py_INCREF(Py_None
); resultobj
= Py_None
;
8920 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8923 wxWindow
*arg2
= (wxWindow
*) 0 ;
8924 int arg3
= (int) wxID_ANY
;
8925 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8926 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8927 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8928 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8929 long arg6
= (long) 0 ;
8930 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8931 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8935 bool temp7
= False
;
8936 PyObject
* obj0
= 0 ;
8937 PyObject
* obj1
= 0 ;
8938 PyObject
* obj2
= 0 ;
8939 PyObject
* obj3
= 0 ;
8940 PyObject
* obj4
= 0 ;
8941 PyObject
* obj5
= 0 ;
8942 PyObject
* obj6
= 0 ;
8944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8953 arg3
= (int) SWIG_AsInt(obj2
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8959 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8965 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8969 arg6
= (long) SWIG_AsLong(obj5
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8974 arg7
= wxString_in_helper(obj6
);
8975 if (arg7
== NULL
) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9003 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9010 (char *) "self",(char *) "count", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 (arg1
)->SetLineCount(arg2
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 Py_INCREF(Py_None
); resultobj
= Py_None
;
9032 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9040 (char *) "self",(char *) "line", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9046 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9064 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9069 PyObject
* obj0
= 0 ;
9070 PyObject
* obj1
= 0 ;
9072 (char *) "self",(char *) "lines", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9078 arg2
= (int) SWIG_AsInt(obj1
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (bool)(arg1
)->ScrollLines(arg2
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9096 static PyObject
*_wrap_VScrolledWindow_ScrollPages(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 *) "pages", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",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
= (int) SWIG_AsInt(obj1
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (bool)(arg1
)->ScrollPages(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_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj1
= 0 ;
9135 (char *) "self",(char *) "line", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9141 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 (arg1
)->RefreshLine(arg2
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 Py_INCREF(Py_None
); resultobj
= Py_None
;
9157 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9166 (char *) "self",(char *) "from",(char *) "to", NULL
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9172 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9174 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 (arg1
)->RefreshLines(arg2
,arg3
);
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 Py_INCREF(Py_None
); resultobj
= Py_None
;
9190 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
;
9192 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 PyObject
* obj2
= 0 ;
9200 (char *) "self",(char *) "x",(char *) "y", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9206 arg2
= (int) SWIG_AsInt(obj1
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9208 arg3
= (int) SWIG_AsInt(obj2
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= SWIG_FromInt((int)result
);
9224 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9233 (char *) "self",(char *) "pt", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9241 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= SWIG_FromInt((int)result
);
9257 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
;
9259 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9260 PyObject
* obj0
= 0 ;
9262 (char *) "self", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 (arg1
)->RefreshAll();
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 Py_INCREF(Py_None
); resultobj
= Py_None
;
9282 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9286 PyObject
* obj0
= 0 ;
9288 (char *) "self", NULL
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9308 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
;
9310 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9312 PyObject
* obj0
= 0 ;
9314 (char *) "self", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9334 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9338 PyObject
* obj0
= 0 ;
9340 (char *) "self", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9360 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9368 (char *) "self",(char *) "line", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9374 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9392 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9395 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9397 return Py_BuildValue((char *)"");
9399 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9400 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9405 static PyObject
*_wrap_VListBoxNameStr_get() {
9410 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9412 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9419 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
;
9421 wxWindow
*arg1
= (wxWindow
*) 0 ;
9422 int arg2
= (int) wxID_ANY
;
9423 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9424 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9425 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9426 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9427 long arg5
= (long) 0 ;
9428 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9429 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9430 wxPyVListBox
*result
;
9433 bool temp6
= False
;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9436 PyObject
* obj2
= 0 ;
9437 PyObject
* obj3
= 0 ;
9438 PyObject
* obj4
= 0 ;
9439 PyObject
* obj5
= 0 ;
9441 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9448 arg2
= (int) SWIG_AsInt(obj1
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9454 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9460 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9464 arg5
= (long) SWIG_AsLong(obj4
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9469 arg6
= wxString_in_helper(obj5
);
9470 if (arg6
== NULL
) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9496 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
;
9498 wxPyVListBox
*result
;
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (wxPyVListBox
*)new wxPyVListBox();
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9518 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
;
9520 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9521 PyObject
*arg2
= (PyObject
*) 0 ;
9522 PyObject
*arg3
= (PyObject
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9524 PyObject
* obj1
= 0 ;
9525 PyObject
* obj2
= 0 ;
9527 (char *) "self",(char *) "self",(char *) "_class", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 Py_INCREF(Py_None
); resultobj
= Py_None
;
9549 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
;
9551 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9552 wxWindow
*arg2
= (wxWindow
*) 0 ;
9553 int arg3
= (int) wxID_ANY
;
9554 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9555 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9556 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9557 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9558 long arg6
= (long) 0 ;
9559 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9560 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9564 bool temp7
= False
;
9565 PyObject
* obj0
= 0 ;
9566 PyObject
* obj1
= 0 ;
9567 PyObject
* obj2
= 0 ;
9568 PyObject
* obj3
= 0 ;
9569 PyObject
* obj4
= 0 ;
9570 PyObject
* obj5
= 0 ;
9571 PyObject
* obj6
= 0 ;
9573 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 arg3
= (int) SWIG_AsInt(obj2
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9588 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9594 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9598 arg6
= (long) SWIG_AsLong(obj5
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9603 arg7
= wxString_in_helper(obj6
);
9604 if (arg7
== NULL
) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9632 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
*resultobj
;
9634 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9636 PyObject
* obj0
= 0 ;
9638 (char *) "self", NULL
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9658 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9662 PyObject
* obj0
= 0 ;
9664 (char *) "self", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9686 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9692 (char *) "self", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_FromInt((int)result
);
9712 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9720 (char *) "self",(char *) "item", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9726 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9744 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9752 (char *) "self",(char *) "item", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9758 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9776 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9782 (char *) "self", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9802 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9805 unsigned long *arg2
= 0 ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9810 (char *) "self",(char *) "cookie", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9820 PyErr_SetString(PyExc_TypeError
,"null reference");
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9830 resultobj
= SWIG_FromInt((int)result
);
9837 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9840 unsigned long *arg2
= 0 ;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9845 (char *) "self",(char *) "cookie", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9855 PyErr_SetString(PyExc_TypeError
,"null reference");
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= SWIG_FromInt((int)result
);
9872 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
;
9874 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9878 (char *) "self", NULL
9881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9892 wxPoint
* resultptr
;
9893 resultptr
= new wxPoint((wxPoint
&) result
);
9894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9902 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9906 PyObject
* obj0
= 0 ;
9908 (char *) "self", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9918 result
= (wxColour
*) &_result_ref
;
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9931 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
;
9933 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9938 (char *) "self",(char *) "count", NULL
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9944 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 (arg1
)->SetItemCount(arg2
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 Py_INCREF(Py_None
); resultobj
= Py_None
;
9960 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9963 PyObject
* obj0
= 0 ;
9965 (char *) "self", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9978 Py_INCREF(Py_None
); resultobj
= Py_None
;
9985 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9990 PyObject
* obj1
= 0 ;
9992 (char *) "self",(char *) "selection", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 arg2
= (int) SWIG_AsInt(obj1
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 (arg1
)->SetSelection(arg2
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 Py_INCREF(Py_None
); resultobj
= Py_None
;
10014 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10018 bool arg3
= (bool) True
;
10020 PyObject
* obj0
= 0 ;
10021 PyObject
* obj1
= 0 ;
10022 PyObject
* obj2
= 0 ;
10023 char *kwnames
[] = {
10024 (char *) "self",(char *) "item",(char *) "select", NULL
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10030 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 arg3
= (bool) SWIG_AsBool(obj2
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10052 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10058 PyObject
* obj0
= 0 ;
10059 PyObject
* obj1
= 0 ;
10060 PyObject
* obj2
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self",(char *) "from",(char *) "to", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10068 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10070 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10088 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self",(char *) "item", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 (arg1
)->Toggle(arg2
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 Py_INCREF(Py_None
); resultobj
= Py_None
;
10117 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10121 PyObject
* obj0
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (bool)(arg1
)->SelectAll();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10145 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10149 PyObject
* obj0
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (bool)(arg1
)->DeselectAll();
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10173 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10176 wxPoint
*arg2
= 0 ;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self",(char *) "pt", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10189 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 Py_INCREF(Py_None
); resultobj
= Py_None
;
10205 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10210 PyObject
* obj0
= 0 ;
10211 PyObject
* obj1
= 0 ;
10212 PyObject
* obj2
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "self",(char *) "x",(char *) "y", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10220 arg2
= (int) SWIG_AsInt(obj1
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10222 arg3
= (int) SWIG_AsInt(obj2
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 (arg1
)->SetMargins(arg2
,arg3
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 Py_INCREF(Py_None
); resultobj
= Py_None
;
10238 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10241 wxColour
*arg2
= 0 ;
10243 PyObject
* obj0
= 0 ;
10244 PyObject
* obj1
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self",(char *) "col", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 Py_INCREF(Py_None
); resultobj
= Py_None
;
10270 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10273 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10275 return Py_BuildValue((char *)"");
10277 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
;
10279 wxWindow
*arg1
= (wxWindow
*) 0 ;
10280 int arg2
= (int) wxID_ANY
;
10281 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10282 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10283 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10284 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10285 long arg5
= (long) 0 ;
10286 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10287 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10288 wxPyHtmlListBox
*result
;
10291 bool temp6
= False
;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 PyObject
* obj2
= 0 ;
10295 PyObject
* obj3
= 0 ;
10296 PyObject
* obj4
= 0 ;
10297 PyObject
* obj5
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10306 arg2
= (int) SWIG_AsInt(obj1
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10312 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10318 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10322 arg5
= (long) SWIG_AsLong(obj4
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10327 arg6
= wxString_in_helper(obj5
);
10328 if (arg6
== NULL
) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10354 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxPyHtmlListBox
*result
;
10357 char *kwnames
[] = {
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10376 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10379 PyObject
*arg2
= (PyObject
*) 0 ;
10380 PyObject
*arg3
= (PyObject
*) 0 ;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self",(char *) "self",(char *) "_class", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 Py_INCREF(Py_None
); resultobj
= Py_None
;
10407 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
;
10409 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10410 wxWindow
*arg2
= (wxWindow
*) 0 ;
10411 int arg3
= (int) wxID_ANY
;
10412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10416 long arg6
= (long) 0 ;
10417 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10418 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10422 bool temp7
= False
;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 PyObject
* obj2
= 0 ;
10426 PyObject
* obj3
= 0 ;
10427 PyObject
* obj4
= 0 ;
10428 PyObject
* obj5
= 0 ;
10429 PyObject
* obj6
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 arg3
= (int) SWIG_AsInt(obj2
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10446 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10452 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10456 arg6
= (long) SWIG_AsLong(obj5
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10461 arg7
= wxString_in_helper(obj6
);
10462 if (arg7
== NULL
) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10490 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10493 PyObject
* obj0
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 (arg1
)->RefreshAll();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 Py_INCREF(Py_None
); resultobj
= Py_None
;
10515 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 PyObject
* obj1
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self",(char *) "count", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 (arg1
)->SetItemCount(arg2
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 Py_INCREF(Py_None
); resultobj
= Py_None
;
10544 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10547 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10549 return Py_BuildValue((char *)"");
10551 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxTaskBarIcon
*result
;
10554 char *kwnames
[] = {
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10573 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10576 PyObject
* obj0
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 Py_INCREF(Py_None
); resultobj
= Py_None
;
10598 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10601 PyObject
* obj0
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 wxTaskBarIcon_Destroy(arg1
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 Py_INCREF(Py_None
); resultobj
= Py_None
;
10623 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10627 PyObject
* obj0
= 0 ;
10628 char *kwnames
[] = {
10629 (char *) "self", NULL
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10651 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10679 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10683 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10684 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10686 bool temp3
= False
;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 PyObject
* obj2
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10700 if (arg2
== NULL
) {
10701 PyErr_SetString(PyExc_TypeError
,"null reference");
10706 arg3
= wxString_in_helper(obj2
);
10707 if (arg3
== NULL
) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10735 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "self", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (bool)(arg1
)->RemoveIcon();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10763 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10766 wxMenu
*arg2
= (wxMenu
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self",(char *) "menu", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 result
= (bool)(arg1
)->PopupMenu(arg2
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10795 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10798 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10800 return Py_BuildValue((char *)"");
10802 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
;
10805 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10806 wxTaskBarIconEvent
*result
;
10807 PyObject
* obj0
= 0 ;
10808 PyObject
* obj1
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "evtType",(char *) "tbIcon", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10814 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10832 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10835 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10837 return Py_BuildValue((char *)"");
10839 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10840 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10845 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10850 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10852 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10859 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10860 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10865 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10870 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10872 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10879 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10880 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10885 static PyObject
*_wrap_DirDialogNameStr_get() {
10890 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10892 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10899 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10900 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10905 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10910 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10912 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10919 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10920 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10925 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10930 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10932 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10939 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10940 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10945 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10950 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10952 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10959 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxColourData
*result
;
10962 char *kwnames
[] = {
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (wxColourData
*)new wxColourData();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10981 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxColourData
*arg1
= (wxColourData
*) 0 ;
10984 PyObject
* obj0
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 Py_INCREF(Py_None
); resultobj
= Py_None
;
11006 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
;
11008 wxColourData
*arg1
= (wxColourData
*) 0 ;
11010 PyObject
* obj0
= 0 ;
11011 char *kwnames
[] = {
11012 (char *) "self", NULL
11015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (bool)(arg1
)->GetChooseFull();
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11034 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
;
11036 wxColourData
*arg1
= (wxColourData
*) 0 ;
11038 PyObject
* obj0
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (arg1
)->GetColour();
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11054 wxColour
* resultptr
;
11055 resultptr
= new wxColour((wxColour
&) result
);
11056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11064 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxColourData
*arg1
= (wxColourData
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self",(char *) "i", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11078 arg2
= (int) SWIG_AsInt(obj1
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 result
= (arg1
)->GetCustomColour(arg2
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 wxColour
* resultptr
;
11089 resultptr
= new wxColour((wxColour
&) result
);
11090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11098 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxColourData
*arg1
= (wxColourData
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self",(char *) "flag", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11111 arg2
= (int) SWIG_AsInt(obj1
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 (arg1
)->SetChooseFull(arg2
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 Py_INCREF(Py_None
); resultobj
= Py_None
;
11127 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxColourData
*arg1
= (wxColourData
*) 0 ;
11130 wxColour
*arg2
= 0 ;
11132 PyObject
* obj0
= 0 ;
11133 PyObject
* obj1
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self",(char *) "colour", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11143 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 (arg1
)->SetColour((wxColour
const &)*arg2
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 Py_INCREF(Py_None
); resultobj
= Py_None
;
11159 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxColourData
*arg1
= (wxColourData
*) 0 ;
11163 wxColour
*arg3
= 0 ;
11165 PyObject
* obj0
= 0 ;
11166 PyObject
* obj1
= 0 ;
11167 PyObject
* obj2
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self",(char *) "i",(char *) "colour", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
11179 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 Py_INCREF(Py_None
); resultobj
= Py_None
;
11195 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11198 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11200 return Py_BuildValue((char *)"");
11202 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxWindow
*arg1
= (wxWindow
*) 0 ;
11205 wxColourData
*arg2
= (wxColourData
*) NULL
;
11206 wxColourDialog
*result
;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "parent",(char *) "data", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11234 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11237 wxColourData
*result
;
11238 PyObject
* obj0
= 0 ;
11239 char *kwnames
[] = {
11240 (char *) "self", NULL
11243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11250 result
= (wxColourData
*) &_result_ref
;
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11263 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11266 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11268 return Py_BuildValue((char *)"");
11270 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxWindow
*arg1
= (wxWindow
*) 0 ;
11273 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11274 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11275 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11276 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11277 long arg4
= (long) 0 ;
11278 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11279 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11280 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11281 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11282 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11283 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11284 wxDirDialog
*result
;
11285 bool temp2
= False
;
11286 bool temp3
= False
;
11289 bool temp7
= False
;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 PyObject
* obj2
= 0 ;
11293 PyObject
* obj3
= 0 ;
11294 PyObject
* obj4
= 0 ;
11295 PyObject
* obj5
= 0 ;
11296 PyObject
* obj6
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11306 arg2
= wxString_in_helper(obj1
);
11307 if (arg2
== NULL
) SWIG_fail
;
11313 arg3
= wxString_in_helper(obj2
);
11314 if (arg3
== NULL
) SWIG_fail
;
11319 arg4
= (long) SWIG_AsLong(obj3
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11325 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11331 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11336 arg7
= wxString_in_helper(obj6
);
11337 if (arg7
== NULL
) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11379 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (arg1
)->GetPath();
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11411 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "self", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 result
= (arg1
)->GetMessage();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11443 static PyObject
*_wrap_DirDialog_GetStyle(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_GetStyle",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
= (long)(arg1
)->GetStyle();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_FromLong((long)result
);
11469 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11472 wxString
*arg2
= 0 ;
11473 bool temp2
= False
;
11474 PyObject
* obj0
= 0 ;
11475 PyObject
* obj1
= 0 ;
11476 char *kwnames
[] = {
11477 (char *) "self",(char *) "message", NULL
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11484 arg2
= wxString_in_helper(obj1
);
11485 if (arg2
== NULL
) SWIG_fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 (arg1
)->SetMessage((wxString
const &)*arg2
);
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 Py_INCREF(Py_None
); resultobj
= Py_None
;
11510 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11513 wxString
*arg2
= 0 ;
11514 bool temp2
= False
;
11515 PyObject
* obj0
= 0 ;
11516 PyObject
* obj1
= 0 ;
11517 char *kwnames
[] = {
11518 (char *) "self",(char *) "path", NULL
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11525 arg2
= wxString_in_helper(obj1
);
11526 if (arg2
== NULL
) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 (arg1
)->SetPath((wxString
const &)*arg2
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 Py_INCREF(Py_None
); resultobj
= Py_None
;
11551 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11554 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11556 return Py_BuildValue((char *)"");
11558 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxWindow
*arg1
= (wxWindow
*) 0 ;
11561 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11562 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11563 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11564 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11565 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11566 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11567 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11568 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11569 long arg6
= (long) 0 ;
11570 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11571 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11572 wxFileDialog
*result
;
11573 bool temp2
= False
;
11574 bool temp3
= False
;
11575 bool temp4
= False
;
11576 bool temp5
= False
;
11578 PyObject
* obj0
= 0 ;
11579 PyObject
* obj1
= 0 ;
11580 PyObject
* obj2
= 0 ;
11581 PyObject
* obj3
= 0 ;
11582 PyObject
* obj4
= 0 ;
11583 PyObject
* obj5
= 0 ;
11584 PyObject
* obj6
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11594 arg2
= wxString_in_helper(obj1
);
11595 if (arg2
== NULL
) SWIG_fail
;
11601 arg3
= wxString_in_helper(obj2
);
11602 if (arg3
== NULL
) SWIG_fail
;
11608 arg4
= wxString_in_helper(obj3
);
11609 if (arg4
== NULL
) SWIG_fail
;
11615 arg5
= wxString_in_helper(obj4
);
11616 if (arg5
== NULL
) SWIG_fail
;
11621 arg6
= (long) SWIG_AsLong(obj5
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11627 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11676 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11679 wxString
*arg2
= 0 ;
11680 bool temp2
= False
;
11681 PyObject
* obj0
= 0 ;
11682 PyObject
* obj1
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self",(char *) "message", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11691 arg2
= wxString_in_helper(obj1
);
11692 if (arg2
== NULL
) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 (arg1
)->SetMessage((wxString
const &)*arg2
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 Py_INCREF(Py_None
); resultobj
= Py_None
;
11717 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11720 wxString
*arg2
= 0 ;
11721 bool temp2
= False
;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self",(char *) "path", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11732 arg2
= wxString_in_helper(obj1
);
11733 if (arg2
== NULL
) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 (arg1
)->SetPath((wxString
const &)*arg2
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 Py_INCREF(Py_None
); resultobj
= Py_None
;
11758 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11761 wxString
*arg2
= 0 ;
11762 bool temp2
= False
;
11763 PyObject
* obj0
= 0 ;
11764 PyObject
* obj1
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "self",(char *) "dir", NULL
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11773 arg2
= wxString_in_helper(obj1
);
11774 if (arg2
== NULL
) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 Py_INCREF(Py_None
); resultobj
= Py_None
;
11799 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11802 wxString
*arg2
= 0 ;
11803 bool temp2
= False
;
11804 PyObject
* obj0
= 0 ;
11805 PyObject
* obj1
= 0 ;
11806 char *kwnames
[] = {
11807 (char *) "self",(char *) "name", NULL
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11814 arg2
= wxString_in_helper(obj1
);
11815 if (arg2
== NULL
) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 (arg1
)->SetFilename((wxString
const &)*arg2
);
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 Py_INCREF(Py_None
); resultobj
= Py_None
;
11840 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11841 PyObject
*resultobj
;
11842 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11843 wxString
*arg2
= 0 ;
11844 bool temp2
= False
;
11845 PyObject
* obj0
= 0 ;
11846 PyObject
* obj1
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "self",(char *) "wildCard", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11855 arg2
= wxString_in_helper(obj1
);
11856 if (arg2
== NULL
) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 Py_INCREF(Py_None
); resultobj
= Py_None
;
11881 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11885 PyObject
* obj0
= 0 ;
11886 PyObject
* obj1
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "style", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11894 arg2
= (long) SWIG_AsLong(obj1
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 (arg1
)->SetStyle(arg2
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 Py_INCREF(Py_None
); resultobj
= Py_None
;
11910 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11914 PyObject
* obj0
= 0 ;
11915 PyObject
* obj1
= 0 ;
11916 char *kwnames
[] = {
11917 (char *) "self",(char *) "filterIndex", NULL
11920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11923 arg2
= (int) SWIG_AsInt(obj1
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 (arg1
)->SetFilterIndex(arg2
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11932 Py_INCREF(Py_None
); resultobj
= Py_None
;
11939 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11941 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11943 PyObject
* obj0
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11971 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11975 PyObject
* obj0
= 0 ;
11976 char *kwnames
[] = {
11977 (char *) "self", NULL
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12003 static PyObject
*_wrap_FileDialog_GetDirectory(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_GetDirectory",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
)->GetDirectory();
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_GetFilename(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_GetFilename",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
)->GetFilename();
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_GetWildcard(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_GetWildcard",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
)->GetWildcard();
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_GetStyle(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_GetStyle",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
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= SWIG_FromLong((long)result
);
12125 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12129 PyObject
* obj0
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_FromInt((int)result
);
12151 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12155 PyObject
* obj0
= 0 ;
12156 char *kwnames
[] = {
12157 (char *) "self", NULL
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= result
;
12177 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12181 PyObject
* obj0
= 0 ;
12182 char *kwnames
[] = {
12183 (char *) "self", NULL
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= result
;
12203 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12206 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12208 return Py_BuildValue((char *)"");
12210 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxWindow
*arg1
= (wxWindow
*) 0 ;
12213 wxString
*arg2
= 0 ;
12214 wxString
*arg3
= 0 ;
12215 int arg4
= (int) 0 ;
12216 wxString
*arg5
= (wxString
*) 0 ;
12217 long arg6
= (long) wxCHOICEDLG_STYLE
;
12218 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12219 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12220 wxMultiChoiceDialog
*result
;
12221 bool temp2
= False
;
12222 bool temp3
= False
;
12224 PyObject
* obj0
= 0 ;
12225 PyObject
* obj1
= 0 ;
12226 PyObject
* obj2
= 0 ;
12227 PyObject
* obj3
= 0 ;
12228 PyObject
* obj4
= 0 ;
12229 PyObject
* obj5
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12238 arg2
= wxString_in_helper(obj1
);
12239 if (arg2
== NULL
) SWIG_fail
;
12243 arg3
= wxString_in_helper(obj2
);
12244 if (arg3
== NULL
) SWIG_fail
;
12249 arg4
= PyList_Size(obj3
);
12250 arg5
= wxString_LIST_helper(obj3
);
12251 if (arg5
== NULL
) SWIG_fail
;
12255 arg6
= (long) SWIG_AsLong(obj4
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12261 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12281 if (arg5
) delete [] arg5
;
12294 if (arg5
) delete [] arg5
;
12300 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12303 wxArrayInt
*arg2
= 0 ;
12304 bool temp2
= False
;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self",(char *) "selections", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12315 if (! PySequence_Check(obj1
)) {
12316 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12319 arg2
= new wxArrayInt
;
12321 int i
, len
=PySequence_Length(obj1
);
12322 for (i
=0; i
<len
; i
++) {
12323 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12324 PyObject
* number
= PyNumber_Int(item
);
12325 arg2
->Add(PyInt_AS_LONG(number
));
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 Py_INCREF(Py_None
); resultobj
= Py_None
;
12339 if (temp2
) delete arg2
;
12344 if (temp2
) delete arg2
;
12350 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
;
12352 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= result
;
12376 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12379 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12381 return Py_BuildValue((char *)"");
12383 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxWindow
*arg1
= (wxWindow
*) 0 ;
12386 wxString
*arg2
= 0 ;
12387 wxString
*arg3
= 0 ;
12389 wxString
*arg5
= (wxString
*) 0 ;
12390 long arg6
= (long) wxCHOICEDLG_STYLE
;
12391 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12392 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12393 wxSingleChoiceDialog
*result
;
12394 bool temp2
= False
;
12395 bool temp3
= False
;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 PyObject
* obj2
= 0 ;
12400 PyObject
* obj3
= 0 ;
12401 PyObject
* obj4
= 0 ;
12402 PyObject
* obj5
= 0 ;
12403 char *kwnames
[] = {
12404 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12411 arg2
= wxString_in_helper(obj1
);
12412 if (arg2
== NULL
) SWIG_fail
;
12416 arg3
= wxString_in_helper(obj2
);
12417 if (arg3
== NULL
) SWIG_fail
;
12421 arg4
= PyList_Size(obj3
);
12422 arg5
= wxString_LIST_helper(obj3
);
12423 if (arg5
== NULL
) SWIG_fail
;
12426 arg6
= (long) SWIG_AsLong(obj4
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12432 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12452 if (arg5
) delete [] arg5
;
12465 if (arg5
) delete [] arg5
;
12471 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
;
12473 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 result
= (int)(arg1
)->GetSelection();
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= SWIG_FromInt((int)result
);
12497 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12501 PyObject
* obj0
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 result
= (arg1
)->GetStringSelection();
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12529 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self",(char *) "sel", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12542 arg2
= (int) SWIG_AsInt(obj1
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 (arg1
)->SetSelection(arg2
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 Py_INCREF(Py_None
); resultobj
= Py_None
;
12558 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12561 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12563 return Py_BuildValue((char *)"");
12565 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxWindow
*arg1
= (wxWindow
*) 0 ;
12568 wxString
*arg2
= 0 ;
12569 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12570 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12571 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12572 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12573 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12574 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12575 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12576 wxTextEntryDialog
*result
;
12577 bool temp2
= False
;
12578 bool temp3
= False
;
12579 bool temp4
= False
;
12581 PyObject
* obj0
= 0 ;
12582 PyObject
* obj1
= 0 ;
12583 PyObject
* obj2
= 0 ;
12584 PyObject
* obj3
= 0 ;
12585 PyObject
* obj4
= 0 ;
12586 PyObject
* obj5
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12595 arg2
= wxString_in_helper(obj1
);
12596 if (arg2
== NULL
) SWIG_fail
;
12601 arg3
= wxString_in_helper(obj2
);
12602 if (arg3
== NULL
) SWIG_fail
;
12608 arg4
= wxString_in_helper(obj3
);
12609 if (arg4
== NULL
) SWIG_fail
;
12614 arg5
= (long) SWIG_AsLong(obj4
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12620 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12661 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (arg1
)->GetValue();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12693 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12696 wxString
*arg2
= 0 ;
12697 bool temp2
= False
;
12698 PyObject
* obj0
= 0 ;
12699 PyObject
* obj1
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "self",(char *) "value", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12708 arg2
= wxString_in_helper(obj1
);
12709 if (arg2
== NULL
) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 (arg1
)->SetValue((wxString
const &)*arg2
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 Py_INCREF(Py_None
); resultobj
= Py_None
;
12734 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12737 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12739 return Py_BuildValue((char *)"");
12741 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxFontData
*result
;
12744 char *kwnames
[] = {
12748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (wxFontData
*)new wxFontData();
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12763 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxFontData
*arg1
= (wxFontData
*) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 char *kwnames
[] = {
12768 (char *) "self", NULL
12771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 Py_INCREF(Py_None
); resultobj
= Py_None
;
12788 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12789 PyObject
*resultobj
;
12790 wxFontData
*arg1
= (wxFontData
*) 0 ;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self",(char *) "enable", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12801 arg2
= (bool) SWIG_AsBool(obj1
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 (arg1
)->EnableEffects(arg2
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 Py_INCREF(Py_None
); resultobj
= Py_None
;
12817 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12818 PyObject
*resultobj
;
12819 wxFontData
*arg1
= (wxFontData
*) 0 ;
12821 PyObject
* obj0
= 0 ;
12822 char *kwnames
[] = {
12823 (char *) "self", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 result
= (bool)(arg1
)->GetAllowSymbols();
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12845 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
;
12847 wxFontData
*arg1
= (wxFontData
*) 0 ;
12849 PyObject
* obj0
= 0 ;
12850 char *kwnames
[] = {
12851 (char *) "self", NULL
12854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 result
= (arg1
)->GetColour();
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12865 wxColour
* resultptr
;
12866 resultptr
= new wxColour((wxColour
&) result
);
12867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12875 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
*resultobj
;
12877 wxFontData
*arg1
= (wxFontData
*) 0 ;
12879 PyObject
* obj0
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "self", NULL
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (arg1
)->GetChosenFont();
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12895 wxFont
* resultptr
;
12896 resultptr
= new wxFont((wxFont
&) result
);
12897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12905 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxFontData
*arg1
= (wxFontData
*) 0 ;
12909 PyObject
* obj0
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (bool)(arg1
)->GetEnableEffects();
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12933 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxFontData
*arg1
= (wxFontData
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (arg1
)->GetInitialFont();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12953 wxFont
* resultptr
;
12954 resultptr
= new wxFont((wxFont
&) result
);
12955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12963 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxFontData
*arg1
= (wxFontData
*) 0 ;
12967 PyObject
* obj0
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (bool)(arg1
)->GetShowHelp();
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12991 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
;
12993 wxFontData
*arg1
= (wxFontData
*) 0 ;
12995 PyObject
* obj0
= 0 ;
12996 PyObject
* obj1
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self",(char *) "allowSymbols", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13004 arg2
= (bool) SWIG_AsBool(obj1
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 (arg1
)->SetAllowSymbols(arg2
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 Py_INCREF(Py_None
); resultobj
= Py_None
;
13020 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxFontData
*arg1
= (wxFontData
*) 0 ;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 char *kwnames
[] = {
13027 (char *) "self",(char *) "font", NULL
13030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13036 if (arg2
== NULL
) {
13037 PyErr_SetString(PyExc_TypeError
,"null reference");
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13047 Py_INCREF(Py_None
); resultobj
= Py_None
;
13054 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxFontData
*arg1
= (wxFontData
*) 0 ;
13057 wxColour
*arg2
= 0 ;
13059 PyObject
* obj0
= 0 ;
13060 PyObject
* obj1
= 0 ;
13061 char *kwnames
[] = {
13062 (char *) "self",(char *) "colour", NULL
13065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13070 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 (arg1
)->SetColour((wxColour
const &)*arg2
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxFontData
*arg1
= (wxFontData
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self",(char *) "font", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13102 if (arg2
== NULL
) {
13103 PyErr_SetString(PyExc_TypeError
,"null reference");
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 Py_INCREF(Py_None
); resultobj
= Py_None
;
13120 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
;
13122 wxFontData
*arg1
= (wxFontData
*) 0 ;
13125 PyObject
* obj0
= 0 ;
13126 PyObject
* obj1
= 0 ;
13127 PyObject
* obj2
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self",(char *) "min",(char *) "max", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13135 arg2
= (int) SWIG_AsInt(obj1
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13137 arg3
= (int) SWIG_AsInt(obj2
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 (arg1
)->SetRange(arg2
,arg3
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 Py_INCREF(Py_None
); resultobj
= Py_None
;
13153 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
;
13155 wxFontData
*arg1
= (wxFontData
*) 0 ;
13157 PyObject
* obj0
= 0 ;
13158 PyObject
* obj1
= 0 ;
13159 char *kwnames
[] = {
13160 (char *) "self",(char *) "showHelp", NULL
13163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13166 arg2
= (bool) SWIG_AsBool(obj1
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 (arg1
)->SetShowHelp(arg2
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 Py_INCREF(Py_None
); resultobj
= Py_None
;
13182 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13185 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13187 return Py_BuildValue((char *)"");
13189 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxWindow
*arg1
= (wxWindow
*) 0 ;
13192 wxFontData
*arg2
= 0 ;
13193 wxFontDialog
*result
;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "parent",(char *) "data", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13206 if (arg2
== NULL
) {
13207 PyErr_SetString(PyExc_TypeError
,"null reference");
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13224 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
;
13226 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13227 wxFontData
*result
;
13228 PyObject
* obj0
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13240 result
= (wxFontData
*) &_result_ref
;
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13253 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13256 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13258 return Py_BuildValue((char *)"");
13260 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxWindow
*arg1
= (wxWindow
*) 0 ;
13263 wxString
*arg2
= 0 ;
13264 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13265 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13266 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13267 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13268 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13269 wxMessageDialog
*result
;
13270 bool temp2
= False
;
13271 bool temp3
= False
;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 PyObject
* obj2
= 0 ;
13276 PyObject
* obj3
= 0 ;
13277 PyObject
* obj4
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13286 arg2
= wxString_in_helper(obj1
);
13287 if (arg2
== NULL
) SWIG_fail
;
13292 arg3
= wxString_in_helper(obj2
);
13293 if (arg3
== NULL
) SWIG_fail
;
13298 arg4
= (long) SWIG_AsLong(obj3
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13304 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13337 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13340 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13342 return Py_BuildValue((char *)"");
13344 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
;
13346 wxString
*arg1
= 0 ;
13347 wxString
*arg2
= 0 ;
13348 int arg3
= (int) 100 ;
13349 wxWindow
*arg4
= (wxWindow
*) NULL
;
13350 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13351 wxProgressDialog
*result
;
13352 bool temp1
= False
;
13353 bool temp2
= False
;
13354 PyObject
* obj0
= 0 ;
13355 PyObject
* obj1
= 0 ;
13356 PyObject
* obj2
= 0 ;
13357 PyObject
* obj3
= 0 ;
13358 PyObject
* obj4
= 0 ;
13359 char *kwnames
[] = {
13360 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13365 arg1
= wxString_in_helper(obj0
);
13366 if (arg1
== NULL
) SWIG_fail
;
13370 arg2
= wxString_in_helper(obj1
);
13371 if (arg2
== NULL
) SWIG_fail
;
13375 arg3
= (int) SWIG_AsInt(obj2
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13379 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13383 arg5
= (int) SWIG_AsInt(obj4
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13416 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
;
13418 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13420 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13421 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13423 bool temp3
= False
;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 PyObject
* obj2
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13434 arg2
= (int) SWIG_AsInt(obj1
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13438 arg3
= wxString_in_helper(obj2
);
13439 if (arg3
== NULL
) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13467 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13470 PyObject
* obj0
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 Py_INCREF(Py_None
); resultobj
= Py_None
;
13492 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13495 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13497 return Py_BuildValue((char *)"");
13499 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
;
13501 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13502 int arg2
= (int) 0 ;
13503 wxFindDialogEvent
*result
;
13504 PyObject
* obj0
= 0 ;
13505 PyObject
* obj1
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "commandType",(char *) "id", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13512 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13516 arg2
= (int) SWIG_AsInt(obj1
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13533 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13537 PyObject
* obj0
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "self", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= (int)(arg1
)->GetFlags();
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_FromInt((int)result
);
13559 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
;
13561 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 wxString
const &_result_ref
= (arg1
)->GetFindString();
13575 result
= (wxString
*) &_result_ref
;
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13585 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13594 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
;
13596 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "self", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13610 result
= (wxString
*) &_result_ref
;
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13620 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13629 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13632 wxFindReplaceDialog
*result
;
13633 PyObject
* obj0
= 0 ;
13634 char *kwnames
[] = {
13635 (char *) "self", NULL
13638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13655 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self",(char *) "flags", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13668 arg2
= (int) SWIG_AsInt(obj1
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 (arg1
)->SetFlags(arg2
);
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 Py_INCREF(Py_None
); resultobj
= Py_None
;
13684 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13687 wxString
*arg2
= 0 ;
13688 bool temp2
= False
;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "self",(char *) "str", NULL
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13699 arg2
= wxString_in_helper(obj1
);
13700 if (arg2
== NULL
) SWIG_fail
;
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 (arg1
)->SetFindString((wxString
const &)*arg2
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13710 Py_INCREF(Py_None
); resultobj
= Py_None
;
13725 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13728 wxString
*arg2
= 0 ;
13729 bool temp2
= False
;
13730 PyObject
* obj0
= 0 ;
13731 PyObject
* obj1
= 0 ;
13732 char *kwnames
[] = {
13733 (char *) "self",(char *) "str", NULL
13736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13740 arg2
= wxString_in_helper(obj1
);
13741 if (arg2
== NULL
) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 Py_INCREF(Py_None
); resultobj
= Py_None
;
13766 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13769 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13771 return Py_BuildValue((char *)"");
13773 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 int arg1
= (int) 0 ;
13776 wxFindReplaceData
*result
;
13777 PyObject
* obj0
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "flags", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13784 arg1
= (int) SWIG_AsInt(obj0
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13801 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 Py_INCREF(Py_None
); resultobj
= Py_None
;
13826 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13830 PyObject
* obj0
= 0 ;
13831 char *kwnames
[] = {
13832 (char *) "self", NULL
13835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 wxString
const &_result_ref
= (arg1
)->GetFindString();
13842 result
= (wxString
*) &_result_ref
;
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13861 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13877 result
= (wxString
*) &_result_ref
;
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13885 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13887 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13896 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= (int)(arg1
)->GetFlags();
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= SWIG_FromInt((int)result
);
13922 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
;
13924 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13926 PyObject
* obj0
= 0 ;
13927 PyObject
* obj1
= 0 ;
13928 char *kwnames
[] = {
13929 (char *) "self",(char *) "flags", NULL
13932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13935 arg2
= (int) SWIG_AsInt(obj1
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 (arg1
)->SetFlags(arg2
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 Py_INCREF(Py_None
); resultobj
= Py_None
;
13951 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
;
13953 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13954 wxString
*arg2
= 0 ;
13955 bool temp2
= False
;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self",(char *) "str", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13966 arg2
= wxString_in_helper(obj1
);
13967 if (arg2
== NULL
) SWIG_fail
;
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 (arg1
)->SetFindString((wxString
const &)*arg2
);
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 Py_INCREF(Py_None
); resultobj
= Py_None
;
13992 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
;
13994 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13995 wxString
*arg2
= 0 ;
13996 bool temp2
= False
;
13997 PyObject
* obj0
= 0 ;
13998 PyObject
* obj1
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "self",(char *) "str", NULL
14003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14007 arg2
= wxString_in_helper(obj1
);
14008 if (arg2
== NULL
) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 Py_INCREF(Py_None
); resultobj
= Py_None
;
14033 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14036 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14038 return Py_BuildValue((char *)"");
14040 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxWindow
*arg1
= (wxWindow
*) 0 ;
14043 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14044 wxString
*arg3
= 0 ;
14045 int arg4
= (int) 0 ;
14046 wxFindReplaceDialog
*result
;
14047 bool temp3
= False
;
14048 PyObject
* obj0
= 0 ;
14049 PyObject
* obj1
= 0 ;
14050 PyObject
* obj2
= 0 ;
14051 PyObject
* obj3
= 0 ;
14052 char *kwnames
[] = {
14053 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14062 arg3
= wxString_in_helper(obj2
);
14063 if (arg3
== NULL
) SWIG_fail
;
14067 arg4
= (int) SWIG_AsInt(obj3
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14092 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxFindReplaceDialog
*result
;
14095 char *kwnames
[] = {
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14114 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
;
14116 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14117 wxWindow
*arg2
= (wxWindow
*) 0 ;
14118 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14119 wxString
*arg4
= 0 ;
14120 int arg5
= (int) 0 ;
14122 bool temp4
= False
;
14123 PyObject
* obj0
= 0 ;
14124 PyObject
* obj1
= 0 ;
14125 PyObject
* obj2
= 0 ;
14126 PyObject
* obj3
= 0 ;
14127 PyObject
* obj4
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14140 arg4
= wxString_in_helper(obj3
);
14141 if (arg4
== NULL
) SWIG_fail
;
14145 arg5
= (int) SWIG_AsInt(obj4
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14172 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14175 wxFindReplaceData
*result
;
14176 PyObject
* obj0
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14198 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14201 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 PyObject
* obj1
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self",(char *) "data", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 (arg1
)->SetData(arg2
);
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 Py_INCREF(Py_None
); resultobj
= Py_None
;
14227 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14230 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14232 return Py_BuildValue((char *)"");
14234 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxWindow
*arg1
= (wxWindow
*) 0 ;
14238 wxString
*arg3
= 0 ;
14239 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14240 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14241 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14242 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14243 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14244 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14245 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14246 wxMDIParentFrame
*result
;
14247 bool temp3
= False
;
14250 bool temp7
= False
;
14251 PyObject
* obj0
= 0 ;
14252 PyObject
* obj1
= 0 ;
14253 PyObject
* obj2
= 0 ;
14254 PyObject
* obj3
= 0 ;
14255 PyObject
* obj4
= 0 ;
14256 PyObject
* obj5
= 0 ;
14257 PyObject
* obj6
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14265 arg2
= (int const) SWIG_AsInt(obj1
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 arg3
= wxString_in_helper(obj2
);
14269 if (arg3
== NULL
) SWIG_fail
;
14275 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14281 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14285 arg6
= (long) SWIG_AsLong(obj5
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14290 arg7
= wxString_in_helper(obj6
);
14291 if (arg7
== NULL
) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14325 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxMDIParentFrame
*result
;
14328 char *kwnames
[] = {
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14347 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14350 wxWindow
*arg2
= (wxWindow
*) 0 ;
14352 wxString
*arg4
= 0 ;
14353 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14354 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14355 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14356 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14357 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14358 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14359 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14361 bool temp4
= False
;
14364 bool temp8
= False
;
14365 PyObject
* obj0
= 0 ;
14366 PyObject
* obj1
= 0 ;
14367 PyObject
* obj2
= 0 ;
14368 PyObject
* obj3
= 0 ;
14369 PyObject
* obj4
= 0 ;
14370 PyObject
* obj5
= 0 ;
14371 PyObject
* obj6
= 0 ;
14372 PyObject
* obj7
= 0 ;
14373 char *kwnames
[] = {
14374 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14382 arg3
= (int const) SWIG_AsInt(obj2
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 arg4
= wxString_in_helper(obj3
);
14386 if (arg4
== NULL
) SWIG_fail
;
14392 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14398 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14402 arg7
= (long) SWIG_AsLong(obj6
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14407 arg8
= wxString_in_helper(obj7
);
14408 if (arg8
== NULL
) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14444 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14447 PyObject
* obj0
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 (arg1
)->ActivateNext();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 Py_INCREF(Py_None
); resultobj
= Py_None
;
14469 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 (arg1
)->ActivatePrevious();
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 Py_INCREF(Py_None
); resultobj
= Py_None
;
14494 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14497 PyObject
* obj0
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 (arg1
)->ArrangeIcons();
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14512 Py_INCREF(Py_None
); resultobj
= Py_None
;
14519 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
;
14521 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 Py_INCREF(Py_None
); resultobj
= Py_None
;
14544 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14547 wxMDIChildFrame
*result
;
14548 PyObject
* obj0
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= wxPyMake_wxObject(result
);
14572 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14575 wxMDIClientWindow
*result
;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= wxPyMake_wxObject(result
);
14600 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (wxWindow
*)(arg1
)->GetToolBar();
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= wxPyMake_wxObject(result
);
14628 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 Py_INCREF(Py_None
); resultobj
= Py_None
;
14653 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14656 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14658 return Py_BuildValue((char *)"");
14660 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14664 wxString
*arg3
= 0 ;
14665 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14666 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14667 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14668 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14669 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14670 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14671 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14672 wxMDIChildFrame
*result
;
14673 bool temp3
= False
;
14676 bool temp7
= False
;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 PyObject
* obj2
= 0 ;
14680 PyObject
* obj3
= 0 ;
14681 PyObject
* obj4
= 0 ;
14682 PyObject
* obj5
= 0 ;
14683 PyObject
* obj6
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 arg2
= (int const) SWIG_AsInt(obj1
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 arg3
= wxString_in_helper(obj2
);
14695 if (arg3
== NULL
) SWIG_fail
;
14701 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14707 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14711 arg6
= (long) SWIG_AsLong(obj5
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14716 arg7
= wxString_in_helper(obj6
);
14717 if (arg7
== NULL
) SWIG_fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= wxPyMake_wxObject(result
);
14753 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 wxMDIChildFrame
*result
;
14756 char *kwnames
[] = {
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= wxPyMake_wxObject(result
);
14777 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14780 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14782 wxString
*arg4
= 0 ;
14783 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14784 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14785 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14786 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14787 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14788 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14789 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14791 bool temp4
= False
;
14794 bool temp8
= False
;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 PyObject
* obj2
= 0 ;
14798 PyObject
* obj3
= 0 ;
14799 PyObject
* obj4
= 0 ;
14800 PyObject
* obj5
= 0 ;
14801 PyObject
* obj6
= 0 ;
14802 PyObject
* obj7
= 0 ;
14803 char *kwnames
[] = {
14804 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14812 arg3
= (int const) SWIG_AsInt(obj2
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 arg4
= wxString_in_helper(obj3
);
14816 if (arg4
== NULL
) SWIG_fail
;
14822 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14828 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14832 arg7
= (long) SWIG_AsLong(obj6
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14837 arg8
= wxString_in_helper(obj7
);
14838 if (arg8
== NULL
) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14874 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 (arg1
)->Activate();
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 Py_INCREF(Py_None
); resultobj
= Py_None
;
14899 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self",(char *) "maximize", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14912 arg2
= (bool) SWIG_AsBool(obj1
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 (arg1
)->Maximize(arg2
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 Py_INCREF(Py_None
); resultobj
= Py_None
;
14928 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14931 PyObject
* obj0
= 0 ;
14932 char *kwnames
[] = {
14933 (char *) "self", NULL
14936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 Py_INCREF(Py_None
); resultobj
= Py_None
;
14953 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14956 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14958 return Py_BuildValue((char *)"");
14960 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14963 long arg2
= (long) 0 ;
14964 wxMDIClientWindow
*result
;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "parent",(char *) "style", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14975 arg2
= (long) SWIG_AsLong(obj1
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= wxPyMake_wxObject(result
);
14994 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxMDIClientWindow
*result
;
14997 char *kwnames
[] = {
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= wxPyMake_wxObject(result
);
15018 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15021 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15022 long arg3
= (long) 0 ;
15024 PyObject
* obj0
= 0 ;
15025 PyObject
* obj1
= 0 ;
15026 PyObject
* obj2
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self",(char *) "parent",(char *) "style", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15037 arg3
= (long) SWIG_AsLong(obj2
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15056 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15059 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15061 return Py_BuildValue((char *)"");
15063 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
;
15065 wxWindow
*arg1
= (wxWindow
*) 0 ;
15067 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15068 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15069 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15070 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15071 long arg5
= (long) 0 ;
15072 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15073 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15074 wxPyWindow
*result
;
15077 bool temp6
= False
;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 PyObject
* obj2
= 0 ;
15081 PyObject
* obj3
= 0 ;
15082 PyObject
* obj4
= 0 ;
15083 PyObject
* obj5
= 0 ;
15084 char *kwnames
[] = {
15085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15091 arg2
= (int const) SWIG_AsInt(obj1
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15106 arg5
= (long) SWIG_AsLong(obj4
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15111 arg6
= wxString_in_helper(obj5
);
15112 if (arg6
== NULL
) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15138 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
;
15140 wxPyWindow
*result
;
15141 char *kwnames
[] = {
15145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 result
= (wxPyWindow
*)new wxPyWindow();
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15160 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
;
15162 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15163 PyObject
*arg2
= (PyObject
*) 0 ;
15164 PyObject
*arg3
= (PyObject
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 PyObject
* obj2
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "self",(char *) "_class", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 Py_INCREF(Py_None
); resultobj
= Py_None
;
15191 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 PyObject
* obj2
= 0 ;
15201 PyObject
* obj3
= 0 ;
15202 PyObject
* obj4
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15210 arg2
= (int) SWIG_AsInt(obj1
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15212 arg3
= (int) SWIG_AsInt(obj2
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15214 arg4
= (int) SWIG_AsInt(obj3
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15216 arg5
= (int) SWIG_AsInt(obj4
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 Py_INCREF(Py_None
); resultobj
= Py_None
;
15232 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
;
15234 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15239 int arg6
= (int) wxSIZE_AUTO
;
15240 PyObject
* obj0
= 0 ;
15241 PyObject
* obj1
= 0 ;
15242 PyObject
* obj2
= 0 ;
15243 PyObject
* obj3
= 0 ;
15244 PyObject
* obj4
= 0 ;
15245 PyObject
* obj5
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15253 arg2
= (int) SWIG_AsInt(obj1
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15255 arg3
= (int) SWIG_AsInt(obj2
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15257 arg4
= (int) SWIG_AsInt(obj3
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15259 arg5
= (int) SWIG_AsInt(obj4
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 arg6
= (int) SWIG_AsInt(obj5
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 Py_INCREF(Py_None
); resultobj
= Py_None
;
15279 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15284 PyObject
* obj0
= 0 ;
15285 PyObject
* obj1
= 0 ;
15286 PyObject
* obj2
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self",(char *) "width",(char *) "height", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15294 arg2
= (int) SWIG_AsInt(obj1
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15296 arg3
= (int) SWIG_AsInt(obj2
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 Py_INCREF(Py_None
); resultobj
= Py_None
;
15312 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 PyObject
* obj1
= 0 ;
15319 PyObject
* obj2
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self",(char *) "x",(char *) "y", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15327 arg2
= (int) SWIG_AsInt(obj1
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15329 arg3
= (int) SWIG_AsInt(obj2
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 Py_INCREF(Py_None
); resultobj
= Py_None
;
15345 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15347 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15348 int *arg2
= (int *) 0 ;
15349 int *arg3
= (int *) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 Py_INCREF(Py_None
); resultobj
= Py_None
;
15371 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15372 resultobj
= t_output_helper(resultobj
,o
);
15375 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15376 resultobj
= t_output_helper(resultobj
,o
);
15384 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15387 int *arg2
= (int *) 0 ;
15388 int *arg3
= (int *) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 Py_INCREF(Py_None
); resultobj
= Py_None
;
15410 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15411 resultobj
= t_output_helper(resultobj
,o
);
15414 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15415 resultobj
= t_output_helper(resultobj
,o
);
15423 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15426 int *arg2
= (int *) 0 ;
15427 int *arg3
= (int *) 0 ;
15430 PyObject
* obj0
= 0 ;
15431 char *kwnames
[] = {
15432 (char *) "self", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 Py_INCREF(Py_None
); resultobj
= Py_None
;
15449 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15450 resultobj
= t_output_helper(resultobj
,o
);
15453 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15454 resultobj
= t_output_helper(resultobj
,o
);
15462 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15482 wxSize
* resultptr
;
15483 resultptr
= new wxSize((wxSize
&) result
);
15484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15492 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15496 PyObject
* obj0
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15512 wxSize
* resultptr
;
15513 resultptr
= new wxSize((wxSize
&) result
);
15514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15522 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "self", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 (arg1
)->base_InitDialog();
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 Py_INCREF(Py_None
); resultobj
= Py_None
;
15547 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 result
= (bool)(arg1
)->base_TransferDataToWindow();
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15575 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
;
15577 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15603 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15604 PyObject
*resultobj
;
15605 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15607 PyObject
* obj0
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (bool)(arg1
)->base_Validate();
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15631 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15635 PyObject
* obj0
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15659 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15661 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15663 PyObject
* obj0
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "self", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15687 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15707 wxSize
* resultptr
;
15708 resultptr
= new wxSize((wxSize
&) result
);
15709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15717 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15720 wxWindow
*arg2
= (wxWindow
*) 0 ;
15721 PyObject
* obj0
= 0 ;
15722 PyObject
* obj1
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self",(char *) "child", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 (arg1
)->base_AddChild(arg2
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 Py_INCREF(Py_None
); resultobj
= Py_None
;
15746 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
;
15748 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15749 wxWindow
*arg2
= (wxWindow
*) 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self",(char *) "child", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 (arg1
)->base_RemoveChild(arg2
);
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 Py_INCREF(Py_None
); resultobj
= Py_None
;
15775 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15779 PyObject
* obj0
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (bool)(arg1
)->base_ShouldInheritColours();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15803 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15806 wxColour
*arg2
= 0 ;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self",(char *) "c", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15819 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15828 Py_INCREF(Py_None
); resultobj
= Py_None
;
15835 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15838 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15840 return Py_BuildValue((char *)"");
15842 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxWindow
*arg1
= (wxWindow
*) 0 ;
15846 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15847 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15848 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15849 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15850 long arg5
= (long) 0 ;
15851 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15852 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15856 bool temp6
= False
;
15857 PyObject
* obj0
= 0 ;
15858 PyObject
* obj1
= 0 ;
15859 PyObject
* obj2
= 0 ;
15860 PyObject
* obj3
= 0 ;
15861 PyObject
* obj4
= 0 ;
15862 PyObject
* obj5
= 0 ;
15863 char *kwnames
[] = {
15864 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 arg2
= (int const) SWIG_AsInt(obj1
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15875 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15881 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15885 arg5
= (long) SWIG_AsLong(obj4
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15890 arg6
= wxString_in_helper(obj5
);
15891 if (arg6
== NULL
) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15917 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15920 char *kwnames
[] = {
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (wxPyPanel
*)new wxPyPanel();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15939 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15942 PyObject
*arg2
= (PyObject
*) 0 ;
15943 PyObject
*arg3
= (PyObject
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 PyObject
* obj1
= 0 ;
15946 PyObject
* obj2
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self",(char *) "self",(char *) "_class", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 Py_INCREF(Py_None
); resultobj
= Py_None
;
15970 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 PyObject
* obj2
= 0 ;
15980 PyObject
* obj3
= 0 ;
15981 PyObject
* obj4
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15989 arg2
= (int) SWIG_AsInt(obj1
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15991 arg3
= (int) SWIG_AsInt(obj2
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15993 arg4
= (int) SWIG_AsInt(obj3
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15995 arg5
= (int) SWIG_AsInt(obj4
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 Py_INCREF(Py_None
); resultobj
= Py_None
;
16011 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16018 int arg6
= (int) wxSIZE_AUTO
;
16019 PyObject
* obj0
= 0 ;
16020 PyObject
* obj1
= 0 ;
16021 PyObject
* obj2
= 0 ;
16022 PyObject
* obj3
= 0 ;
16023 PyObject
* obj4
= 0 ;
16024 PyObject
* obj5
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16032 arg2
= (int) SWIG_AsInt(obj1
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16034 arg3
= (int) SWIG_AsInt(obj2
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16036 arg4
= (int) SWIG_AsInt(obj3
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16038 arg5
= (int) SWIG_AsInt(obj4
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 arg6
= (int) SWIG_AsInt(obj5
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 Py_INCREF(Py_None
); resultobj
= Py_None
;
16058 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16063 PyObject
* obj0
= 0 ;
16064 PyObject
* obj1
= 0 ;
16065 PyObject
* obj2
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self",(char *) "width",(char *) "height", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16073 arg2
= (int) SWIG_AsInt(obj1
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16075 arg3
= (int) SWIG_AsInt(obj2
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 Py_INCREF(Py_None
); resultobj
= Py_None
;
16091 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16096 PyObject
* obj0
= 0 ;
16097 PyObject
* obj1
= 0 ;
16098 PyObject
* obj2
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self",(char *) "x",(char *) "y", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 arg2
= (int) SWIG_AsInt(obj1
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16108 arg3
= (int) SWIG_AsInt(obj2
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 Py_INCREF(Py_None
); resultobj
= Py_None
;
16124 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16127 int *arg2
= (int *) 0 ;
16128 int *arg3
= (int *) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 Py_INCREF(Py_None
); resultobj
= Py_None
;
16150 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16151 resultobj
= t_output_helper(resultobj
,o
);
16154 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16155 resultobj
= t_output_helper(resultobj
,o
);
16163 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16164 PyObject
*resultobj
;
16165 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16166 int *arg2
= (int *) 0 ;
16167 int *arg3
= (int *) 0 ;
16170 PyObject
* obj0
= 0 ;
16171 char *kwnames
[] = {
16172 (char *) "self", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 Py_INCREF(Py_None
); resultobj
= Py_None
;
16189 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16190 resultobj
= t_output_helper(resultobj
,o
);
16193 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16194 resultobj
= t_output_helper(resultobj
,o
);
16202 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
;
16204 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16205 int *arg2
= (int *) 0 ;
16206 int *arg3
= (int *) 0 ;
16209 PyObject
* obj0
= 0 ;
16210 char *kwnames
[] = {
16211 (char *) "self", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 Py_INCREF(Py_None
); resultobj
= Py_None
;
16228 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16229 resultobj
= t_output_helper(resultobj
,o
);
16232 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16233 resultobj
= t_output_helper(resultobj
,o
);
16241 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16261 wxSize
* resultptr
;
16262 resultptr
= new wxSize((wxSize
&) result
);
16263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16271 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16291 wxSize
* resultptr
;
16292 resultptr
= new wxSize((wxSize
&) result
);
16293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16301 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 (arg1
)->base_InitDialog();
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 Py_INCREF(Py_None
); resultobj
= Py_None
;
16326 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
;
16328 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16330 PyObject
* obj0
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 result
= (bool)(arg1
)->base_TransferDataToWindow();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16354 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 char *kwnames
[] = {
16360 (char *) "self", NULL
16363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16382 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16386 PyObject
* obj0
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 result
= (bool)(arg1
)->base_Validate();
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16410 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16411 PyObject
*resultobj
;
16412 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16414 PyObject
* obj0
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16438 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16466 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16470 PyObject
* obj0
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "self", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16486 wxSize
* resultptr
;
16487 resultptr
= new wxSize((wxSize
&) result
);
16488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16496 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16499 wxWindow
*arg2
= (wxWindow
*) 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self",(char *) "child", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 (arg1
)->base_AddChild(arg2
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16525 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16528 wxWindow
*arg2
= (wxWindow
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self",(char *) "child", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 (arg1
)->base_RemoveChild(arg2
);
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 Py_INCREF(Py_None
); resultobj
= Py_None
;
16554 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
;
16556 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16558 PyObject
* obj0
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 result
= (bool)(arg1
)->base_ShouldInheritColours();
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16582 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16585 wxColour
*arg2
= 0 ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self",(char *) "c", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16598 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 Py_INCREF(Py_None
); resultobj
= Py_None
;
16614 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16617 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16619 return Py_BuildValue((char *)"");
16621 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxWindow
*arg1
= (wxWindow
*) 0 ;
16625 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16626 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16627 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16628 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16629 long arg5
= (long) 0 ;
16630 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16631 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16632 wxPyScrolledWindow
*result
;
16635 bool temp6
= False
;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 PyObject
* obj2
= 0 ;
16639 PyObject
* obj3
= 0 ;
16640 PyObject
* obj4
= 0 ;
16641 PyObject
* obj5
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 arg2
= (int const) SWIG_AsInt(obj1
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16654 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16660 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16664 arg5
= (long) SWIG_AsLong(obj4
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16669 arg6
= wxString_in_helper(obj5
);
16670 if (arg6
== NULL
) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16696 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxPyScrolledWindow
*result
;
16699 char *kwnames
[] = {
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16718 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16720 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16721 PyObject
*arg2
= (PyObject
*) 0 ;
16722 PyObject
*arg3
= (PyObject
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 PyObject
* obj1
= 0 ;
16725 PyObject
* obj2
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self",(char *) "self",(char *) "_class", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 Py_INCREF(Py_None
); resultobj
= Py_None
;
16749 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16756 PyObject
* obj0
= 0 ;
16757 PyObject
* obj1
= 0 ;
16758 PyObject
* obj2
= 0 ;
16759 PyObject
* obj3
= 0 ;
16760 PyObject
* obj4
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16768 arg2
= (int) SWIG_AsInt(obj1
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16770 arg3
= (int) SWIG_AsInt(obj2
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16772 arg4
= (int) SWIG_AsInt(obj3
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16774 arg5
= (int) SWIG_AsInt(obj4
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 Py_INCREF(Py_None
); resultobj
= Py_None
;
16790 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16797 int arg6
= (int) wxSIZE_AUTO
;
16798 PyObject
* obj0
= 0 ;
16799 PyObject
* obj1
= 0 ;
16800 PyObject
* obj2
= 0 ;
16801 PyObject
* obj3
= 0 ;
16802 PyObject
* obj4
= 0 ;
16803 PyObject
* obj5
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16811 arg2
= (int) SWIG_AsInt(obj1
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16813 arg3
= (int) SWIG_AsInt(obj2
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16815 arg4
= (int) SWIG_AsInt(obj3
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16817 arg5
= (int) SWIG_AsInt(obj4
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 arg6
= (int) SWIG_AsInt(obj5
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 Py_INCREF(Py_None
); resultobj
= Py_None
;
16837 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 PyObject
* obj2
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self",(char *) "width",(char *) "height", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16852 arg2
= (int) SWIG_AsInt(obj1
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16854 arg3
= (int) SWIG_AsInt(obj2
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 Py_INCREF(Py_None
); resultobj
= Py_None
;
16870 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 PyObject
* obj2
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self",(char *) "x",(char *) "y", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16885 arg2
= (int) SWIG_AsInt(obj1
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16887 arg3
= (int) SWIG_AsInt(obj2
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 Py_INCREF(Py_None
); resultobj
= Py_None
;
16903 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16906 int *arg2
= (int *) 0 ;
16907 int *arg3
= (int *) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 Py_INCREF(Py_None
); resultobj
= Py_None
;
16929 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16930 resultobj
= t_output_helper(resultobj
,o
);
16933 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16934 resultobj
= t_output_helper(resultobj
,o
);
16942 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16945 int *arg2
= (int *) 0 ;
16946 int *arg3
= (int *) 0 ;
16949 PyObject
* obj0
= 0 ;
16950 char *kwnames
[] = {
16951 (char *) "self", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 Py_INCREF(Py_None
); resultobj
= Py_None
;
16968 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16969 resultobj
= t_output_helper(resultobj
,o
);
16972 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16973 resultobj
= t_output_helper(resultobj
,o
);
16981 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16984 int *arg2
= (int *) 0 ;
16985 int *arg3
= (int *) 0 ;
16988 PyObject
* obj0
= 0 ;
16989 char *kwnames
[] = {
16990 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 Py_INCREF(Py_None
); resultobj
= Py_None
;
17007 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17008 resultobj
= t_output_helper(resultobj
,o
);
17011 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17012 resultobj
= t_output_helper(resultobj
,o
);
17020 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 wxSize
* resultptr
;
17041 resultptr
= new wxSize((wxSize
&) result
);
17042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17050 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 wxSize
* resultptr
;
17071 resultptr
= new wxSize((wxSize
&) result
);
17072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17080 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17083 PyObject
* obj0
= 0 ;
17084 char *kwnames
[] = {
17085 (char *) "self", NULL
17088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 (arg1
)->base_InitDialog();
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17098 Py_INCREF(Py_None
); resultobj
= Py_None
;
17105 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
;
17107 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17109 PyObject
* obj0
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "self", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= (bool)(arg1
)->base_TransferDataToWindow();
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17133 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "self", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17161 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17165 PyObject
* obj0
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (bool)(arg1
)->base_Validate();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17189 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17193 PyObject
* obj0
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17217 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17245 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17249 PyObject
* obj0
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "self", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17265 wxSize
* resultptr
;
17266 resultptr
= new wxSize((wxSize
&) result
);
17267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17275 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17278 wxWindow
*arg2
= (wxWindow
*) 0 ;
17279 PyObject
* obj0
= 0 ;
17280 PyObject
* obj1
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "self",(char *) "child", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 (arg1
)->base_AddChild(arg2
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17297 Py_INCREF(Py_None
); resultobj
= Py_None
;
17304 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
;
17306 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17307 wxWindow
*arg2
= (wxWindow
*) 0 ;
17308 PyObject
* obj0
= 0 ;
17309 PyObject
* obj1
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self",(char *) "child", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 (arg1
)->base_RemoveChild(arg2
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 Py_INCREF(Py_None
); resultobj
= Py_None
;
17333 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "self", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (bool)(arg1
)->base_ShouldInheritColours();
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17361 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17364 wxColour
*arg2
= 0 ;
17366 PyObject
* obj0
= 0 ;
17367 PyObject
* obj1
= 0 ;
17368 char *kwnames
[] = {
17369 (char *) "self",(char *) "c", NULL
17372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17377 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 Py_INCREF(Py_None
); resultobj
= Py_None
;
17393 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17396 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17398 return Py_BuildValue((char *)"");
17400 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17401 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17406 static PyObject
*_wrap_PrintoutTitleStr_get() {
17411 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17413 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17420 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17421 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17426 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17431 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17433 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17440 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
;
17442 wxPrintData
*result
;
17443 char *kwnames
[] = {
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 result
= (wxPrintData
*)new wxPrintData();
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17462 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17465 PyObject
* obj0
= 0 ;
17466 char *kwnames
[] = {
17467 (char *) "self", NULL
17470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 Py_INCREF(Py_None
); resultobj
= Py_None
;
17487 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "self", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= (int)(arg1
)->GetNoCopies();
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= SWIG_FromInt((int)result
);
17513 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17517 PyObject
* obj0
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 result
= (bool)(arg1
)->GetCollate();
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17541 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (int)(arg1
)->GetOrientation();
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= SWIG_FromInt((int)result
);
17567 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (bool)(arg1
)->Ok();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17595 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17599 PyObject
* obj0
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17611 result
= (wxString
*) &_result_ref
;
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17619 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17621 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17630 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17632 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17634 PyObject
* obj0
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= (bool)(arg1
)->GetColour();
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17658 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
;
17660 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17662 PyObject
* obj0
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "self", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 result
= (int)(arg1
)->GetDuplex();
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= SWIG_FromInt((int)result
);
17684 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17688 PyObject
* obj0
= 0 ;
17689 char *kwnames
[] = {
17690 (char *) "self", NULL
17693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= (int)(arg1
)->GetPaperId();
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17703 resultobj
= SWIG_FromInt((int)result
);
17710 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17714 PyObject
* obj0
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17726 result
= (wxSize
*) &_result_ref
;
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17739 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17743 PyObject
* obj0
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (int)(arg1
)->GetQuality();
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= SWIG_FromInt((int)result
);
17765 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17769 PyObject
* obj0
= 0 ;
17770 PyObject
* obj1
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self",(char *) "v", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17778 arg2
= (int) SWIG_AsInt(obj1
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 (arg1
)->SetNoCopies(arg2
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 Py_INCREF(Py_None
); resultobj
= Py_None
;
17794 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self",(char *) "flag", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17807 arg2
= (bool) SWIG_AsBool(obj1
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 (arg1
)->SetCollate(arg2
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 Py_INCREF(Py_None
); resultobj
= Py_None
;
17823 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17827 PyObject
* obj0
= 0 ;
17828 PyObject
* obj1
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self",(char *) "orient", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17836 arg2
= (int) SWIG_AsInt(obj1
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 (arg1
)->SetOrientation(arg2
);
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17845 Py_INCREF(Py_None
); resultobj
= Py_None
;
17852 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
;
17854 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17855 wxString
*arg2
= 0 ;
17856 bool temp2
= False
;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 char *kwnames
[] = {
17860 (char *) "self",(char *) "name", NULL
17863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17867 arg2
= wxString_in_helper(obj1
);
17868 if (arg2
== NULL
) SWIG_fail
;
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 Py_INCREF(Py_None
); resultobj
= Py_None
;
17893 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 PyObject
* obj1
= 0 ;
17899 char *kwnames
[] = {
17900 (char *) "self",(char *) "colour", NULL
17903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17906 arg2
= (bool) SWIG_AsBool(obj1
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 (arg1
)->SetColour(arg2
);
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 Py_INCREF(Py_None
); resultobj
= Py_None
;
17922 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
;
17924 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "self",(char *) "duplex", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
17933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17935 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 Py_INCREF(Py_None
); resultobj
= Py_None
;
17951 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17955 PyObject
* obj0
= 0 ;
17956 PyObject
* obj1
= 0 ;
17957 char *kwnames
[] = {
17958 (char *) "self",(char *) "sizeId", NULL
17961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17964 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 Py_INCREF(Py_None
); resultobj
= Py_None
;
17980 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 PyObject
* obj1
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self",(char *) "sz", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17996 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 Py_INCREF(Py_None
); resultobj
= Py_None
;
18012 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self",(char *) "quality", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18025 arg2
= (int) SWIG_AsInt(obj1
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 (arg1
)->SetQuality(arg2
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 Py_INCREF(Py_None
); resultobj
= Py_None
;
18041 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
;
18043 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18045 PyObject
* obj0
= 0 ;
18046 char *kwnames
[] = {
18047 (char *) "self", NULL
18050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18057 result
= (wxString
*) &_result_ref
;
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18065 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18067 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18076 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18092 result
= (wxString
*) &_result_ref
;
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18102 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18111 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 char *kwnames
[] = {
18117 (char *) "self", NULL
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18127 result
= (wxString
*) &_result_ref
;
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18135 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18137 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18146 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 wxString
const &_result_ref
= (arg1
)->GetFilename();
18162 result
= (wxString
*) &_result_ref
;
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18172 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18181 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18185 PyObject
* obj0
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "self", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18197 result
= (wxString
*) &_result_ref
;
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18207 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18216 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18220 PyObject
* obj0
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 result
= (double)(arg1
)->GetPrinterScaleX();
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= SWIG_FromDouble((double)result
);
18242 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 char *kwnames
[] = {
18248 (char *) "self", NULL
18251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 result
= (double)(arg1
)->GetPrinterScaleY();
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 resultobj
= SWIG_FromDouble((double)result
);
18268 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 result
= (long)(arg1
)->GetPrinterTranslateX();
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= SWIG_FromLong((long)result
);
18294 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18298 PyObject
* obj0
= 0 ;
18299 char *kwnames
[] = {
18300 (char *) "self", NULL
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (long)(arg1
)->GetPrinterTranslateY();
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= SWIG_FromLong((long)result
);
18320 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
;
18322 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18324 PyObject
* obj0
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (int)(arg1
)->GetPrintMode();
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_FromInt((int)result
);
18346 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18349 wxString
*arg2
= 0 ;
18350 bool temp2
= False
;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self",(char *) "command", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18361 arg2
= wxString_in_helper(obj1
);
18362 if (arg2
== NULL
) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 Py_INCREF(Py_None
); resultobj
= Py_None
;
18387 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18390 wxString
*arg2
= 0 ;
18391 bool temp2
= False
;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self",(char *) "options", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18402 arg2
= wxString_in_helper(obj1
);
18403 if (arg2
== NULL
) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 Py_INCREF(Py_None
); resultobj
= Py_None
;
18428 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18431 wxString
*arg2
= 0 ;
18432 bool temp2
= False
;
18433 PyObject
* obj0
= 0 ;
18434 PyObject
* obj1
= 0 ;
18435 char *kwnames
[] = {
18436 (char *) "self",(char *) "command", NULL
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18443 arg2
= wxString_in_helper(obj1
);
18444 if (arg2
== NULL
) SWIG_fail
;
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 Py_INCREF(Py_None
); resultobj
= Py_None
;
18469 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18472 wxString
*arg2
= 0 ;
18473 bool temp2
= False
;
18474 PyObject
* obj0
= 0 ;
18475 PyObject
* obj1
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "self",(char *) "filename", NULL
18480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18484 arg2
= wxString_in_helper(obj1
);
18485 if (arg2
== NULL
) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 (arg1
)->SetFilename((wxString
const &)*arg2
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 Py_INCREF(Py_None
); resultobj
= Py_None
;
18510 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18513 wxString
*arg2
= 0 ;
18514 bool temp2
= False
;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "path", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18525 arg2
= wxString_in_helper(obj1
);
18526 if (arg2
== NULL
) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 Py_INCREF(Py_None
); resultobj
= Py_None
;
18551 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self",(char *) "x", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18564 arg2
= (double) SWIG_AsDouble(obj1
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 (arg1
)->SetPrinterScaleX(arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 Py_INCREF(Py_None
); resultobj
= Py_None
;
18580 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "y", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18593 arg2
= (double) SWIG_AsDouble(obj1
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->SetPrinterScaleY(arg2
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 Py_INCREF(Py_None
); resultobj
= Py_None
;
18609 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 PyObject
* obj2
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self",(char *) "x",(char *) "y", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18624 arg2
= (double) SWIG_AsDouble(obj1
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18626 arg3
= (double) SWIG_AsDouble(obj2
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 Py_INCREF(Py_None
); resultobj
= Py_None
;
18642 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18646 PyObject
* obj0
= 0 ;
18647 PyObject
* obj1
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self",(char *) "x", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18655 arg2
= (long) SWIG_AsLong(obj1
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 (arg1
)->SetPrinterTranslateX(arg2
);
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18664 Py_INCREF(Py_None
); resultobj
= Py_None
;
18671 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18675 PyObject
* obj0
= 0 ;
18676 PyObject
* obj1
= 0 ;
18677 char *kwnames
[] = {
18678 (char *) "self",(char *) "y", NULL
18681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18684 arg2
= (long) SWIG_AsLong(obj1
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 (arg1
)->SetPrinterTranslateY(arg2
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 Py_INCREF(Py_None
); resultobj
= Py_None
;
18700 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18705 PyObject
* obj0
= 0 ;
18706 PyObject
* obj1
= 0 ;
18707 PyObject
* obj2
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self",(char *) "x",(char *) "y", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18715 arg2
= (long) SWIG_AsLong(obj1
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18717 arg3
= (long) SWIG_AsLong(obj2
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 Py_INCREF(Py_None
); resultobj
= Py_None
;
18733 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self",(char *) "printMode", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18746 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 Py_INCREF(Py_None
); resultobj
= Py_None
;
18762 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18765 wxOutputStream
*result
;
18766 PyObject
* obj0
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18788 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18791 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self",(char *) "outputstream", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->SetOutputStream(arg2
);
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 Py_INCREF(Py_None
); resultobj
= Py_None
;
18817 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
18819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18820 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18822 return Py_BuildValue((char *)"");
18824 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 wxPageSetupDialogData
*result
;
18827 char *kwnames
[] = {
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18846 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 Py_INCREF(Py_None
); resultobj
= Py_None
;
18871 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 PyObject
* obj1
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self",(char *) "flag", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18884 arg2
= (bool) SWIG_AsBool(obj1
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 (arg1
)->EnableHelp(arg2
);
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 Py_INCREF(Py_None
); resultobj
= Py_None
;
18900 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self",(char *) "flag", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18913 arg2
= (bool) SWIG_AsBool(obj1
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 (arg1
)->EnableMargins(arg2
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 Py_INCREF(Py_None
); resultobj
= Py_None
;
18929 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
;
18931 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18933 PyObject
* obj0
= 0 ;
18934 PyObject
* obj1
= 0 ;
18935 char *kwnames
[] = {
18936 (char *) "self",(char *) "flag", NULL
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18942 arg2
= (bool) SWIG_AsBool(obj1
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 (arg1
)->EnableOrientation(arg2
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self",(char *) "flag", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 arg2
= (bool) SWIG_AsBool(obj1
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 (arg1
)->EnablePaper(arg2
);
18977 wxPyEndAllowThreads(__tstate
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 Py_INCREF(Py_None
); resultobj
= Py_None
;
18987 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 char *kwnames
[] = {
18994 (char *) "self",(char *) "flag", NULL
18997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
18998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19000 arg2
= (bool) SWIG_AsBool(obj1
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 (arg1
)->EnablePrinter(arg2
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 Py_INCREF(Py_None
); resultobj
= Py_None
;
19016 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (bool)(arg1
)->GetDefaultMinMargins();
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19044 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 result
= (bool)(arg1
)->GetEnableMargins();
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19072 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 result
= (bool)(arg1
)->GetEnableOrientation();
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19100 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (bool)(arg1
)->GetEnablePaper();
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19128 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 result
= (bool)(arg1
)->GetEnablePrinter();
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19156 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "self", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 result
= (bool)(arg1
)->GetEnableHelp();
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19184 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
;
19186 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19188 PyObject
* obj0
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 result
= (bool)(arg1
)->GetDefaultInfo();
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19212 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19216 PyObject
* obj0
= 0 ;
19217 char *kwnames
[] = {
19218 (char *) "self", NULL
19221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 result
= (arg1
)->GetMarginTopLeft();
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19232 wxPoint
* resultptr
;
19233 resultptr
= new wxPoint((wxPoint
&) result
);
19234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19242 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19246 PyObject
* obj0
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "self", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (arg1
)->GetMarginBottomRight();
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19262 wxPoint
* resultptr
;
19263 resultptr
= new wxPoint((wxPoint
&) result
);
19264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19272 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19276 PyObject
* obj0
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 result
= (arg1
)->GetMinMarginTopLeft();
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19292 wxPoint
* resultptr
;
19293 resultptr
= new wxPoint((wxPoint
&) result
);
19294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19302 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= (arg1
)->GetMinMarginBottomRight();
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19322 wxPoint
* resultptr
;
19323 resultptr
= new wxPoint((wxPoint
&) result
);
19324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19332 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19336 PyObject
* obj0
= 0 ;
19337 char *kwnames
[] = {
19338 (char *) "self", NULL
19341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 result
= (int)(arg1
)->GetPaperId();
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= SWIG_FromInt((int)result
);
19358 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= (arg1
)->GetPaperSize();
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19378 wxSize
* resultptr
;
19379 resultptr
= new wxSize((wxSize
&) result
);
19380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19388 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19391 wxPrintData
*result
;
19392 PyObject
* obj0
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19404 result
= (wxPrintData
*) &_result_ref
;
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19417 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 result
= (bool)(arg1
)->Ok();
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19445 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19447 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self",(char *) "flag", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19458 arg2
= (bool) SWIG_AsBool(obj1
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 (arg1
)->SetDefaultInfo(arg2
);
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19467 Py_INCREF(Py_None
); resultobj
= Py_None
;
19474 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
;
19476 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19478 PyObject
* obj0
= 0 ;
19479 PyObject
* obj1
= 0 ;
19480 char *kwnames
[] = {
19481 (char *) "self",(char *) "flag", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19487 arg2
= (bool) SWIG_AsBool(obj1
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 (arg1
)->SetDefaultMinMargins(arg2
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 Py_INCREF(Py_None
); resultobj
= Py_None
;
19503 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19506 wxPoint
*arg2
= 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "pt", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19519 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 Py_INCREF(Py_None
); resultobj
= Py_None
;
19535 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19538 wxPoint
*arg2
= 0 ;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self",(char *) "pt", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 Py_INCREF(Py_None
); resultobj
= Py_None
;
19567 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19570 wxPoint
*arg2
= 0 ;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self",(char *) "pt", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19583 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 Py_INCREF(Py_None
); resultobj
= Py_None
;
19599 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19602 wxPoint
*arg2
= 0 ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self",(char *) "pt", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 Py_INCREF(Py_None
); resultobj
= Py_None
;
19631 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self",(char *) "id", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19644 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 Py_INCREF(Py_None
); resultobj
= Py_None
;
19660 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19665 PyObject
* obj0
= 0 ;
19666 PyObject
* obj1
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self",(char *) "size", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19676 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 Py_INCREF(Py_None
); resultobj
= Py_None
;
19692 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19695 wxPrintData
*arg2
= 0 ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "self",(char *) "printData", NULL
19702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19708 if (arg2
== NULL
) {
19709 PyErr_SetString(PyExc_TypeError
,"null reference");
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 Py_INCREF(Py_None
); resultobj
= Py_None
;
19726 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19729 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19731 return Py_BuildValue((char *)"");
19733 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxWindow
*arg1
= (wxWindow
*) 0 ;
19736 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19737 wxPageSetupDialog
*result
;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "parent",(char *) "data", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19765 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19768 wxPageSetupDialogData
*result
;
19769 PyObject
* obj0
= 0 ;
19770 char *kwnames
[] = {
19771 (char *) "self", NULL
19774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19781 result
= (wxPageSetupDialogData
*) &_result_ref
;
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19794 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19798 PyObject
* obj0
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (int)(arg1
)->ShowModal();
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= SWIG_FromInt((int)result
);
19820 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19823 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19825 return Py_BuildValue((char *)"");
19827 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19828 PyObject
*resultobj
;
19829 wxPrintDialogData
*result
;
19831 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19846 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19847 PyObject
*resultobj
;
19848 wxPrintData
*arg1
= 0 ;
19849 wxPrintDialogData
*result
;
19850 PyObject
* obj0
= 0 ;
19852 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19856 if (arg1
== NULL
) {
19857 PyErr_SetString(PyExc_TypeError
,"null reference");
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19874 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19879 argc
= PyObject_Length(args
);
19880 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19881 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19884 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19890 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
19898 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
19902 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
19907 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
;
19909 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 Py_INCREF(Py_None
); resultobj
= Py_None
;
19932 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19936 PyObject
* obj0
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= SWIG_FromInt((int)result
);
19958 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19962 PyObject
* obj0
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= SWIG_FromInt((int)result
);
19984 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19988 PyObject
* obj0
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_FromInt((int)result
);
20010 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 char *kwnames
[] = {
20016 (char *) "self", NULL
20019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_FromInt((int)result
);
20036 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20040 PyObject
* obj0
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_FromInt((int)result
);
20062 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20090 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "self", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20118 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
;
20120 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20122 PyObject
* obj0
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20132 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20134 wxPyEndAllowThreads(__tstate
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20146 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20147 PyObject
*resultobj
;
20148 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20150 PyObject
* obj0
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20174 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
;
20176 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20178 PyObject
* obj0
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20202 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self",(char *) "v", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20215 arg2
= (int) SWIG_AsInt(obj1
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 (arg1
)->SetFromPage(arg2
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 Py_INCREF(Py_None
); resultobj
= Py_None
;
20231 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 PyObject
* obj1
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self",(char *) "v", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 arg2
= (int) SWIG_AsInt(obj1
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 (arg1
)->SetToPage(arg2
);
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 Py_INCREF(Py_None
); resultobj
= Py_None
;
20260 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20264 PyObject
* obj0
= 0 ;
20265 PyObject
* obj1
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self",(char *) "v", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20273 arg2
= (int) SWIG_AsInt(obj1
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 (arg1
)->SetMinPage(arg2
);
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 Py_INCREF(Py_None
); resultobj
= Py_None
;
20289 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self",(char *) "v", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 arg2
= (int) SWIG_AsInt(obj1
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->SetMaxPage(arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 Py_INCREF(Py_None
); resultobj
= Py_None
;
20318 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 PyObject
* obj1
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self",(char *) "v", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 arg2
= (int) SWIG_AsInt(obj1
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 (arg1
)->SetNoCopies(arg2
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 Py_INCREF(Py_None
); resultobj
= Py_None
;
20347 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self",(char *) "flag", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20360 arg2
= (bool) SWIG_AsBool(obj1
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 (arg1
)->SetAllPages(arg2
);
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20369 Py_INCREF(Py_None
); resultobj
= Py_None
;
20376 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self",(char *) "flag", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20389 arg2
= (bool) SWIG_AsBool(obj1
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 (arg1
)->SetSelection(arg2
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 Py_INCREF(Py_None
); resultobj
= Py_None
;
20405 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20409 PyObject
* obj0
= 0 ;
20410 PyObject
* obj1
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self",(char *) "flag", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 arg2
= (bool) SWIG_AsBool(obj1
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 (arg1
)->SetCollate(arg2
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 Py_INCREF(Py_None
); resultobj
= Py_None
;
20434 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self",(char *) "flag", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20447 arg2
= (bool) SWIG_AsBool(obj1
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 (arg1
)->SetPrintToFile(arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 Py_INCREF(Py_None
); resultobj
= Py_None
;
20463 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20469 char *kwnames
[] = {
20470 (char *) "self",(char *) "flag", NULL
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20476 arg2
= (bool) SWIG_AsBool(obj1
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 (arg1
)->SetSetupDialog(arg2
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 Py_INCREF(Py_None
); resultobj
= Py_None
;
20492 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 char *kwnames
[] = {
20499 (char *) "self",(char *) "flag", NULL
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20505 arg2
= (bool) SWIG_AsBool(obj1
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 (arg1
)->EnablePrintToFile(arg2
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 Py_INCREF(Py_None
); resultobj
= Py_None
;
20521 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
;
20523 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20525 PyObject
* obj0
= 0 ;
20526 PyObject
* obj1
= 0 ;
20527 char *kwnames
[] = {
20528 (char *) "self",(char *) "flag", NULL
20531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20534 arg2
= (bool) SWIG_AsBool(obj1
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 (arg1
)->EnableSelection(arg2
);
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 Py_INCREF(Py_None
); resultobj
= Py_None
;
20550 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self",(char *) "flag", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20563 arg2
= (bool) SWIG_AsBool(obj1
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 (arg1
)->EnablePageNumbers(arg2
);
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20572 Py_INCREF(Py_None
); resultobj
= Py_None
;
20579 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self",(char *) "flag", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20592 arg2
= (bool) SWIG_AsBool(obj1
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 (arg1
)->EnableHelp(arg2
);
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 Py_INCREF(Py_None
); resultobj
= Py_None
;
20608 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
;
20610 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20612 PyObject
* obj0
= 0 ;
20613 char *kwnames
[] = {
20614 (char *) "self", NULL
20617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20624 wxPyEndAllowThreads(__tstate
);
20625 if (PyErr_Occurred()) SWIG_fail
;
20628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20636 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 char *kwnames
[] = {
20642 (char *) "self", NULL
20645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20664 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20668 PyObject
* obj0
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20692 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20696 PyObject
* obj0
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20720 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20748 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20751 wxPrintData
*result
;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20764 result
= (wxPrintData
*) &_result_ref
;
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20777 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20780 wxPrintData
*arg2
= 0 ;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 char *kwnames
[] = {
20784 (char *) "self",(char *) "printData", NULL
20787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20793 if (arg2
== NULL
) {
20794 PyErr_SetString(PyExc_TypeError
,"null reference");
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 Py_INCREF(Py_None
); resultobj
= Py_None
;
20811 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20814 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20816 return Py_BuildValue((char *)"");
20818 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20820 wxWindow
*arg1
= (wxWindow
*) 0 ;
20821 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20822 wxPrintDialog
*result
;
20823 PyObject
* obj0
= 0 ;
20824 PyObject
* obj1
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "parent",(char *) "data", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20850 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
;
20852 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20853 wxPrintDialogData
*result
;
20854 PyObject
* obj0
= 0 ;
20855 char *kwnames
[] = {
20856 (char *) "self", NULL
20859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20866 result
= (wxPrintDialogData
*) &_result_ref
;
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20879 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
;
20881 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20883 PyObject
* obj0
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (wxDC
*)(arg1
)->GetPrintDC();
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= wxPyMake_wxObject(result
);
20907 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20911 PyObject
* obj0
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (int)(arg1
)->ShowModal();
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= SWIG_FromInt((int)result
);
20933 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20936 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
20938 return Py_BuildValue((char *)"");
20940 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
;
20942 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20944 PyObject
* obj0
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "data", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (wxPrinter
*)new wxPrinter(arg1
);
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20968 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20971 PyObject
* obj0
= 0 ;
20972 char *kwnames
[] = {
20973 (char *) "self", NULL
20976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 wxPyEndAllowThreads(__tstate
);
20984 if (PyErr_Occurred()) SWIG_fail
;
20986 Py_INCREF(Py_None
); resultobj
= Py_None
;
20993 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
;
20995 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20996 wxWindow
*arg2
= (wxWindow
*) 0 ;
20997 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 PyObject
* obj1
= 0 ;
21000 PyObject
* obj2
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "parent",(char *) "printout", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21010 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 Py_INCREF(Py_None
); resultobj
= Py_None
;
21026 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21029 wxPrintDialogData
*result
;
21030 PyObject
* obj0
= 0 ;
21031 char *kwnames
[] = {
21032 (char *) "self", NULL
21035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21042 result
= (wxPrintDialogData
*) &_result_ref
;
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21055 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21058 wxWindow
*arg2
= (wxWindow
*) 0 ;
21059 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21060 int arg4
= (int) True
;
21062 PyObject
* obj0
= 0 ;
21063 PyObject
* obj1
= 0 ;
21064 PyObject
* obj2
= 0 ;
21065 PyObject
* obj3
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21075 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21078 arg4
= (int) SWIG_AsInt(obj3
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21097 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21099 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21100 wxWindow
*arg2
= (wxWindow
*) 0 ;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 char *kwnames
[] = {
21105 (char *) "self",(char *) "parent", NULL
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= wxPyMake_wxObject(result
);
21129 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21132 wxWindow
*arg2
= (wxWindow
*) 0 ;
21133 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21134 wxString
*arg4
= 0 ;
21135 bool temp4
= False
;
21136 PyObject
* obj0
= 0 ;
21137 PyObject
* obj1
= 0 ;
21138 PyObject
* obj2
= 0 ;
21139 PyObject
* obj3
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21149 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21152 arg4
= wxString_in_helper(obj3
);
21153 if (arg4
== NULL
) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 Py_INCREF(Py_None
); resultobj
= Py_None
;
21178 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21181 wxWindow
*arg2
= (wxWindow
*) 0 ;
21183 PyObject
* obj0
= 0 ;
21184 PyObject
* obj1
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "self",(char *) "parent", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 result
= (bool)(arg1
)->Setup(arg2
);
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21210 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
;
21212 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21214 PyObject
* obj0
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (bool)(arg1
)->GetAbort();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21238 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21241 char *kwnames
[] = {
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (int)wxPrinter::GetLastError();
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 resultobj
= SWIG_FromInt((int)result
);
21260 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21263 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21265 return Py_BuildValue((char *)"");
21267 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21270 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21271 wxPyPrintout
*result
;
21272 bool temp1
= False
;
21273 PyObject
* obj0
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "title", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21281 arg1
= wxString_in_helper(obj0
);
21282 if (arg1
== NULL
) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21294 resultobj
= wxPyMake_wxObject(result
);
21310 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21313 PyObject
*arg2
= (PyObject
*) 0 ;
21314 PyObject
*arg3
= (PyObject
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 PyObject
* obj2
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self",(char *) "self",(char *) "_class", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21329 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21334 Py_INCREF(Py_None
); resultobj
= Py_None
;
21341 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
;
21343 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21345 PyObject
* obj0
= 0 ;
21346 char *kwnames
[] = {
21347 (char *) "self", NULL
21350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21373 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21377 PyObject
* obj0
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "self", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 result
= (wxDC
*)(arg1
)->GetDC();
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21393 resultobj
= wxPyMake_wxObject(result
);
21401 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21403 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21404 wxDC
*arg2
= (wxDC
*) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "dc", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 (arg1
)->SetDC(arg2
);
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 Py_INCREF(Py_None
); resultobj
= Py_None
;
21430 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21435 PyObject
* obj0
= 0 ;
21436 PyObject
* obj1
= 0 ;
21437 PyObject
* obj2
= 0 ;
21438 char *kwnames
[] = {
21439 (char *) "self",(char *) "w",(char *) "h", NULL
21442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21445 arg2
= (int) SWIG_AsInt(obj1
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21447 arg3
= (int) SWIG_AsInt(obj2
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 Py_INCREF(Py_None
); resultobj
= Py_None
;
21463 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21466 int *arg2
= (int *) 0 ;
21467 int *arg3
= (int *) 0 ;
21470 PyObject
* obj0
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 Py_INCREF(Py_None
); resultobj
= Py_None
;
21489 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21490 resultobj
= t_output_helper(resultobj
,o
);
21493 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21494 resultobj
= t_output_helper(resultobj
,o
);
21502 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21507 PyObject
* obj0
= 0 ;
21508 PyObject
* obj1
= 0 ;
21509 PyObject
* obj2
= 0 ;
21510 char *kwnames
[] = {
21511 (char *) "self",(char *) "w",(char *) "h", NULL
21514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21517 arg2
= (int) SWIG_AsInt(obj1
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21519 arg3
= (int) SWIG_AsInt(obj2
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 Py_INCREF(Py_None
); resultobj
= Py_None
;
21535 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21538 int *arg2
= (int *) 0 ;
21539 int *arg3
= (int *) 0 ;
21542 PyObject
* obj0
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 Py_INCREF(Py_None
); resultobj
= Py_None
;
21561 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21562 resultobj
= t_output_helper(resultobj
,o
);
21565 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21566 resultobj
= t_output_helper(resultobj
,o
);
21574 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21579 PyObject
* obj0
= 0 ;
21580 PyObject
* obj1
= 0 ;
21581 PyObject
* obj2
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "self",(char *) "x",(char *) "y", NULL
21586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21589 arg2
= (int) SWIG_AsInt(obj1
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21591 arg3
= (int) SWIG_AsInt(obj2
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 (arg1
)->SetPPIScreen(arg2
,arg3
);
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 Py_INCREF(Py_None
); resultobj
= Py_None
;
21607 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21610 int *arg2
= (int *) 0 ;
21611 int *arg3
= (int *) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 (arg1
)->GetPPIScreen(arg2
,arg3
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 Py_INCREF(Py_None
); resultobj
= Py_None
;
21633 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21634 resultobj
= t_output_helper(resultobj
,o
);
21637 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21638 resultobj
= t_output_helper(resultobj
,o
);
21646 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 PyObject
* obj2
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self",(char *) "x",(char *) "y", NULL
21658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21661 arg2
= (int) SWIG_AsInt(obj1
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21663 arg3
= (int) SWIG_AsInt(obj2
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 Py_INCREF(Py_None
); resultobj
= Py_None
;
21679 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21682 int *arg2
= (int *) 0 ;
21683 int *arg3
= (int *) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self", NULL
21693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 Py_INCREF(Py_None
); resultobj
= Py_None
;
21705 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21706 resultobj
= t_output_helper(resultobj
,o
);
21709 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21710 resultobj
= t_output_helper(resultobj
,o
);
21718 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 result
= (bool)(arg1
)->IsPreview();
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21746 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "p", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21759 arg2
= (bool) SWIG_AsBool(obj1
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 (arg1
)->SetIsPreview(arg2
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 Py_INCREF(Py_None
); resultobj
= Py_None
;
21775 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 PyObject
* obj2
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 arg2
= (int) SWIG_AsInt(obj1
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21793 arg3
= (int) SWIG_AsInt(obj2
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21811 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
;
21813 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21814 PyObject
* obj0
= 0 ;
21815 char *kwnames
[] = {
21816 (char *) "self", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 (arg1
)->base_OnEndDocument();
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 Py_INCREF(Py_None
); resultobj
= Py_None
;
21836 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21839 PyObject
* obj0
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "self", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 (arg1
)->base_OnBeginPrinting();
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 Py_INCREF(Py_None
); resultobj
= Py_None
;
21861 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21864 PyObject
* obj0
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 (arg1
)->base_OnEndPrinting();
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21879 Py_INCREF(Py_None
); resultobj
= Py_None
;
21886 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
;
21888 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
21895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 (arg1
)->base_OnPreparePrinting();
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 Py_INCREF(Py_None
); resultobj
= Py_None
;
21911 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
;
21913 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21916 PyObject
* obj0
= 0 ;
21917 PyObject
* obj1
= 0 ;
21918 char *kwnames
[] = {
21919 (char *) "self",(char *) "page", NULL
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 arg2
= (int) SWIG_AsInt(obj1
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= (bool)(arg1
)->base_HasPage(arg2
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21943 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21946 int *arg2
= (int *) 0 ;
21947 int *arg3
= (int *) 0 ;
21948 int *arg4
= (int *) 0 ;
21949 int *arg5
= (int *) 0 ;
21954 PyObject
* obj0
= 0 ;
21955 char *kwnames
[] = {
21956 (char *) "self", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21973 Py_INCREF(Py_None
); resultobj
= Py_None
;
21975 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21976 resultobj
= t_output_helper(resultobj
,o
);
21979 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21980 resultobj
= t_output_helper(resultobj
,o
);
21983 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21984 resultobj
= t_output_helper(resultobj
,o
);
21987 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21988 resultobj
= t_output_helper(resultobj
,o
);
21996 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
21998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21999 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22001 return Py_BuildValue((char *)"");
22003 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22004 PyObject
*resultobj
;
22005 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22006 wxWindow
*arg2
= (wxWindow
*) 0 ;
22007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22011 long arg5
= (long) 0 ;
22012 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22013 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22014 wxPreviewCanvas
*result
;
22017 bool temp6
= False
;
22018 PyObject
* obj0
= 0 ;
22019 PyObject
* obj1
= 0 ;
22020 PyObject
* obj2
= 0 ;
22021 PyObject
* obj3
= 0 ;
22022 PyObject
* obj4
= 0 ;
22023 PyObject
* obj5
= 0 ;
22024 char *kwnames
[] = {
22025 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22042 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22046 arg5
= (long) SWIG_AsLong(obj4
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22051 arg6
= wxString_in_helper(obj5
);
22052 if (arg6
== NULL
) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22078 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22081 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22083 return Py_BuildValue((char *)"");
22085 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22087 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22088 wxFrame
*arg2
= (wxFrame
*) 0 ;
22089 wxString
*arg3
= 0 ;
22090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22094 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22095 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22096 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22097 wxPreviewFrame
*result
;
22098 bool temp3
= False
;
22101 bool temp7
= False
;
22102 PyObject
* obj0
= 0 ;
22103 PyObject
* obj1
= 0 ;
22104 PyObject
* obj2
= 0 ;
22105 PyObject
* obj3
= 0 ;
22106 PyObject
* obj4
= 0 ;
22107 PyObject
* obj5
= 0 ;
22108 PyObject
* obj6
= 0 ;
22109 char *kwnames
[] = {
22110 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22119 arg3
= wxString_in_helper(obj2
);
22120 if (arg3
== NULL
) SWIG_fail
;
22126 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22132 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22136 arg6
= (long) SWIG_AsLong(obj5
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22141 arg7
= wxString_in_helper(obj6
);
22142 if (arg7
== NULL
) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22176 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 (arg1
)->Initialize();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 Py_INCREF(Py_None
); resultobj
= Py_None
;
22201 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 (arg1
)->CreateControlBar();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 Py_INCREF(Py_None
); resultobj
= Py_None
;
22226 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22229 PyObject
* obj0
= 0 ;
22230 char *kwnames
[] = {
22231 (char *) "self", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 (arg1
)->CreateCanvas();
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 Py_INCREF(Py_None
); resultobj
= Py_None
;
22251 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22254 wxPreviewControlBar
*result
;
22255 PyObject
* obj0
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22277 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22280 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22282 return Py_BuildValue((char *)"");
22284 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
;
22286 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22288 wxWindow
*arg3
= (wxWindow
*) 0 ;
22289 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22290 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22291 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22292 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22293 long arg6
= (long) wxTAB_TRAVERSAL
;
22294 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22295 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22296 wxPreviewControlBar
*result
;
22299 bool temp7
= False
;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 PyObject
* obj2
= 0 ;
22303 PyObject
* obj3
= 0 ;
22304 PyObject
* obj4
= 0 ;
22305 PyObject
* obj5
= 0 ;
22306 PyObject
* obj6
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 arg2
= (long) SWIG_AsLong(obj1
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22316 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22321 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22327 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22331 arg6
= (long) SWIG_AsLong(obj5
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22336 arg7
= wxString_in_helper(obj6
);
22337 if (arg7
== NULL
) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22363 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
;
22365 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22367 PyObject
* obj0
= 0 ;
22368 char *kwnames
[] = {
22369 (char *) "self", NULL
22372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= (int)(arg1
)->GetZoomControl();
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= SWIG_FromInt((int)result
);
22389 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
;
22391 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "zoom", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22402 arg2
= (int) SWIG_AsInt(obj1
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 (arg1
)->SetZoomControl(arg2
);
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 Py_INCREF(Py_None
); resultobj
= Py_None
;
22418 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
;
22420 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22421 wxPrintPreview
*result
;
22422 PyObject
* obj0
= 0 ;
22423 char *kwnames
[] = {
22424 (char *) "self", NULL
22427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22444 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22445 PyObject
*resultobj
;
22446 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22447 PyObject
* obj0
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 Py_INCREF(Py_None
); resultobj
= Py_None
;
22469 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
;
22471 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22472 PyObject
* obj0
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "self", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 (arg1
)->OnPrevious();
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 Py_INCREF(Py_None
); resultobj
= Py_None
;
22494 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22497 PyObject
* obj0
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 Py_INCREF(Py_None
); resultobj
= Py_None
;
22519 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
;
22521 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 Py_INCREF(Py_None
); resultobj
= Py_None
;
22544 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22547 PyObject
* obj0
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 Py_INCREF(Py_None
); resultobj
= Py_None
;
22569 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22572 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22574 return Py_BuildValue((char *)"");
22576 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22577 PyObject
*resultobj
;
22578 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22579 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22580 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22581 wxPrintPreview
*result
;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 PyObject
* obj2
= 0 ;
22586 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22592 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22609 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22610 PyObject
*resultobj
;
22611 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22612 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22613 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22614 wxPrintPreview
*result
;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 PyObject
* obj2
= 0 ;
22619 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22624 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22640 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22645 argc
= PyObject_Length(args
);
22646 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22647 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22649 if ((argc
>= 2) && (argc
<= 3)) {
22653 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22663 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22672 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22676 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22684 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22693 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22703 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22713 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22721 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22727 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22732 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
;
22734 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self",(char *) "pageNum", NULL
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22746 arg2
= (int) SWIG_AsInt(obj1
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22764 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
;
22766 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "self", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= (int)(arg1
)->GetCurrentPage();
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= SWIG_FromInt((int)result
);
22790 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22793 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self",(char *) "printout", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 (arg1
)->SetPrintout(arg2
);
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 Py_INCREF(Py_None
); resultobj
= Py_None
;
22819 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
;
22821 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22822 wxPyPrintout
*result
;
22823 PyObject
* obj0
= 0 ;
22824 char *kwnames
[] = {
22825 (char *) "self", NULL
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= wxPyMake_wxObject(result
);
22847 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
;
22849 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22850 wxPyPrintout
*result
;
22851 PyObject
* obj0
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22867 resultobj
= wxPyMake_wxObject(result
);
22875 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22878 wxFrame
*arg2
= (wxFrame
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 PyObject
* obj1
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "self",(char *) "frame", NULL
22885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 (arg1
)->SetFrame(arg2
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 Py_INCREF(Py_None
); resultobj
= Py_None
;
22904 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
;
22906 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22907 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22908 PyObject
* obj0
= 0 ;
22909 PyObject
* obj1
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self",(char *) "canvas", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 (arg1
)->SetCanvas(arg2
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 Py_INCREF(Py_None
); resultobj
= Py_None
;
22933 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22934 PyObject
*resultobj
;
22935 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22937 PyObject
* obj0
= 0 ;
22938 char *kwnames
[] = {
22939 (char *) "self", NULL
22942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 result
= (wxFrame
*)(arg1
)->GetFrame();
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= wxPyMake_wxObject(result
);
22961 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22963 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22964 wxPreviewCanvas
*result
;
22965 PyObject
* obj0
= 0 ;
22966 char *kwnames
[] = {
22967 (char *) "self", NULL
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22987 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22990 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22993 PyObject
* obj0
= 0 ;
22994 PyObject
* obj1
= 0 ;
22995 PyObject
* obj2
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23005 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23008 if (arg3
== NULL
) {
23009 PyErr_SetString(PyExc_TypeError
,"null reference");
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23028 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23031 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 PyObject
* obj2
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23046 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23049 if (arg3
== NULL
) {
23050 PyErr_SetString(PyExc_TypeError
,"null reference");
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23069 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "self",(char *) "pageNum", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23083 arg2
= (int) SWIG_AsInt(obj1
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 result
= (bool)(arg1
)->RenderPage(arg2
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23101 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23102 PyObject
*resultobj
;
23103 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23104 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23105 PyObject
* obj0
= 0 ;
23106 PyObject
* obj1
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self",(char *) "canvas", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 (arg1
)->AdjustScrollbars(arg2
);
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 Py_INCREF(Py_None
); resultobj
= Py_None
;
23130 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23133 wxPrintDialogData
*result
;
23134 PyObject
* obj0
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23146 result
= (wxPrintDialogData
*) &_result_ref
;
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23159 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23163 PyObject
* obj0
= 0 ;
23164 PyObject
* obj1
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self",(char *) "percent", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23172 arg2
= (int) SWIG_AsInt(obj1
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 (arg1
)->SetZoom(arg2
);
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23181 Py_INCREF(Py_None
); resultobj
= Py_None
;
23188 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23192 PyObject
* obj0
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 result
= (int)(arg1
)->GetZoom();
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_FromInt((int)result
);
23214 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (int)(arg1
)->GetMaxPage();
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 resultobj
= SWIG_FromInt((int)result
);
23240 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
;
23242 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23244 PyObject
* obj0
= 0 ;
23245 char *kwnames
[] = {
23246 (char *) "self", NULL
23249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (int)(arg1
)->GetMinPage();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= SWIG_FromInt((int)result
);
23266 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23270 PyObject
* obj0
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (bool)(arg1
)->Ok();
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23294 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
;
23296 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self",(char *) "ok", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23307 arg2
= (bool) SWIG_AsBool(obj1
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 (arg1
)->SetOk(arg2
);
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 Py_INCREF(Py_None
); resultobj
= Py_None
;
23323 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
;
23325 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23328 PyObject
* obj0
= 0 ;
23329 PyObject
* obj1
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self",(char *) "interactive", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23337 arg2
= (bool) SWIG_AsBool(obj1
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= (bool)(arg1
)->Print(arg2
);
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23355 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "self", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 (arg1
)->DetermineScaling();
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23373 Py_INCREF(Py_None
); resultobj
= Py_None
;
23380 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23383 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23385 return Py_BuildValue((char *)"");
23387 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23388 PyObject
*resultobj
;
23389 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23390 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23391 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23392 wxPyPrintPreview
*result
;
23393 PyObject
* obj0
= 0 ;
23394 PyObject
* obj1
= 0 ;
23395 PyObject
* obj2
= 0 ;
23397 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23420 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23421 PyObject
*resultobj
;
23422 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23423 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23424 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23425 wxPyPrintPreview
*result
;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 PyObject
* obj2
= 0 ;
23430 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23435 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23451 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23456 argc
= PyObject_Length(args
);
23457 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23458 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23460 if ((argc
>= 2) && (argc
<= 3)) {
23464 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23474 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23483 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23487 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23495 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23504 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23514 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23524 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23532 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23538 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23543 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23546 PyObject
*arg2
= (PyObject
*) 0 ;
23547 PyObject
*arg3
= (PyObject
*) 0 ;
23548 PyObject
* obj0
= 0 ;
23549 PyObject
* obj1
= 0 ;
23550 PyObject
* obj2
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "self",(char *) "self",(char *) "_class", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 Py_INCREF(Py_None
); resultobj
= Py_None
;
23574 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23575 PyObject
*resultobj
;
23576 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "pageNum", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 arg2
= (int) SWIG_AsInt(obj1
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23606 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23607 PyObject
*resultobj
;
23608 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23609 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23612 PyObject
* obj0
= 0 ;
23613 PyObject
* obj1
= 0 ;
23614 PyObject
* obj2
= 0 ;
23615 char *kwnames
[] = {
23616 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23624 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23627 if (arg3
== NULL
) {
23628 PyErr_SetString(PyExc_TypeError
,"null reference");
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23647 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
;
23649 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23650 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 PyObject
* obj1
= 0 ;
23655 PyObject
* obj2
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23665 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23668 if (arg3
== NULL
) {
23669 PyErr_SetString(PyExc_TypeError
,"null reference");
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23688 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self",(char *) "pageNum", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 arg2
= (int) SWIG_AsInt(obj1
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23720 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23722 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23724 PyObject
* obj0
= 0 ;
23725 PyObject
* obj1
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self",(char *) "percent", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23733 arg2
= (int) SWIG_AsInt(obj1
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 (arg1
)->base_SetZoom(arg2
);
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 Py_INCREF(Py_None
); resultobj
= Py_None
;
23749 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23751 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23754 PyObject
* obj0
= 0 ;
23755 PyObject
* obj1
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self",(char *) "interactive", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23763 arg2
= (bool) SWIG_AsBool(obj1
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (bool)(arg1
)->base_Print(arg2
);
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23781 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23784 PyObject
* obj0
= 0 ;
23785 char *kwnames
[] = {
23786 (char *) "self", NULL
23789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 (arg1
)->base_DetermineScaling();
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 Py_INCREF(Py_None
); resultobj
= Py_None
;
23806 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23809 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23811 return Py_BuildValue((char *)"");
23813 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23816 wxFrame
*arg2
= (wxFrame
*) 0 ;
23817 wxString
*arg3
= 0 ;
23818 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23819 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23820 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23821 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23822 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23823 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23824 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23825 wxPyPreviewFrame
*result
;
23826 bool temp3
= False
;
23829 bool temp7
= False
;
23830 PyObject
* obj0
= 0 ;
23831 PyObject
* obj1
= 0 ;
23832 PyObject
* obj2
= 0 ;
23833 PyObject
* obj3
= 0 ;
23834 PyObject
* obj4
= 0 ;
23835 PyObject
* obj5
= 0 ;
23836 PyObject
* obj6
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23847 arg3
= wxString_in_helper(obj2
);
23848 if (arg3
== NULL
) SWIG_fail
;
23854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23860 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23864 arg6
= (long) SWIG_AsLong(obj5
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23869 arg7
= wxString_in_helper(obj6
);
23870 if (arg7
== NULL
) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
23904 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23905 PyObject
*resultobj
;
23906 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23907 PyObject
*arg2
= (PyObject
*) 0 ;
23908 PyObject
*arg3
= (PyObject
*) 0 ;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23911 PyObject
* obj2
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "self",(char *) "self",(char *) "_class", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 Py_INCREF(Py_None
); resultobj
= Py_None
;
23935 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23938 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self",(char *) "canvas", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 (arg1
)->SetPreviewCanvas(arg2
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 Py_INCREF(Py_None
); resultobj
= Py_None
;
23964 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
;
23966 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23967 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23968 PyObject
* obj0
= 0 ;
23969 PyObject
* obj1
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self",(char *) "bar", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 (arg1
)->SetControlBar(arg2
);
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23986 Py_INCREF(Py_None
); resultobj
= Py_None
;
23993 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
;
23995 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23996 PyObject
* obj0
= 0 ;
23997 char *kwnames
[] = {
23998 (char *) "self", NULL
24001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 (arg1
)->base_Initialize();
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24011 Py_INCREF(Py_None
); resultobj
= Py_None
;
24018 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
;
24020 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24021 PyObject
* obj0
= 0 ;
24022 char *kwnames
[] = {
24023 (char *) "self", NULL
24026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 (arg1
)->base_CreateCanvas();
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 Py_INCREF(Py_None
); resultobj
= Py_None
;
24043 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
;
24045 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24046 PyObject
* obj0
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 (arg1
)->base_CreateControlBar();
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 Py_INCREF(Py_None
); resultobj
= Py_None
;
24068 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24071 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24073 return Py_BuildValue((char *)"");
24075 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24079 wxWindow
*arg3
= (wxWindow
*) 0 ;
24080 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24081 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24082 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24083 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24084 long arg6
= (long) 0 ;
24085 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24086 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24087 wxPyPreviewControlBar
*result
;
24090 bool temp7
= False
;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 PyObject
* obj2
= 0 ;
24094 PyObject
* obj3
= 0 ;
24095 PyObject
* obj4
= 0 ;
24096 PyObject
* obj5
= 0 ;
24097 PyObject
* obj6
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24105 arg2
= (long) SWIG_AsLong(obj1
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24107 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24118 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24122 arg6
= (long) SWIG_AsLong(obj5
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24127 arg7
= wxString_in_helper(obj6
);
24128 if (arg7
== NULL
) SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24154 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24157 PyObject
*arg2
= (PyObject
*) 0 ;
24158 PyObject
*arg3
= (PyObject
*) 0 ;
24159 PyObject
* obj0
= 0 ;
24160 PyObject
* obj1
= 0 ;
24161 PyObject
* obj2
= 0 ;
24162 char *kwnames
[] = {
24163 (char *) "self",(char *) "self",(char *) "_class", NULL
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 Py_INCREF(Py_None
); resultobj
= Py_None
;
24185 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24188 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24191 char *kwnames
[] = {
24192 (char *) "self",(char *) "preview", NULL
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 (arg1
)->SetPrintPreview(arg2
);
24204 wxPyEndAllowThreads(__tstate
);
24205 if (PyErr_Occurred()) SWIG_fail
;
24207 Py_INCREF(Py_None
); resultobj
= Py_None
;
24214 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
;
24216 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24217 PyObject
* obj0
= 0 ;
24218 char *kwnames
[] = {
24219 (char *) "self", NULL
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 (arg1
)->base_CreateButtons();
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 Py_INCREF(Py_None
); resultobj
= Py_None
;
24239 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24241 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24243 PyObject
* obj0
= 0 ;
24244 PyObject
* obj1
= 0 ;
24245 char *kwnames
[] = {
24246 (char *) "self",(char *) "zoom", NULL
24249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24252 arg2
= (int) SWIG_AsInt(obj1
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 (arg1
)->base_SetZoomControl(arg2
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 Py_INCREF(Py_None
); resultobj
= Py_None
;
24268 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24271 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24273 return Py_BuildValue((char *)"");
24275 static PyMethodDef SwigMethods
[] = {
24276 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24277 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24278 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24279 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24280 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24281 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24282 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24283 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24284 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24285 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24286 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24287 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24288 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24289 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24290 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24291 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24292 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24293 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24294 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24295 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24296 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24297 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24298 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24299 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24300 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24301 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24302 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24303 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24304 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24305 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24306 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24307 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24308 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24309 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24310 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24311 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24312 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24313 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24314 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24315 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24316 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24317 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24318 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24319 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24320 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24321 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24322 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24323 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24324 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24325 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24326 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24327 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24328 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24329 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24330 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24331 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24332 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24333 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24334 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24335 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24336 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24337 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24338 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24339 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24340 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24341 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24342 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24343 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24344 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24345 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24346 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24347 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24348 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24349 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
24350 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24351 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24352 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24353 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24354 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24355 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24356 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24357 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24358 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24359 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24360 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24361 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24362 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24363 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24364 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24365 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24366 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24367 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24368 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24369 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24370 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24371 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24372 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24373 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24374 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24375 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24376 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24377 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24378 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24379 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24380 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24381 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24382 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24383 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24384 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24389 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24391 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24392 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24394 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24396 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24398 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24402 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24404 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24405 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24406 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24407 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24408 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24409 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24410 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24412 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24413 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24415 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24416 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24418 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24419 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24421 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24422 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24424 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24425 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24426 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24428 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24431 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24436 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24437 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24443 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24444 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24445 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24448 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24454 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24456 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24458 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24462 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24465 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24468 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24469 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24471 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24473 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24477 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24482 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24488 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24492 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24502 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24510 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24516 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24536 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24543 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24552 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24554 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24563 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24566 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24573 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24591 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24595 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24600 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24604 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24620 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24623 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24625 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24629 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24638 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24647 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24653 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24665 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24672 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24676 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24700 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24724 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24748 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
24794 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
24826 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
24830 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
24831 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
24864 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
24869 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
24880 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
24903 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
24905 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
24911 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
24921 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
24922 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
24945 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
24946 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
24955 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
24963 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
24973 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24975 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24976 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24978 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24981 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24982 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24984 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24985 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24987 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24988 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24990 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24991 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24993 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24994 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24996 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24997 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24999 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25000 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25002 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25003 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25005 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25006 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25008 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25009 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25011 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25012 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25014 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25015 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25017 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25018 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25020 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25021 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25023 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25024 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25026 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25027 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25029 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25030 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25032 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25033 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25035 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25036 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25038 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25039 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25041 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25042 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25044 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25045 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25047 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25048 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25050 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25051 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25053 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25054 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25056 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25057 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25059 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25060 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25062 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25063 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25065 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25066 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25068 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25069 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25071 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25072 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25074 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25075 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25077 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25078 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25080 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25081 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25083 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25084 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25086 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25087 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25089 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25090 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25092 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25093 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25095 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25096 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25098 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25099 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25101 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25102 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25104 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25107 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25110 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25113 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25114 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25116 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25117 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25119 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25120 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25122 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25123 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25125 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25128 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25131 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25134 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25137 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25140 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25143 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25146 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25147 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25149 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25150 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25152 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25155 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25158 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25161 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25162 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25164 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25167 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25168 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25170 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25171 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25173 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25174 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25176 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25177 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25179 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25182 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25183 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25185 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25186 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25188 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25191 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25192 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25194 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25197 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25200 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25203 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25204 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25206 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25209 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25210 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25212 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25215 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25218 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25221 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25224 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25227 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25228 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25230 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25233 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25236 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25239 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25242 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25245 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25248 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25251 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25254 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25255 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25257 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25258 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25260 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25261 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25263 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25264 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25266 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25267 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25269 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25270 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25272 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25273 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25275 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25276 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25278 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25279 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25281 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25282 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25284 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25287 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25290 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25291 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25293 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25294 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25296 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25299 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25300 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25302 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25303 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25305 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25306 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25308 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25309 return (void *)((wxObject
*) ((wxSizer
*) x
));
25311 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25312 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25314 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25315 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25317 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25320 static void *_p_wxEventTo_p_wxObject(void *x
) {
25321 return (void *)((wxObject
*) ((wxEvent
*) x
));
25323 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25324 return (void *)((wxObject
*) ((wxFontData
*) x
));
25326 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25327 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25329 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25330 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25332 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25333 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25335 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25336 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25338 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25339 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25341 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25342 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25344 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25345 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25347 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25348 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25350 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25351 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25353 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25354 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25356 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25357 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25359 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25360 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25362 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25363 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25365 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25368 static void *_p_wxControlTo_p_wxObject(void *x
) {
25369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25371 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25372 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25374 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25377 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25378 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25380 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25381 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25383 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25384 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25386 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25389 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25390 return (void *)((wxObject
*) ((wxColourData
*) x
));
25392 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25393 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25395 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25396 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25398 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25401 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25404 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25407 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25410 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25413 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25416 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25419 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25422 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25425 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25426 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25428 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25429 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25431 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25432 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25434 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25435 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25437 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25440 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25441 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25443 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25444 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25446 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25447 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25449 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25450 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25452 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25453 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25455 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25456 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25458 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25461 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25464 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25467 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25468 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25470 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25473 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25476 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25477 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25479 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25480 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25482 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25483 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25485 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25488 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25489 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25491 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25492 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25494 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25495 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25497 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25498 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25500 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25503 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25506 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25507 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25509 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25512 static void *_p_wxImageTo_p_wxObject(void *x
) {
25513 return (void *)((wxObject
*) ((wxImage
*) x
));
25515 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25518 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25519 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25521 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25522 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25524 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25525 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25527 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25530 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25533 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25534 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25536 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25537 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25539 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25540 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25542 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25543 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25545 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25546 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25548 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25551 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25554 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25557 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25560 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25563 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25566 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25569 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25572 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25575 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25578 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25581 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25584 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25587 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25590 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25591 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25593 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25594 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25596 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25599 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25602 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25605 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25608 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25611 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25614 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25617 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25618 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25620 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25621 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25623 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25624 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25626 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25627 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25629 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25630 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25632 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25633 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25635 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25636 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25638 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25639 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25641 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25642 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25644 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25647 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25650 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25651 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25653 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25654 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25656 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25657 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25659 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25662 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25663 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25665 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25666 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25668 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25671 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25672 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25674 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25675 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25677 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25678 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25680 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
25681 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25683 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25684 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25686 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
25687 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25689 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25690 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25692 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25693 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25695 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25696 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25698 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25699 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25701 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25702 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25704 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25705 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25707 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25708 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25710 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25711 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25713 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25714 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25716 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25717 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25719 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25720 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25722 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25723 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25725 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25726 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25728 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25729 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25731 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25732 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25734 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25735 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25737 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25738 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25740 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25741 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25743 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25744 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25746 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25747 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25749 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25750 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25752 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25753 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25755 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25756 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25758 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25759 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25761 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25762 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25764 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25765 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25767 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25768 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25770 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25771 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25773 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25774 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25776 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25777 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25779 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25780 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25782 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25783 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25785 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25786 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25788 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25789 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25791 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25792 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25794 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25795 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25797 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25798 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25800 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25801 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25803 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25804 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25806 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25807 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25809 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25810 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25812 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25813 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25815 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25816 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25818 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25819 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25821 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25822 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25824 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25825 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25827 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25828 return (void *)((wxWindow
*) ((wxControl
*) x
));
25830 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25831 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25833 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25834 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25836 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25837 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25839 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25840 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25842 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25843 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25845 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25846 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25848 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25849 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25851 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25852 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25854 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25855 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25857 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25858 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25860 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25861 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25863 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25864 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25866 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25867 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25869 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25870 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25872 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25873 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25875 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25876 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25878 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25879 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25881 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25882 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25884 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25885 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25887 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
25888 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25890 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
25891 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25893 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
25894 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
25896 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
25897 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
25899 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
25900 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
25902 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
25903 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
25905 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
25906 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
25908 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
25909 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
25911 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
25912 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25914 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
25915 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25917 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
25918 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
25920 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
25921 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
25923 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
25924 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
25926 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
25927 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
25929 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
25930 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25932 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
25933 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25935 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
25936 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25938 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
25939 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25941 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
25942 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
25944 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
25945 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25947 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
25948 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
25950 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
25951 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25953 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
25954 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25956 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
25957 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
25959 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
25960 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25962 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
25963 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25965 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
25966 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25968 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
25969 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25971 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
25972 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25974 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
25975 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25977 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
25978 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25980 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25981 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25983 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25984 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25986 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25987 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25989 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}};
25990 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}};
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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}};
25998 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}};
25999 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}};
26000 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}};
26001 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}};
26002 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}};
26003 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}};
26004 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}};
26005 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}};
26006 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}};
26007 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}};
26008 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}};
26009 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}};
26010 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}};
26011 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}};
26012 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}};
26013 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}};
26014 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}};
26015 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}};
26016 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}};
26017 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}};
26018 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}};
26019 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}};
26020 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}};
26021 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}};
26022 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}};
26023 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}};
26024 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}};
26025 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}};
26026 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}};
26027 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}};
26028 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}};
26029 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}};
26030 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}};
26031 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}};
26032 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}};
26033 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}};
26034 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}};
26035 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}};
26036 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}};
26037 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}};
26038 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}};
26039 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}};
26040 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}};
26041 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}};
26042 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}};
26043 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}};
26044 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}};
26045 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}};
26046 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}};
26047 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}};
26048 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}};
26049 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}};
26050 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}};
26051 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}};
26052 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}};
26053 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}};
26054 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}};
26055 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}};
26056 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}};
26057 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}};
26058 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}};
26059 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}};
26060 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}};
26061 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}};
26062 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}};
26063 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}};
26064 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}};
26065 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}};
26066 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}};
26067 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}};
26068 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}};
26069 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}};
26070 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}};
26071 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}};
26072 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}};
26073 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}};
26075 static swig_type_info
*swig_types_initial
[] = {
26076 _swigt__p_wxQueryLayoutInfoEvent
,
26077 _swigt__p_wxPreviewFrame
,
26078 _swigt__p_wxPyPreviewFrame
,
26079 _swigt__p_wxPyPanel
,
26081 _swigt__p_wxPrintData
,
26082 _swigt__p_wxFontData
,
26084 _swigt__p_wxTaskBarIcon
,
26085 _swigt__p_wxIconBundle
,
26086 _swigt__p_wxLayoutAlgorithm
,
26087 _swigt__p_wxFindDialogEvent
,
26088 _swigt__p_wxPreviewCanvas
,
26090 _swigt__p_wxSplitterEvent
,
26091 _swigt__p_wxRegion
,
26092 _swigt__p_wxFindReplaceData
,
26097 _swigt__p_wxMDIChildFrame
,
26098 _swigt__p_wxColourData
,
26099 _swigt__p_wxNotifyEvent
,
26100 _swigt__p_wxPyWindow
,
26101 _swigt__p_wxSplashScreen
,
26102 _swigt__p_wxFindReplaceDialog
,
26103 _swigt__p_wxProgressDialog
,
26104 _swigt__p_wxMessageDialog
,
26105 _swigt__p_wxTextEntryDialog
,
26106 _swigt__p_wxSingleChoiceDialog
,
26107 _swigt__p_wxMultiChoiceDialog
,
26108 _swigt__p_wxFileDialog
,
26109 _swigt__p_wxPrinter
,
26110 _swigt__p_wxArrayInt
,
26111 _swigt__p_wxEvtHandler
,
26112 _swigt__p_wxCalculateLayoutEvent
,
26113 _swigt__p_wxPyHtmlListBox
,
26114 _swigt__p_wxPyVListBox
,
26117 _swigt__p_wxMiniFrame
,
26119 _swigt__p_wxPyPrintout
,
26120 _swigt__p_wxTaskBarIconEvent
,
26121 _swigt__p_wxScrollWinEvent
,
26122 _swigt__p_wxStatusBar
,
26123 _swigt__p_wxMDIParentFrame
,
26125 _swigt__p_wxObject
,
26126 _swigt__p_wxOutputStream
,
26127 _swigt__p_unsigned_long
,
26128 _swigt__p_wxPyScrolledWindow
,
26129 _swigt__p_wxMDIClientWindow
,
26130 _swigt__p_wxTipWindow
,
26131 _swigt__p_wxSashLayoutWindow
,
26132 _swigt__p_wxSplitterWindow
,
26133 _swigt__p_wxPyVScrolledWindow
,
26134 _swigt__p_wxPyPopupTransientWindow
,
26135 _swigt__p_wxPopupWindow
,
26136 _swigt__p_wxSashWindow
,
26137 _swigt__p_wxTopLevelWindow
,
26138 _swigt__p_wxWindow
,
26139 _swigt__p_wxScrolledWindow
,
26140 _swigt__p_wxSplashScreenWindow
,
26141 _swigt__p_wxMenuBar
,
26142 _swigt__p_wxPrintPreview
,
26143 _swigt__p_wxSashEvent
,
26144 _swigt__p_wxString
,
26145 _swigt__p_wxPyPrintPreview
,
26146 _swigt__p_wxFontDialog
,
26147 _swigt__p_wxDirDialog
,
26148 _swigt__p_wxColourDialog
,
26149 _swigt__p_wxDialog
,
26151 _swigt__p_wxPageSetupDialog
,
26152 _swigt__p_wxPrintDialog
,
26153 _swigt__p_wxBitmap
,
26154 _swigt__p_wxCommandEvent
,
26155 _swigt__p_wxPreviewControlBar
,
26156 _swigt__p_wxPyPreviewControlBar
,
26157 _swigt__p_wxColour
,
26158 _swigt__p_wxToolBar
,
26159 _swigt__p_wxPageSetupDialogData
,
26160 _swigt__p_wxPrintDialogData
,
26165 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26167 static swig_const_info swig_const_table
[] = {
26177 SWIGEXPORT(void) SWIG_init(void) {
26178 static PyObject
*SWIG_globals
= 0;
26179 static int typeinit
= 0;
26182 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26183 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26184 d
= PyModule_GetDict(m
);
26187 for (i
= 0; swig_types_initial
[i
]; i
++) {
26188 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26192 SWIG_InstallConstants(d
,swig_const_table
);
26194 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26195 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26196 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26197 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26198 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26199 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26200 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26201 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26202 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26203 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26204 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26205 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26206 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26207 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26208 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26209 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26210 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26211 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26212 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26213 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26214 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26215 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26216 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26217 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26218 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26219 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26220 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26221 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26222 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26223 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26224 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26225 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26226 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26227 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26228 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26229 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26230 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26231 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26232 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26233 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26234 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26235 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26236 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26237 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26238 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26239 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26240 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26241 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26242 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26243 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26244 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26245 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26246 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26247 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26248 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26249 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26250 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26251 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26252 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26253 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26254 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26255 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26256 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26257 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26258 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26259 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26260 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26261 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26263 // Map renamed classes back to their common name for OOR
26264 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26265 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26266 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26268 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26269 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26270 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26271 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26272 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26273 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26274 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26275 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26276 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26277 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26278 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26279 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26280 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26281 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26282 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26283 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26284 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26285 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26286 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26287 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26288 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26289 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26290 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26291 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26292 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26293 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26294 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26295 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26296 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26297 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26298 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26299 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26300 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26301 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26302 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26303 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26304 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26305 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26306 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26307 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26308 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26309 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26310 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26311 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26312 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26313 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26314 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26315 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26316 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26317 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26318 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26319 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26320 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26321 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26322 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26323 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26324 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26325 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26326 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26327 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26329 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");