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 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
829 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
830 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
831 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
832 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
833 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
834 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
836 self
->GetFilenames(arr
);
837 return wxArrayString2PyList_helper(arr
);
839 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
842 return wxArrayString2PyList_helper(arr
);
844 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
845 return wxArrayInt2PyList_helper(self
->GetSelections());
847 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
848 return new wxSingleChoiceDialog(parent
, message
, caption
,
849 choices
, choices_array
, NULL
, style
, pos
);
854 // C++ version of Python aware wxWindow
855 class wxPyWindow
: public wxWindow
857 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
859 wxPyWindow() : wxWindow() {}
860 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
861 const wxPoint
& pos
= wxDefaultPosition
,
862 const wxSize
& size
= wxDefaultSize
,
864 const wxString
& name
= wxPyPanelNameStr
)
865 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
868 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
869 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
870 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
877 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
878 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
880 DEC_PYCALLBACK__(InitDialog
);
881 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
882 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
883 DEC_PYCALLBACK_BOOL_(Validate
);
885 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
887 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
889 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
890 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
892 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
893 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
898 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
900 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
901 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
902 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
903 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
905 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
906 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
907 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
909 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
910 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
912 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
914 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
915 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
917 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
918 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
919 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
921 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
922 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
924 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
925 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
928 // C++ version of Python aware wxPanel
929 class wxPyPanel
: public wxPanel
931 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
933 wxPyPanel() : wxPanel() {}
934 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
935 const wxPoint
& pos
= wxDefaultPosition
,
936 const wxSize
& size
= wxDefaultSize
,
938 const wxString
& name
= wxPyPanelNameStr
)
939 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
942 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
943 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
944 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
951 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
952 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
954 DEC_PYCALLBACK__(InitDialog
);
955 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
956 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
957 DEC_PYCALLBACK_BOOL_(Validate
);
959 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
961 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
963 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
964 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
966 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
967 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
972 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
974 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
975 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
976 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
983 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
984 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
986 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
988 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
989 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
991 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
992 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
993 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
995 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
998 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
999 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1001 // C++ version of Python aware wxScrolledWindow
1002 class wxPyScrolledWindow
: public wxScrolledWindow
1004 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1006 wxPyScrolledWindow() : wxScrolledWindow() {}
1007 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1008 const wxPoint
& pos
= wxDefaultPosition
,
1009 const wxSize
& size
= wxDefaultSize
,
1011 const wxString
& name
= wxPyPanelNameStr
)
1012 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1015 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1016 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1017 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1018 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1021 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1022 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1024 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1025 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1027 DEC_PYCALLBACK__(InitDialog
);
1028 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1029 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1030 DEC_PYCALLBACK_BOOL_(Validate
);
1032 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1033 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1034 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1036 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1037 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1039 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1040 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1045 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1047 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1048 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1049 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1050 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1052 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1053 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1054 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1056 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1057 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1059 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1061 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1062 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1064 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1065 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1066 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1068 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1069 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1071 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1072 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1075 #include "wx/wxPython/printfw.h"
1078 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1079 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1083 // Since this one would be tough and ugly to do with the Macros...
1084 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1085 bool hadErr
= False
;
1088 bool blocked
= wxPyBeginBlockThreads();
1089 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1090 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1091 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1094 val
= PyTuple_GetItem(result
, 0);
1095 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1098 val
= PyTuple_GetItem(result
, 1);
1099 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1102 val
= PyTuple_GetItem(result
, 2);
1103 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1106 val
= PyTuple_GetItem(result
, 3);
1107 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1114 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1119 wxPyEndBlockThreads(blocked
);
1121 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1124 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1125 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1129 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1130 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1131 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1132 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1133 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1134 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1135 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1141 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1142 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1143 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1146 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1147 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1150 bool blocked = wxPyBeginBlockThreads(); \
1151 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1152 PyObject* win = wxPyMake_wxObject(a); \
1153 PyObject* dc = wxPyMake_wxObject(&b); \
1154 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1158 wxPyEndBlockThreads(blocked); \
1160 rval = PCLASS::CBNAME(a, b); \
1163 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1164 return PCLASS::CBNAME(a, b); \
1170 class wxPyPrintPreview
: public wxPrintPreview
1172 DECLARE_CLASS(wxPyPrintPreview
)
1174 wxPyPrintPreview(wxPyPrintout
* printout
,
1175 wxPyPrintout
* printoutForPrinting
,
1176 wxPrintDialogData
* data
=NULL
)
1177 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1179 wxPyPrintPreview(wxPyPrintout
* printout
,
1180 wxPyPrintout
* printoutForPrinting
,
1181 wxPrintData
* data
=NULL
)
1182 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1185 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1186 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1187 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1188 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1189 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1190 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1191 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1196 // Stupid renamed classes... Fix this in 2.5...
1197 #if defined(__WXMSW__)
1198 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1199 #elif defined(__WXMAC__)
1200 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1202 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1205 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1206 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1207 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1208 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1209 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1210 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1211 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1214 class wxPyPreviewFrame
: public wxPreviewFrame
1216 DECLARE_CLASS(wxPyPreviewFrame
);
1218 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1219 const wxString
& title
,
1220 const wxPoint
& pos
= wxDefaultPosition
,
1221 const wxSize
& size
= wxDefaultSize
,
1222 long style
= wxDEFAULT_FRAME_STYLE
,
1223 const wxString
& name
= wxPyFrameNameStr
)
1224 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1227 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1228 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1230 DEC_PYCALLBACK_VOID_(Initialize
);
1231 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1232 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1237 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1239 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1240 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1241 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1244 class wxPyPreviewControlBar
: public wxPreviewControlBar
1246 DECLARE_CLASS(wxPyPreviewControlBar
);
1248 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1251 const wxPoint
& pos
= wxDefaultPosition
,
1252 const wxSize
& size
= wxDefaultSize
,
1254 const wxString
& name
= wxPyPanelNameStr
)
1255 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1258 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1260 DEC_PYCALLBACK_VOID_(CreateButtons
);
1261 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1266 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1267 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1268 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1273 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
*resultobj
;
1275 wxWindow
*arg1
= (wxWindow
*) 0 ;
1276 int arg2
= (int) (int)-1 ;
1277 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1278 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1279 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1280 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1281 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1282 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1283 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1287 bool temp6
= False
;
1288 PyObject
* obj0
= 0 ;
1289 PyObject
* obj1
= 0 ;
1290 PyObject
* obj2
= 0 ;
1291 PyObject
* obj3
= 0 ;
1292 PyObject
* obj4
= 0 ;
1293 PyObject
* obj5
= 0 ;
1295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1302 arg2
= (int const) SWIG_AsInt(obj1
);
1303 if (PyErr_Occurred()) SWIG_fail
;
1308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1314 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1318 arg5
= (long) SWIG_AsLong(obj4
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1323 arg6
= wxString_in_helper(obj5
);
1324 if (arg6
== NULL
) SWIG_fail
;
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1350 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
*resultobj
;
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 result
= (wxPanel
*)new wxPanel();
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) SWIG_fail
;
1365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1372 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
*resultobj
;
1374 wxPanel
*arg1
= (wxPanel
*) 0 ;
1375 wxWindow
*arg2
= (wxWindow
*) 0 ;
1377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1381 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1382 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1383 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1387 bool temp7
= False
;
1388 PyObject
* obj0
= 0 ;
1389 PyObject
* obj1
= 0 ;
1390 PyObject
* obj2
= 0 ;
1391 PyObject
* obj3
= 0 ;
1392 PyObject
* obj4
= 0 ;
1393 PyObject
* obj5
= 0 ;
1394 PyObject
* obj6
= 0 ;
1396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1404 arg3
= (int const) SWIG_AsInt(obj2
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1419 arg6
= (long) SWIG_AsLong(obj5
);
1420 if (PyErr_Occurred()) SWIG_fail
;
1424 arg7
= wxString_in_helper(obj6
);
1425 if (arg7
== NULL
) SWIG_fail
;
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) SWIG_fail
;
1437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1453 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxPanel
*arg1
= (wxPanel
*) 0 ;
1456 PyObject
* obj0
= 0 ;
1458 (char *) "self", NULL
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 (arg1
)->InitDialog();
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1471 Py_INCREF(Py_None
); resultobj
= Py_None
;
1478 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1481 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1483 return Py_BuildValue((char *)"");
1485 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1487 wxWindow
*arg1
= (wxWindow
*) 0 ;
1488 int arg2
= (int) (int)-1 ;
1489 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1490 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1491 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1492 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1493 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1494 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1495 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1496 wxScrolledWindow
*result
;
1499 bool temp6
= False
;
1500 PyObject
* obj0
= 0 ;
1501 PyObject
* obj1
= 0 ;
1502 PyObject
* obj2
= 0 ;
1503 PyObject
* obj3
= 0 ;
1504 PyObject
* obj4
= 0 ;
1505 PyObject
* obj5
= 0 ;
1507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1514 arg2
= (int const) SWIG_AsInt(obj1
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1520 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1526 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1530 arg5
= (long) SWIG_AsLong(obj4
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1535 arg6
= wxString_in_helper(obj5
);
1536 if (arg6
== NULL
) SWIG_fail
;
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1562 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1564 wxScrolledWindow
*result
;
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1584 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
*resultobj
;
1586 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1587 wxWindow
*arg2
= (wxWindow
*) 0 ;
1588 int arg3
= (int) (int)-1 ;
1589 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1590 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1591 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1592 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1593 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1594 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1595 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1599 bool temp7
= False
;
1600 PyObject
* obj0
= 0 ;
1601 PyObject
* obj1
= 0 ;
1602 PyObject
* obj2
= 0 ;
1603 PyObject
* obj3
= 0 ;
1604 PyObject
* obj4
= 0 ;
1605 PyObject
* obj5
= 0 ;
1606 PyObject
* obj6
= 0 ;
1608 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1617 arg3
= (int const) SWIG_AsInt(obj2
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1623 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1629 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1633 arg6
= (long) SWIG_AsLong(obj5
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1638 arg7
= wxString_in_helper(obj6
);
1639 if (arg7
== NULL
) SWIG_fail
;
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1667 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
*resultobj
;
1669 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1674 int arg6
= (int) 0 ;
1675 int arg7
= (int) 0 ;
1676 bool arg8
= (bool) False
;
1677 PyObject
* obj0
= 0 ;
1678 PyObject
* obj1
= 0 ;
1679 PyObject
* obj2
= 0 ;
1680 PyObject
* obj3
= 0 ;
1681 PyObject
* obj4
= 0 ;
1682 PyObject
* obj5
= 0 ;
1683 PyObject
* obj6
= 0 ;
1684 PyObject
* obj7
= 0 ;
1686 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1692 arg2
= (int) SWIG_AsInt(obj1
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1694 arg3
= (int) SWIG_AsInt(obj2
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1696 arg4
= (int) SWIG_AsInt(obj3
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1698 arg5
= (int) SWIG_AsInt(obj4
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1701 arg6
= (int) SWIG_AsInt(obj5
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1705 arg7
= (int) SWIG_AsInt(obj6
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1709 arg8
= (bool) SWIG_AsBool(obj7
);
1710 if (PyErr_Occurred()) SWIG_fail
;
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1719 Py_INCREF(Py_None
); resultobj
= Py_None
;
1726 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
*resultobj
;
1728 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1731 PyObject
* obj0
= 0 ;
1732 PyObject
* obj1
= 0 ;
1733 PyObject
* obj2
= 0 ;
1735 (char *) "self",(char *) "x",(char *) "y", NULL
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1741 arg2
= (int) SWIG_AsInt(obj1
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1743 arg3
= (int) SWIG_AsInt(obj2
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 (arg1
)->Scroll(arg2
,arg3
);
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1752 Py_INCREF(Py_None
); resultobj
= Py_None
;
1759 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
*resultobj
;
1761 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1764 PyObject
* obj0
= 0 ;
1765 PyObject
* obj1
= 0 ;
1767 (char *) "self",(char *) "orient", NULL
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1773 arg2
= (int) SWIG_AsInt(obj1
);
1774 if (PyErr_Occurred()) SWIG_fail
;
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1777 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1782 resultobj
= SWIG_FromInt((int)result
);
1789 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
*resultobj
;
1791 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1794 PyObject
* obj0
= 0 ;
1795 PyObject
* obj1
= 0 ;
1796 PyObject
* obj2
= 0 ;
1798 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1804 arg2
= (int) SWIG_AsInt(obj1
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1806 arg3
= (int) SWIG_AsInt(obj2
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 Py_INCREF(Py_None
); resultobj
= Py_None
;
1822 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
*resultobj
;
1824 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1827 PyObject
* obj0
= 0 ;
1828 PyObject
* obj1
= 0 ;
1829 PyObject
* obj2
= 0 ;
1831 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1837 arg2
= (int) SWIG_AsInt(obj1
);
1838 if (PyErr_Occurred()) SWIG_fail
;
1839 arg3
= (int) SWIG_AsInt(obj2
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1843 (arg1
)->SetScrollRate(arg2
,arg3
);
1845 wxPyEndAllowThreads(__tstate
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1848 Py_INCREF(Py_None
); resultobj
= Py_None
;
1855 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
*resultobj
;
1857 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1858 int *arg2
= (int *) 0 ;
1859 int *arg3
= (int *) 0 ;
1862 PyObject
* obj0
= 0 ;
1864 (char *) "self", NULL
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1879 Py_INCREF(Py_None
); resultobj
= Py_None
;
1881 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1882 resultobj
= t_output_helper(resultobj
,o
);
1885 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1886 resultobj
= t_output_helper(resultobj
,o
);
1894 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
*resultobj
;
1896 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1899 PyObject
* obj0
= 0 ;
1900 PyObject
* obj1
= 0 ;
1901 PyObject
* obj2
= 0 ;
1903 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1909 arg2
= (bool) SWIG_AsBool(obj1
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1911 arg3
= (bool) SWIG_AsBool(obj2
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 (arg1
)->EnableScrolling(arg2
,arg3
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 Py_INCREF(Py_None
); resultobj
= Py_None
;
1927 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1930 int *arg2
= (int *) 0 ;
1931 int *arg3
= (int *) 0 ;
1934 PyObject
* obj0
= 0 ;
1936 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 Py_INCREF(Py_None
); resultobj
= Py_None
;
1953 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1954 resultobj
= t_output_helper(resultobj
,o
);
1957 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1958 resultobj
= t_output_helper(resultobj
,o
);
1966 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1971 PyObject
* obj0
= 0 ;
1972 PyObject
* obj1
= 0 ;
1973 PyObject
* obj2
= 0 ;
1975 (char *) "self",(char *) "xs",(char *) "ys", NULL
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1981 arg2
= (double) SWIG_AsDouble(obj1
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1983 arg3
= (double) SWIG_AsDouble(obj2
);
1984 if (PyErr_Occurred()) SWIG_fail
;
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 (arg1
)->SetScale(arg2
,arg3
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) SWIG_fail
;
1992 Py_INCREF(Py_None
); resultobj
= Py_None
;
1999 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2003 PyObject
* obj0
= 0 ;
2005 (char *) "self", NULL
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 resultobj
= SWIG_FromDouble((double)result
);
2025 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
*resultobj
;
2027 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2029 PyObject
* obj0
= 0 ;
2031 (char *) "self", NULL
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2044 resultobj
= SWIG_FromDouble((double)result
);
2051 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2052 PyObject
*resultobj
;
2053 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2057 PyObject
* obj0
= 0 ;
2058 PyObject
* obj1
= 0 ;
2060 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2065 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) SWIG_fail
;
2075 wxPoint
* resultptr
;
2076 resultptr
= new wxPoint((wxPoint
&) result
);
2077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2085 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2086 PyObject
*resultobj
;
2087 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2090 int *arg4
= (int *) 0 ;
2091 int *arg5
= (int *) 0 ;
2094 PyObject
* obj0
= 0 ;
2095 PyObject
* obj1
= 0 ;
2096 PyObject
* obj2
= 0 ;
2100 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2103 arg2
= (int) SWIG_AsInt(obj1
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2105 arg3
= (int) SWIG_AsInt(obj2
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) SWIG_fail
;
2114 Py_INCREF(Py_None
); resultobj
= Py_None
;
2116 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2117 resultobj
= t_output_helper(resultobj
,o
);
2120 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2121 resultobj
= t_output_helper(resultobj
,o
);
2129 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2134 argc
= PyObject_Length(args
);
2135 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2136 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2142 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2151 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2154 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2162 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2170 _v
= SWIG_CheckInt(argv
[1]);
2172 _v
= SWIG_CheckInt(argv
[2]);
2174 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2180 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2185 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2186 PyObject
*resultobj
;
2187 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2192 PyObject
* obj1
= 0 ;
2194 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2199 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2209 wxPoint
* resultptr
;
2210 resultptr
= new wxPoint((wxPoint
&) result
);
2211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2219 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2220 PyObject
*resultobj
;
2221 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2224 int *arg4
= (int *) 0 ;
2225 int *arg5
= (int *) 0 ;
2228 PyObject
* obj0
= 0 ;
2229 PyObject
* obj1
= 0 ;
2230 PyObject
* obj2
= 0 ;
2234 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 arg2
= (int) SWIG_AsInt(obj1
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2239 arg3
= (int) SWIG_AsInt(obj2
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 Py_INCREF(Py_None
); resultobj
= Py_None
;
2250 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2251 resultobj
= t_output_helper(resultobj
,o
);
2254 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2255 resultobj
= t_output_helper(resultobj
,o
);
2263 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2268 argc
= PyObject_Length(args
);
2269 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2270 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2276 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2285 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2288 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2296 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2304 _v
= SWIG_CheckInt(argv
[1]);
2306 _v
= SWIG_CheckInt(argv
[2]);
2308 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2314 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2319 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2322 PyObject
* obj0
= 0 ;
2324 (char *) "self", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 (arg1
)->AdjustScrollbars();
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 Py_INCREF(Py_None
); resultobj
= Py_None
;
2344 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
*resultobj
;
2346 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2347 wxScrollWinEvent
*arg2
= 0 ;
2349 PyObject
* obj0
= 0 ;
2350 PyObject
* obj1
= 0 ;
2352 (char *) "self",(char *) "event", NULL
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2362 PyErr_SetString(PyExc_TypeError
,"null reference");
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 resultobj
= SWIG_FromInt((int)result
);
2379 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
*resultobj
;
2381 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2382 wxWindow
*arg2
= (wxWindow
*) 0 ;
2383 PyObject
* obj0
= 0 ;
2384 PyObject
* obj1
= 0 ;
2386 (char *) "self",(char *) "target", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 (arg1
)->SetTargetWindow(arg2
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 Py_INCREF(Py_None
); resultobj
= Py_None
;
2408 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
*resultobj
;
2410 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2412 PyObject
* obj0
= 0 ;
2414 (char *) "self", NULL
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2428 resultobj
= wxPyMake_wxObject(result
);
2436 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2439 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2441 return Py_BuildValue((char *)"");
2443 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2444 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2449 static PyObject
*_wrap_FrameNameStr_get() {
2454 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2456 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2463 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2464 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2469 static PyObject
*_wrap_DialogNameStr_get() {
2474 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2476 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2483 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2484 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2489 static PyObject
*_wrap_StatusLineNameStr_get() {
2494 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2496 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2503 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2504 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2509 static PyObject
*_wrap_ToolBarNameStr_get() {
2514 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2516 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2523 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2526 bool arg2
= (bool) True
;
2527 PyObject
* obj0
= 0 ;
2528 PyObject
* obj1
= 0 ;
2530 (char *) "self",(char *) "maximize", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 arg2
= (bool) SWIG_AsBool(obj1
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 (arg1
)->Maximize(arg2
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2557 PyObject
* obj0
= 0 ;
2559 (char *) "self", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 Py_INCREF(Py_None
); resultobj
= Py_None
;
2579 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2582 bool arg2
= (bool) True
;
2583 PyObject
* obj0
= 0 ;
2584 PyObject
* obj1
= 0 ;
2586 (char *) "self",(char *) "iconize", NULL
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2593 arg2
= (bool) SWIG_AsBool(obj1
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 (arg1
)->Iconize(arg2
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 Py_INCREF(Py_None
); resultobj
= Py_None
;
2610 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2614 PyObject
* obj0
= 0 ;
2616 (char *) "self", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2638 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2640 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2642 PyObject
* obj0
= 0 ;
2644 (char *) "self", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2666 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2670 PyObject
* obj0
= 0 ;
2672 (char *) "self", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2687 resultptr
= new wxIcon((wxIcon
&) result
);
2688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2696 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2700 PyObject
* obj0
= 0 ;
2701 PyObject
* obj1
= 0 ;
2703 (char *) "self",(char *) "icon", NULL
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2713 PyErr_SetString(PyExc_TypeError
,"null reference");
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 Py_INCREF(Py_None
); resultobj
= Py_None
;
2730 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2732 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2733 wxIconBundle
*arg2
= 0 ;
2734 PyObject
* obj0
= 0 ;
2735 PyObject
* obj1
= 0 ;
2737 (char *) "self",(char *) "icons", NULL
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2747 PyErr_SetString(PyExc_TypeError
,"null reference");
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 Py_INCREF(Py_None
); resultobj
= Py_None
;
2764 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2768 long arg3
= (long) wxFULLSCREEN_ALL
;
2770 PyObject
* obj0
= 0 ;
2771 PyObject
* obj1
= 0 ;
2772 PyObject
* obj2
= 0 ;
2774 (char *) "self",(char *) "show",(char *) "style", NULL
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2780 arg2
= (bool) SWIG_AsBool(obj1
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2783 arg3
= (long) SWIG_AsLong(obj2
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2802 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2806 PyObject
* obj0
= 0 ;
2808 (char *) "self", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2830 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
*resultobj
;
2832 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2833 wxString
*arg2
= 0 ;
2834 bool temp2
= False
;
2835 PyObject
* obj0
= 0 ;
2836 PyObject
* obj1
= 0 ;
2838 (char *) "self",(char *) "title", NULL
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2845 arg2
= wxString_in_helper(obj1
);
2846 if (arg2
== NULL
) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 (arg1
)->SetTitle((wxString
const &)*arg2
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 Py_INCREF(Py_None
); resultobj
= Py_None
;
2871 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2875 PyObject
* obj0
= 0 ;
2877 (char *) "self", NULL
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2903 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2905 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2906 wxRegion
*arg2
= 0 ;
2908 PyObject
* obj0
= 0 ;
2909 PyObject
* obj1
= 0 ;
2911 (char *) "self",(char *) "region", NULL
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2921 PyErr_SetString(PyExc_TypeError
,"null reference");
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2940 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2943 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2945 return Py_BuildValue((char *)"");
2947 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
*resultobj
;
2949 wxWindow
*arg1
= (wxWindow
*) 0 ;
2951 wxString
*arg3
= 0 ;
2952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2956 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2957 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2958 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2960 bool temp3
= False
;
2963 bool temp7
= False
;
2964 PyObject
* obj0
= 0 ;
2965 PyObject
* obj1
= 0 ;
2966 PyObject
* obj2
= 0 ;
2967 PyObject
* obj3
= 0 ;
2968 PyObject
* obj4
= 0 ;
2969 PyObject
* obj5
= 0 ;
2970 PyObject
* obj6
= 0 ;
2972 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2978 arg2
= (int const) SWIG_AsInt(obj1
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2981 arg3
= wxString_in_helper(obj2
);
2982 if (arg3
== NULL
) SWIG_fail
;
2988 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2994 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2998 arg6
= (long) SWIG_AsLong(obj5
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3003 arg7
= wxString_in_helper(obj6
);
3004 if (arg7
== NULL
) SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3016 resultobj
= wxPyMake_wxObject(result
);
3040 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
*resultobj
;
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 result
= (wxFrame
*)new wxFrame();
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3056 resultobj
= wxPyMake_wxObject(result
);
3064 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3066 wxFrame
*arg1
= (wxFrame
*) 0 ;
3067 wxWindow
*arg2
= (wxWindow
*) 0 ;
3069 wxString
*arg4
= 0 ;
3070 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3071 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3072 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3073 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3074 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3075 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3076 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3078 bool temp4
= False
;
3081 bool temp8
= False
;
3082 PyObject
* obj0
= 0 ;
3083 PyObject
* obj1
= 0 ;
3084 PyObject
* obj2
= 0 ;
3085 PyObject
* obj3
= 0 ;
3086 PyObject
* obj4
= 0 ;
3087 PyObject
* obj5
= 0 ;
3088 PyObject
* obj6
= 0 ;
3089 PyObject
* obj7
= 0 ;
3091 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3099 arg3
= (int const) SWIG_AsInt(obj2
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3102 arg4
= wxString_in_helper(obj3
);
3103 if (arg4
== NULL
) SWIG_fail
;
3109 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3115 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3119 arg7
= (long) SWIG_AsLong(obj6
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3124 arg8
= wxString_in_helper(obj7
);
3125 if (arg8
== NULL
) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3161 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxFrame
*arg1
= (wxFrame
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3167 (char *) "self", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3181 wxPoint
* resultptr
;
3182 resultptr
= new wxPoint((wxPoint
&) result
);
3183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3191 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxFrame
*arg1
= (wxFrame
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "self", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 (arg1
)->SendSizeEvent();
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3209 Py_INCREF(Py_None
); resultobj
= Py_None
;
3216 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
*resultobj
;
3218 wxFrame
*arg1
= (wxFrame
*) 0 ;
3219 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3220 PyObject
* obj0
= 0 ;
3221 PyObject
* obj1
= 0 ;
3223 (char *) "self",(char *) "menubar", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 (arg1
)->SetMenuBar(arg2
);
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3238 Py_INCREF(Py_None
); resultobj
= Py_None
;
3245 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxFrame
*arg1
= (wxFrame
*) 0 ;
3249 PyObject
* obj0
= 0 ;
3251 (char *) "self", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3265 resultobj
= wxPyMake_wxObject(result
);
3273 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxFrame
*arg1
= (wxFrame
*) 0 ;
3278 PyObject
* obj0
= 0 ;
3279 PyObject
* obj1
= 0 ;
3281 (char *) "self",(char *) "winid", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3287 arg2
= (int) SWIG_AsInt(obj1
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3305 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxFrame
*arg1
= (wxFrame
*) 0 ;
3308 int arg2
= (int) 1 ;
3309 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3310 int arg4
= (int) 0 ;
3311 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3312 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3313 wxStatusBar
*result
;
3314 bool temp5
= False
;
3315 PyObject
* obj0
= 0 ;
3316 PyObject
* obj1
= 0 ;
3317 PyObject
* obj2
= 0 ;
3318 PyObject
* obj3
= 0 ;
3319 PyObject
* obj4
= 0 ;
3321 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3328 arg2
= (int) SWIG_AsInt(obj1
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3332 arg3
= (long) SWIG_AsLong(obj2
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3336 arg4
= (int) SWIG_AsInt(obj3
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3341 arg5
= wxString_in_helper(obj4
);
3342 if (arg5
== NULL
) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 resultobj
= wxPyMake_wxObject(result
);
3370 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxFrame
*arg1
= (wxFrame
*) 0 ;
3373 wxStatusBar
*result
;
3374 PyObject
* obj0
= 0 ;
3376 (char *) "self", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3390 resultobj
= wxPyMake_wxObject(result
);
3398 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3400 wxFrame
*arg1
= (wxFrame
*) 0 ;
3401 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3402 PyObject
* obj0
= 0 ;
3403 PyObject
* obj1
= 0 ;
3405 (char *) "self",(char *) "statBar", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 (arg1
)->SetStatusBar(arg2
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 Py_INCREF(Py_None
); resultobj
= Py_None
;
3427 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxFrame
*arg1
= (wxFrame
*) 0 ;
3430 wxString
*arg2
= 0 ;
3431 int arg3
= (int) 0 ;
3432 bool temp2
= False
;
3433 PyObject
* obj0
= 0 ;
3434 PyObject
* obj1
= 0 ;
3435 PyObject
* obj2
= 0 ;
3437 (char *) "self",(char *) "text",(char *) "number", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3444 arg2
= wxString_in_helper(obj1
);
3445 if (arg2
== NULL
) SWIG_fail
;
3449 arg3
= (int) SWIG_AsInt(obj2
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3459 Py_INCREF(Py_None
); resultobj
= Py_None
;
3474 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxFrame
*arg1
= (wxFrame
*) 0 ;
3478 int *arg3
= (int *) 0 ;
3479 PyObject
* obj0
= 0 ;
3480 PyObject
* obj1
= 0 ;
3482 (char *) "self",(char *) "widths", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3489 arg2
= PyList_Size(obj1
);
3490 arg3
= int_LIST_helper(obj1
);
3491 if (arg3
== NULL
) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 Py_INCREF(Py_None
); resultobj
= Py_None
;
3502 if (arg3
) delete [] arg3
;
3507 if (arg3
) delete [] arg3
;
3513 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxFrame
*arg1
= (wxFrame
*) 0 ;
3516 wxString
*arg2
= 0 ;
3517 int arg3
= (int) 0 ;
3518 bool temp2
= False
;
3519 PyObject
* obj0
= 0 ;
3520 PyObject
* obj1
= 0 ;
3521 PyObject
* obj2
= 0 ;
3523 (char *) "self",(char *) "text",(char *) "number", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 arg2
= wxString_in_helper(obj1
);
3531 if (arg2
== NULL
) SWIG_fail
;
3535 arg3
= (int) SWIG_AsInt(obj2
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 Py_INCREF(Py_None
); resultobj
= Py_None
;
3560 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
*resultobj
;
3562 wxFrame
*arg1
= (wxFrame
*) 0 ;
3563 int arg2
= (int) 0 ;
3564 PyObject
* obj0
= 0 ;
3565 PyObject
* obj1
= 0 ;
3567 (char *) "self",(char *) "number", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3574 arg2
= (int) SWIG_AsInt(obj1
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 (arg1
)->PopStatusText(arg2
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 Py_INCREF(Py_None
); resultobj
= Py_None
;
3591 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxFrame
*arg1
= (wxFrame
*) 0 ;
3595 PyObject
* obj0
= 0 ;
3596 PyObject
* obj1
= 0 ;
3598 (char *) "self",(char *) "n", NULL
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3604 arg2
= (int) SWIG_AsInt(obj1
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 (arg1
)->SetStatusBarPane(arg2
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 Py_INCREF(Py_None
); resultobj
= Py_None
;
3620 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxFrame
*arg1
= (wxFrame
*) 0 ;
3624 PyObject
* obj0
= 0 ;
3626 (char *) "self", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 resultobj
= SWIG_FromInt((int)result
);
3646 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxFrame
*arg1
= (wxFrame
*) 0 ;
3649 long arg2
= (long) -1 ;
3650 int arg3
= (int) -1 ;
3651 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3652 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3654 bool temp4
= False
;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3657 PyObject
* obj2
= 0 ;
3658 PyObject
* obj3
= 0 ;
3660 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3667 arg2
= (long) SWIG_AsLong(obj1
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3671 arg3
= (int) SWIG_AsInt(obj2
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3676 arg4
= wxString_in_helper(obj3
);
3677 if (arg4
== NULL
) SWIG_fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3689 resultobj
= wxPyMake_wxObject(result
);
3705 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
;
3707 wxFrame
*arg1
= (wxFrame
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3711 (char *) "self", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3725 resultobj
= wxPyMake_wxObject(result
);
3733 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
*resultobj
;
3735 wxFrame
*arg1
= (wxFrame
*) 0 ;
3736 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3737 PyObject
* obj0
= 0 ;
3738 PyObject
* obj1
= 0 ;
3740 (char *) "self",(char *) "toolbar", NULL
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 (arg1
)->SetToolBar(arg2
);
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 Py_INCREF(Py_None
); resultobj
= Py_None
;
3762 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxFrame
*arg1
= (wxFrame
*) 0 ;
3765 wxString
*arg2
= 0 ;
3767 bool temp2
= False
;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3770 PyObject
* obj2
= 0 ;
3772 (char *) "self",(char *) "text",(char *) "show", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 arg2
= wxString_in_helper(obj1
);
3780 if (arg2
== NULL
) SWIG_fail
;
3783 arg3
= (bool) SWIG_AsBool(obj2
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3807 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxFrame
*arg1
= (wxFrame
*) 0 ;
3810 wxMenu
*arg2
= (wxMenu
*) NULL
;
3811 PyObject
* obj0
= 0 ;
3812 PyObject
* obj1
= 0 ;
3814 (char *) "self",(char *) "menu", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 (arg1
)->DoMenuUpdates(arg2
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 Py_INCREF(Py_None
); resultobj
= Py_None
;
3838 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3841 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3843 return Py_BuildValue((char *)"");
3845 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxWindow
*arg1
= (wxWindow
*) 0 ;
3849 wxString
*arg3
= 0 ;
3850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3854 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3855 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3856 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3858 bool temp3
= False
;
3861 bool temp7
= False
;
3862 PyObject
* obj0
= 0 ;
3863 PyObject
* obj1
= 0 ;
3864 PyObject
* obj2
= 0 ;
3865 PyObject
* obj3
= 0 ;
3866 PyObject
* obj4
= 0 ;
3867 PyObject
* obj5
= 0 ;
3868 PyObject
* obj6
= 0 ;
3870 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 arg2
= (int const) SWIG_AsInt(obj1
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 arg3
= wxString_in_helper(obj2
);
3880 if (arg3
== NULL
) SWIG_fail
;
3886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3892 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3896 arg6
= (long) SWIG_AsLong(obj5
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3901 arg7
= wxString_in_helper(obj6
);
3902 if (arg7
== NULL
) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3936 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 result
= (wxDialog
*)new wxDialog();
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3958 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxDialog
*arg1
= (wxDialog
*) 0 ;
3961 wxWindow
*arg2
= (wxWindow
*) 0 ;
3963 wxString
*arg4
= 0 ;
3964 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3965 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3966 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3967 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3968 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3969 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3970 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3972 bool temp4
= False
;
3975 bool temp8
= False
;
3976 PyObject
* obj0
= 0 ;
3977 PyObject
* obj1
= 0 ;
3978 PyObject
* obj2
= 0 ;
3979 PyObject
* obj3
= 0 ;
3980 PyObject
* obj4
= 0 ;
3981 PyObject
* obj5
= 0 ;
3982 PyObject
* obj6
= 0 ;
3983 PyObject
* obj7
= 0 ;
3985 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3993 arg3
= (int const) SWIG_AsInt(obj2
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 arg4
= wxString_in_helper(obj3
);
3997 if (arg4
== NULL
) SWIG_fail
;
4003 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4009 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4013 arg7
= (long) SWIG_AsLong(obj6
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4018 arg8
= wxString_in_helper(obj7
);
4019 if (arg8
== NULL
) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4055 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxDialog
*arg1
= (wxDialog
*) 0 ;
4059 PyObject
* obj0
= 0 ;
4060 PyObject
* obj1
= 0 ;
4062 (char *) "self",(char *) "returnCode", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4068 arg2
= (int) SWIG_AsInt(obj1
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 (arg1
)->SetReturnCode(arg2
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4077 Py_INCREF(Py_None
); resultobj
= Py_None
;
4084 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4086 wxDialog
*arg1
= (wxDialog
*) 0 ;
4088 PyObject
* obj0
= 0 ;
4090 (char *) "self", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 resultobj
= SWIG_FromInt((int)result
);
4110 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxDialog
*arg1
= (wxDialog
*) 0 ;
4113 wxString
*arg2
= 0 ;
4115 bool temp2
= False
;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "message", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4126 arg2
= wxString_in_helper(obj1
);
4127 if (arg2
== NULL
) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= wxPyMake_wxSizer(result
);
4154 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4156 wxDialog
*arg1
= (wxDialog
*) 0 ;
4159 PyObject
* obj0
= 0 ;
4160 PyObject
* obj1
= 0 ;
4162 (char *) "self",(char *) "flags", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4168 arg2
= (long) SWIG_AsLong(obj1
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4178 resultobj
= wxPyMake_wxSizer(result
);
4186 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxDialog
*arg1
= (wxDialog
*) 0 ;
4190 PyObject
* obj0
= 0 ;
4192 (char *) "self", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4214 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxDialog
*arg1
= (wxDialog
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4220 (char *) "self", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (int)(arg1
)->ShowModal();
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_FromInt((int)result
);
4240 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxDialog
*arg1
= (wxDialog
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4247 (char *) "self",(char *) "retCode", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4253 arg2
= (int) SWIG_AsInt(obj1
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 (arg1
)->EndModal(arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 Py_INCREF(Py_None
); resultobj
= Py_None
;
4269 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxDialog
*arg1
= (wxDialog
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4275 (char *) "self", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (bool)wxDialog_IsModalShowing(arg1
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4297 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4300 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4302 return Py_BuildValue((char *)"");
4304 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxWindow
*arg1
= (wxWindow
*) 0 ;
4308 wxString
*arg3
= 0 ;
4309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4313 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4314 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4315 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4316 wxMiniFrame
*result
;
4317 bool temp3
= False
;
4320 bool temp7
= False
;
4321 PyObject
* obj0
= 0 ;
4322 PyObject
* obj1
= 0 ;
4323 PyObject
* obj2
= 0 ;
4324 PyObject
* obj3
= 0 ;
4325 PyObject
* obj4
= 0 ;
4326 PyObject
* obj5
= 0 ;
4327 PyObject
* obj6
= 0 ;
4329 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4335 arg2
= (int const) SWIG_AsInt(obj1
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 arg3
= wxString_in_helper(obj2
);
4339 if (arg3
== NULL
) SWIG_fail
;
4345 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4351 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4355 arg6
= (long) SWIG_AsLong(obj5
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4360 arg7
= wxString_in_helper(obj6
);
4361 if (arg7
== NULL
) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4395 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxMiniFrame
*result
;
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= (wxMiniFrame
*)new wxMiniFrame();
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4417 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4420 wxWindow
*arg2
= (wxWindow
*) 0 ;
4422 wxString
*arg4
= 0 ;
4423 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4424 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4425 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4426 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4427 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4428 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4429 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4431 bool temp4
= False
;
4434 bool temp8
= False
;
4435 PyObject
* obj0
= 0 ;
4436 PyObject
* obj1
= 0 ;
4437 PyObject
* obj2
= 0 ;
4438 PyObject
* obj3
= 0 ;
4439 PyObject
* obj4
= 0 ;
4440 PyObject
* obj5
= 0 ;
4441 PyObject
* obj6
= 0 ;
4442 PyObject
* obj7
= 0 ;
4444 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4452 arg3
= (int const) SWIG_AsInt(obj2
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4455 arg4
= wxString_in_helper(obj3
);
4456 if (arg4
== NULL
) SWIG_fail
;
4462 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4468 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4472 arg7
= (long) SWIG_AsLong(obj6
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4477 arg8
= wxString_in_helper(obj7
);
4478 if (arg8
== NULL
) SWIG_fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4514 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4517 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4519 return Py_BuildValue((char *)"");
4521 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxBitmap
*arg1
= 0 ;
4524 wxWindow
*arg2
= (wxWindow
*) 0 ;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) wxNO_BORDER
;
4531 wxSplashScreenWindow
*result
;
4534 PyObject
* obj0
= 0 ;
4535 PyObject
* obj1
= 0 ;
4536 PyObject
* obj2
= 0 ;
4537 PyObject
* obj3
= 0 ;
4538 PyObject
* obj4
= 0 ;
4539 PyObject
* obj5
= 0 ;
4541 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4549 PyErr_SetString(PyExc_TypeError
,"null reference");
4552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4554 arg3
= (int) SWIG_AsInt(obj2
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4569 arg6
= (long) SWIG_AsLong(obj5
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4586 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
*resultobj
;
4588 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4589 wxBitmap
*arg2
= 0 ;
4590 PyObject
* obj0
= 0 ;
4591 PyObject
* obj1
= 0 ;
4593 (char *) "self",(char *) "bitmap", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4603 PyErr_SetString(PyExc_TypeError
,"null reference");
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 Py_INCREF(Py_None
); resultobj
= Py_None
;
4620 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
*resultobj
;
4622 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4624 PyObject
* obj0
= 0 ;
4626 (char *) "self", NULL
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4636 result
= (wxBitmap
*) &_result_ref
;
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4643 wxBitmap
* resultptr
= new wxBitmap(*result
);
4644 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4652 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4655 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4657 return Py_BuildValue((char *)"");
4659 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxBitmap
*arg1
= 0 ;
4664 wxWindow
*arg4
= (wxWindow
*) 0 ;
4666 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4667 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4668 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4669 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4670 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4671 wxSplashScreen
*result
;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4676 PyObject
* obj2
= 0 ;
4677 PyObject
* obj3
= 0 ;
4678 PyObject
* obj4
= 0 ;
4679 PyObject
* obj5
= 0 ;
4680 PyObject
* obj6
= 0 ;
4681 PyObject
* obj7
= 0 ;
4683 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4691 PyErr_SetString(PyExc_TypeError
,"null reference");
4694 arg2
= (long) SWIG_AsLong(obj1
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4696 arg3
= (int) SWIG_AsInt(obj2
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4698 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4700 arg5
= (int) SWIG_AsInt(obj4
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4705 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4711 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4715 arg8
= (long) SWIG_AsLong(obj7
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4732 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4736 PyObject
* obj0
= 0 ;
4738 (char *) "self", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= SWIG_FromLong((long)result
);
4758 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4761 wxSplashScreenWindow
*result
;
4762 PyObject
* obj0
= 0 ;
4764 (char *) "self", NULL
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4784 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4788 PyObject
* obj0
= 0 ;
4790 (char *) "self", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 resultobj
= SWIG_FromInt((int)result
);
4810 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4813 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4815 return Py_BuildValue((char *)"");
4817 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
;
4819 wxWindow
*arg1
= (wxWindow
*) 0 ;
4820 int arg2
= (int) -1 ;
4821 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4822 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4823 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4824 wxStatusBar
*result
;
4825 bool temp4
= False
;
4826 PyObject
* obj0
= 0 ;
4827 PyObject
* obj1
= 0 ;
4828 PyObject
* obj2
= 0 ;
4829 PyObject
* obj3
= 0 ;
4831 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4838 arg2
= (int) SWIG_AsInt(obj1
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4842 arg3
= (long) SWIG_AsLong(obj2
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4847 arg4
= wxString_in_helper(obj3
);
4848 if (arg4
== NULL
) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= wxPyMake_wxObject(result
);
4876 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxStatusBar
*result
;
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= (wxStatusBar
*)new wxStatusBar();
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= wxPyMake_wxObject(result
);
4900 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4903 wxWindow
*arg2
= (wxWindow
*) 0 ;
4905 long arg4
= (long) wxST_SIZEGRIP
;
4906 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4907 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4909 bool temp5
= False
;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4912 PyObject
* obj2
= 0 ;
4913 PyObject
* obj3
= 0 ;
4914 PyObject
* obj4
= 0 ;
4916 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4924 arg3
= (int) SWIG_AsInt(obj2
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 arg4
= (long) SWIG_AsLong(obj3
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4932 arg5
= wxString_in_helper(obj4
);
4933 if (arg5
== NULL
) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4961 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
;
4963 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4964 int arg2
= (int) 1 ;
4965 PyObject
* obj0
= 0 ;
4966 PyObject
* obj1
= 0 ;
4968 (char *) "self",(char *) "number", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4975 arg2
= (int) SWIG_AsInt(obj1
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 (arg1
)->SetFieldsCount(arg2
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 Py_INCREF(Py_None
); resultobj
= Py_None
;
4992 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4998 (char *) "self", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_FromInt((int)result
);
5018 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5021 wxString
*arg2
= 0 ;
5022 int arg3
= (int) 0 ;
5023 bool temp2
= False
;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5026 PyObject
* obj2
= 0 ;
5028 (char *) "self",(char *) "text",(char *) "number", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5035 arg2
= wxString_in_helper(obj1
);
5036 if (arg2
== NULL
) SWIG_fail
;
5040 arg3
= (int) SWIG_AsInt(obj2
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 Py_INCREF(Py_None
); resultobj
= Py_None
;
5065 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
;
5067 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5068 int arg2
= (int) 0 ;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5073 (char *) "self",(char *) "number", NULL
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5080 arg2
= (int) SWIG_AsInt(obj1
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5103 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5105 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5106 wxString
*arg2
= 0 ;
5107 int arg3
= (int) 0 ;
5108 bool temp2
= False
;
5109 PyObject
* obj0
= 0 ;
5110 PyObject
* obj1
= 0 ;
5111 PyObject
* obj2
= 0 ;
5113 (char *) "self",(char *) "text",(char *) "number", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5120 arg2
= wxString_in_helper(obj1
);
5121 if (arg2
== NULL
) SWIG_fail
;
5125 arg3
= (int) SWIG_AsInt(obj2
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 Py_INCREF(Py_None
); resultobj
= Py_None
;
5150 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5153 int arg2
= (int) 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5157 (char *) "self",(char *) "number", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5164 arg2
= (int) SWIG_AsInt(obj1
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 (arg1
)->PopStatusText(arg2
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 Py_INCREF(Py_None
); resultobj
= Py_None
;
5181 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5185 int *arg3
= (int *) 0 ;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5189 (char *) "self",(char *) "widths", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5196 arg2
= PyList_Size(obj1
);
5197 arg3
= int_LIST_helper(obj1
);
5198 if (arg3
== NULL
) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 Py_INCREF(Py_None
); resultobj
= Py_None
;
5209 if (arg3
) delete [] arg3
;
5214 if (arg3
) delete [] arg3
;
5220 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5225 PyObject
* obj0
= 0 ;
5226 PyObject
* obj1
= 0 ;
5228 (char *) "self",(char *) "i", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5234 arg2
= (int) SWIG_AsInt(obj1
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5245 resultptr
= new wxRect((wxRect
&) result
);
5246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5254 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5259 PyObject
* obj1
= 0 ;
5261 (char *) "self",(char *) "height", NULL
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 arg2
= (int) SWIG_AsInt(obj1
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 (arg1
)->SetMinHeight(arg2
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 Py_INCREF(Py_None
); resultobj
= Py_None
;
5283 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5289 (char *) "self", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= SWIG_FromInt((int)result
);
5309 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5315 (char *) "self", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= SWIG_FromInt((int)result
);
5335 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5338 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5340 return Py_BuildValue((char *)"");
5342 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5343 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5348 static PyObject
*_wrap_SplitterNameStr_get() {
5353 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5355 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5362 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxWindow
*arg1
= (wxWindow
*) 0 ;
5366 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5367 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5368 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5369 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5370 long arg5
= (long) wxSP_3D
;
5371 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5373 wxSplitterWindow
*result
;
5376 bool temp6
= False
;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5379 PyObject
* obj2
= 0 ;
5380 PyObject
* obj3
= 0 ;
5381 PyObject
* obj4
= 0 ;
5382 PyObject
* obj5
= 0 ;
5384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5390 arg2
= (int) SWIG_AsInt(obj1
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5401 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5405 arg5
= (long) SWIG_AsLong(obj4
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5410 arg6
= wxString_in_helper(obj5
);
5411 if (arg6
== NULL
) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5437 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxSplitterWindow
*result
;
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5459 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
;
5461 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5462 wxWindow
*arg2
= (wxWindow
*) 0 ;
5464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5468 long arg6
= (long) wxSP_3D
;
5469 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5474 bool temp7
= False
;
5475 PyObject
* obj0
= 0 ;
5476 PyObject
* obj1
= 0 ;
5477 PyObject
* obj2
= 0 ;
5478 PyObject
* obj3
= 0 ;
5479 PyObject
* obj4
= 0 ;
5480 PyObject
* obj5
= 0 ;
5481 PyObject
* obj6
= 0 ;
5483 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5491 arg3
= (int) SWIG_AsInt(obj2
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5496 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5502 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5506 arg6
= (long) SWIG_AsLong(obj5
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5511 arg7
= wxString_in_helper(obj6
);
5512 if (arg7
== NULL
) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5540 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= wxPyMake_wxObject(result
);
5568 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5574 (char *) "self", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5588 resultobj
= wxPyMake_wxObject(result
);
5596 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5600 PyObject
* obj0
= 0 ;
5601 PyObject
* obj1
= 0 ;
5603 (char *) "self",(char *) "mode", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5609 arg2
= (int) SWIG_AsInt(obj1
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 (arg1
)->SetSplitMode(arg2
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 Py_INCREF(Py_None
); resultobj
= Py_None
;
5625 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5631 (char *) "self", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_FromInt((int)result
);
5651 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5654 wxWindow
*arg2
= (wxWindow
*) 0 ;
5655 PyObject
* obj0
= 0 ;
5656 PyObject
* obj1
= 0 ;
5658 (char *) "self",(char *) "window", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 (arg1
)->Initialize(arg2
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 Py_INCREF(Py_None
); resultobj
= Py_None
;
5680 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5683 wxWindow
*arg2
= (wxWindow
*) 0 ;
5684 wxWindow
*arg3
= (wxWindow
*) 0 ;
5685 int arg4
= (int) 0 ;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5689 PyObject
* obj2
= 0 ;
5690 PyObject
* obj3
= 0 ;
5692 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5700 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5703 arg4
= (int) SWIG_AsInt(obj3
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5722 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5725 wxWindow
*arg2
= (wxWindow
*) 0 ;
5726 wxWindow
*arg3
= (wxWindow
*) 0 ;
5727 int arg4
= (int) 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5731 PyObject
* obj2
= 0 ;
5732 PyObject
* obj3
= 0 ;
5734 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5742 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5745 arg4
= (int) SWIG_AsInt(obj3
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5764 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
;
5766 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5767 wxWindow
*arg2
= (wxWindow
*) NULL
;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj1
= 0 ;
5772 (char *) "self",(char *) "toRemove", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (bool)(arg1
)->Unsplit(arg2
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5801 wxWindow
*arg2
= (wxWindow
*) 0 ;
5802 wxWindow
*arg3
= (wxWindow
*) 0 ;
5804 PyObject
* obj0
= 0 ;
5805 PyObject
* obj1
= 0 ;
5806 PyObject
* obj2
= 0 ;
5808 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5816 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5834 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5839 (char *) "self", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 (arg1
)->UpdateSize();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5863 PyObject
* obj0
= 0 ;
5865 (char *) "self", NULL
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5887 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
*resultobj
;
5889 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5891 PyObject
* obj0
= 0 ;
5892 PyObject
* obj1
= 0 ;
5894 (char *) "self",(char *) "width", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5900 arg2
= (int) SWIG_AsInt(obj1
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 (arg1
)->SetSashSize(arg2
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 Py_INCREF(Py_None
); resultobj
= Py_None
;
5916 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5920 PyObject
* obj0
= 0 ;
5921 PyObject
* obj1
= 0 ;
5923 (char *) "self",(char *) "width", NULL
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5929 arg2
= (int) SWIG_AsInt(obj1
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 (arg1
)->SetBorderSize(arg2
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 Py_INCREF(Py_None
); resultobj
= Py_None
;
5945 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
;
5947 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5951 (char *) "self", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= SWIG_FromInt((int)result
);
5971 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
*resultobj
;
5973 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5975 PyObject
* obj0
= 0 ;
5977 (char *) "self", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= SWIG_FromInt((int)result
);
5997 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
;
5999 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6001 bool arg3
= (bool) True
;
6002 PyObject
* obj0
= 0 ;
6003 PyObject
* obj1
= 0 ;
6004 PyObject
* obj2
= 0 ;
6006 (char *) "self",(char *) "position",(char *) "redraw", NULL
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6012 arg2
= (int) SWIG_AsInt(obj1
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 arg3
= (bool) SWIG_AsBool(obj2
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 (arg1
)->SetSashPosition(arg2
,arg3
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 Py_INCREF(Py_None
); resultobj
= Py_None
;
6032 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6034 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6038 (char *) "self", NULL
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= SWIG_FromInt((int)result
);
6058 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6062 PyObject
* obj0
= 0 ;
6063 PyObject
* obj1
= 0 ;
6065 (char *) "self",(char *) "min", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6071 arg2
= (int) SWIG_AsInt(obj1
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 (arg1
)->SetMinimumPaneSize(arg2
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 Py_INCREF(Py_None
); resultobj
= Py_None
;
6087 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6091 PyObject
* obj0
= 0 ;
6093 (char *) "self", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 resultobj
= SWIG_FromInt((int)result
);
6113 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6118 int arg4
= (int) 5 ;
6120 PyObject
* obj0
= 0 ;
6121 PyObject
* obj1
= 0 ;
6122 PyObject
* obj2
= 0 ;
6123 PyObject
* obj3
= 0 ;
6125 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6131 arg2
= (int) SWIG_AsInt(obj1
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6133 arg3
= (int) SWIG_AsInt(obj2
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 arg4
= (int) SWIG_AsInt(obj3
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6155 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6158 PyObject
* obj0
= 0 ;
6160 (char *) "self", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 (arg1
)->SizeWindows();
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 Py_INCREF(Py_None
); resultobj
= Py_None
;
6180 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6187 (char *) "self",(char *) "needUpdating", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6193 arg2
= (bool) SWIG_AsBool(obj1
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 (arg1
)->SetNeedUpdating(arg2
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 Py_INCREF(Py_None
); resultobj
= Py_None
;
6209 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
;
6211 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6213 PyObject
* obj0
= 0 ;
6215 (char *) "self", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6237 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6240 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6242 return Py_BuildValue((char *)"");
6244 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6247 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6248 wxSplitterEvent
*result
;
6249 PyObject
* obj0
= 0 ;
6250 PyObject
* obj1
= 0 ;
6252 (char *) "type",(char *) "splitter", NULL
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6257 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6278 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6285 (char *) "self",(char *) "pos", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6291 arg2
= (int) SWIG_AsInt(obj1
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 (arg1
)->SetSashPosition(arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 Py_INCREF(Py_None
); resultobj
= Py_None
;
6307 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6311 PyObject
* obj0
= 0 ;
6313 (char *) "self", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_FromInt((int)result
);
6333 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= wxPyMake_wxObject(result
);
6361 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= SWIG_FromInt((int)result
);
6387 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6393 (char *) "self", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 resultobj
= SWIG_FromInt((int)result
);
6413 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6416 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6418 return Py_BuildValue((char *)"");
6420 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6421 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6426 static PyObject
*_wrap_SashNameStr_get() {
6431 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6433 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6440 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6441 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6446 static PyObject
*_wrap_SashLayoutNameStr_get() {
6451 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6453 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6460 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
*resultobj
;
6462 wxWindow
*arg1
= (wxWindow
*) 0 ;
6464 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6465 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6466 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6467 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6468 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6469 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6470 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6471 wxSashWindow
*result
;
6474 bool temp6
= False
;
6475 PyObject
* obj0
= 0 ;
6476 PyObject
* obj1
= 0 ;
6477 PyObject
* obj2
= 0 ;
6478 PyObject
* obj3
= 0 ;
6479 PyObject
* obj4
= 0 ;
6480 PyObject
* obj5
= 0 ;
6482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6488 arg2
= (int) SWIG_AsInt(obj1
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6493 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6499 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6503 arg5
= (long) SWIG_AsLong(obj4
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6508 arg6
= wxString_in_helper(obj5
);
6509 if (arg6
== NULL
) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6535 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxSashWindow
*result
;
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (wxSashWindow
*)new wxSashWindow();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6557 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6560 wxWindow
*arg2
= (wxWindow
*) 0 ;
6562 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6563 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6564 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6565 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6566 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6567 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6568 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6572 bool temp7
= False
;
6573 PyObject
* obj0
= 0 ;
6574 PyObject
* obj1
= 0 ;
6575 PyObject
* obj2
= 0 ;
6576 PyObject
* obj3
= 0 ;
6577 PyObject
* obj4
= 0 ;
6578 PyObject
* obj5
= 0 ;
6579 PyObject
* obj6
= 0 ;
6581 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6589 arg3
= (int) SWIG_AsInt(obj2
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6604 arg6
= (long) SWIG_AsLong(obj5
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6609 arg7
= wxString_in_helper(obj6
);
6610 if (arg7
== NULL
) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6638 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6643 PyObject
* obj0
= 0 ;
6644 PyObject
* obj1
= 0 ;
6645 PyObject
* obj2
= 0 ;
6647 (char *) "self",(char *) "edge",(char *) "sash", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6653 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6655 arg3
= (bool) SWIG_AsBool(obj2
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 Py_INCREF(Py_None
); resultobj
= Py_None
;
6671 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6679 (char *) "self",(char *) "edge", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6685 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6703 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6710 PyObject
* obj2
= 0 ;
6712 (char *) "self",(char *) "edge",(char *) "border", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6718 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6720 arg3
= (bool) SWIG_AsBool(obj2
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 Py_INCREF(Py_None
); resultobj
= Py_None
;
6736 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
;
6738 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6741 PyObject
* obj0
= 0 ;
6742 PyObject
* obj1
= 0 ;
6744 (char *) "self",(char *) "edge", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6750 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6768 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6773 PyObject
* obj0
= 0 ;
6774 PyObject
* obj1
= 0 ;
6776 (char *) "self",(char *) "edge", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6782 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_FromInt((int)result
);
6798 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6805 (char *) "self",(char *) "width", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6811 arg2
= (int) SWIG_AsInt(obj1
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 (arg1
)->SetDefaultBorderSize(arg2
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 Py_INCREF(Py_None
); resultobj
= Py_None
;
6827 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6831 PyObject
* obj0
= 0 ;
6833 (char *) "self", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= SWIG_FromInt((int)result
);
6853 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6860 (char *) "self",(char *) "width", NULL
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6866 arg2
= (int) SWIG_AsInt(obj1
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 (arg1
)->SetExtraBorderSize(arg2
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 Py_INCREF(Py_None
); resultobj
= Py_None
;
6882 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6888 (char *) "self", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_FromInt((int)result
);
6908 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6915 (char *) "self",(char *) "min", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6921 arg2
= (int) SWIG_AsInt(obj1
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 (arg1
)->SetMinimumSizeX(arg2
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 Py_INCREF(Py_None
); resultobj
= Py_None
;
6937 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6941 PyObject
* obj0
= 0 ;
6942 PyObject
* obj1
= 0 ;
6944 (char *) "self",(char *) "min", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6950 arg2
= (int) SWIG_AsInt(obj1
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 (arg1
)->SetMinimumSizeY(arg2
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 Py_INCREF(Py_None
); resultobj
= Py_None
;
6966 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6972 (char *) "self", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_FromInt((int)result
);
6992 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
;
6994 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6996 PyObject
* obj0
= 0 ;
6998 (char *) "self", NULL
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= SWIG_FromInt((int)result
);
7018 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7025 (char *) "self",(char *) "max", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7031 arg2
= (int) SWIG_AsInt(obj1
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 (arg1
)->SetMaximumSizeX(arg2
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 Py_INCREF(Py_None
); resultobj
= Py_None
;
7047 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7054 (char *) "self",(char *) "max", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7060 arg2
= (int) SWIG_AsInt(obj1
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 (arg1
)->SetMaximumSizeY(arg2
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 Py_INCREF(Py_None
); resultobj
= Py_None
;
7076 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7080 PyObject
* obj0
= 0 ;
7082 (char *) "self", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_FromInt((int)result
);
7102 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7106 PyObject
* obj0
= 0 ;
7108 (char *) "self", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_FromInt((int)result
);
7128 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7133 int arg4
= (int) 2 ;
7135 PyObject
* obj0
= 0 ;
7136 PyObject
* obj1
= 0 ;
7137 PyObject
* obj2
= 0 ;
7138 PyObject
* obj3
= 0 ;
7140 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7146 arg2
= (int) SWIG_AsInt(obj1
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7148 arg3
= (int) SWIG_AsInt(obj2
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 arg4
= (int) SWIG_AsInt(obj3
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_FromInt((int)result
);
7168 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
;
7170 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7173 (char *) "self", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 (arg1
)->SizeWindows();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 Py_INCREF(Py_None
); resultobj
= Py_None
;
7193 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7196 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7198 return Py_BuildValue((char *)"");
7200 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 int arg1
= (int) 0 ;
7203 int arg2
= (int) wxSASH_NONE
;
7204 wxSashEvent
*result
;
7205 PyObject
* obj0
= 0 ;
7206 PyObject
* obj1
= 0 ;
7208 (char *) "id",(char *) "edge", NULL
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7213 arg1
= (int) SWIG_AsInt(obj0
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7234 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7238 PyObject
* obj0
= 0 ;
7239 PyObject
* obj1
= 0 ;
7241 (char *) "self",(char *) "edge", NULL
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7247 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 Py_INCREF(Py_None
); resultobj
= Py_None
;
7263 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7269 (char *) "self", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= SWIG_FromInt((int)result
);
7289 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7295 PyObject
* obj1
= 0 ;
7297 (char *) "self",(char *) "rect", NULL
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7305 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 Py_INCREF(Py_None
); resultobj
= Py_None
;
7321 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
;
7323 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7325 PyObject
* obj0
= 0 ;
7327 (char *) "self", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7342 resultptr
= new wxRect((wxRect
&) result
);
7343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7351 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
;
7353 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7355 PyObject
* obj0
= 0 ;
7356 PyObject
* obj1
= 0 ;
7358 (char *) "self",(char *) "status", NULL
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7364 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 Py_INCREF(Py_None
); resultobj
= Py_None
;
7380 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
;
7382 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7384 PyObject
* obj0
= 0 ;
7386 (char *) "self", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 resultobj
= SWIG_FromInt((int)result
);
7406 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7409 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7411 return Py_BuildValue((char *)"");
7413 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 int arg1
= (int) 0 ;
7416 wxQueryLayoutInfoEvent
*result
;
7417 PyObject
* obj0
= 0 ;
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7424 arg1
= (int) SWIG_AsInt(obj0
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7441 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
;
7443 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7448 (char *) "self",(char *) "length", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7454 arg2
= (int) SWIG_AsInt(obj1
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 (arg1
)->SetRequestedLength(arg2
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 Py_INCREF(Py_None
); resultobj
= Py_None
;
7470 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7474 PyObject
* obj0
= 0 ;
7476 (char *) "self", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_FromInt((int)result
);
7496 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7500 PyObject
* obj0
= 0 ;
7501 PyObject
* obj1
= 0 ;
7503 (char *) "self",(char *) "flags", NULL
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7509 arg2
= (int) SWIG_AsInt(obj1
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 (arg1
)->SetFlags(arg2
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 Py_INCREF(Py_None
); resultobj
= Py_None
;
7525 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7527 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7529 PyObject
* obj0
= 0 ;
7531 (char *) "self", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= SWIG_FromInt((int)result
);
7551 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
;
7553 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7557 PyObject
* obj1
= 0 ;
7559 (char *) "self",(char *) "size", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7567 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 (arg1
)->SetSize((wxSize
const &)*arg2
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 Py_INCREF(Py_None
); resultobj
= Py_None
;
7583 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7587 PyObject
* obj0
= 0 ;
7589 (char *) "self", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7604 resultptr
= new wxSize((wxSize
&) result
);
7605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7613 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7620 (char *) "self",(char *) "orient", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 Py_INCREF(Py_None
); resultobj
= Py_None
;
7642 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7644 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7646 PyObject
* obj0
= 0 ;
7648 (char *) "self", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7656 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7661 resultobj
= SWIG_FromInt((int)result
);
7668 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
*resultobj
;
7670 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7675 (char *) "self",(char *) "align", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7681 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 Py_INCREF(Py_None
); resultobj
= Py_None
;
7697 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7701 PyObject
* obj0
= 0 ;
7703 (char *) "self", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_FromInt((int)result
);
7723 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7726 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7728 return Py_BuildValue((char *)"");
7730 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 int arg1
= (int) 0 ;
7733 wxCalculateLayoutEvent
*result
;
7734 PyObject
* obj0
= 0 ;
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7741 arg1
= (int) SWIG_AsInt(obj0
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7758 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7765 (char *) "self",(char *) "flags", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7771 arg2
= (int) SWIG_AsInt(obj1
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 (arg1
)->SetFlags(arg2
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 Py_INCREF(Py_None
); resultobj
= Py_None
;
7787 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7791 PyObject
* obj0
= 0 ;
7793 (char *) "self", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= SWIG_FromInt((int)result
);
7813 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7821 (char *) "self",(char *) "rect", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7829 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 (arg1
)->SetRect((wxRect
const &)*arg2
);
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 Py_INCREF(Py_None
); resultobj
= Py_None
;
7845 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7866 resultptr
= new wxRect((wxRect
&) result
);
7867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7875 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7878 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7880 return Py_BuildValue((char *)"");
7882 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxWindow
*arg1
= (wxWindow
*) 0 ;
7886 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7887 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7888 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7889 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7890 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7891 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7892 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7893 wxSashLayoutWindow
*result
;
7896 bool temp6
= False
;
7897 PyObject
* obj0
= 0 ;
7898 PyObject
* obj1
= 0 ;
7899 PyObject
* obj2
= 0 ;
7900 PyObject
* obj3
= 0 ;
7901 PyObject
* obj4
= 0 ;
7902 PyObject
* obj5
= 0 ;
7904 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7910 arg2
= (int) SWIG_AsInt(obj1
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7921 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7925 arg5
= (long) SWIG_AsLong(obj4
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7930 arg6
= wxString_in_helper(obj5
);
7931 if (arg6
== NULL
) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7957 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxSashLayoutWindow
*result
;
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7979 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7982 wxWindow
*arg2
= (wxWindow
*) 0 ;
7984 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7985 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7986 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7987 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7988 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7989 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7990 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7994 bool temp7
= False
;
7995 PyObject
* obj0
= 0 ;
7996 PyObject
* obj1
= 0 ;
7997 PyObject
* obj2
= 0 ;
7998 PyObject
* obj3
= 0 ;
7999 PyObject
* obj4
= 0 ;
8000 PyObject
* obj5
= 0 ;
8001 PyObject
* obj6
= 0 ;
8003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8011 arg3
= (int) SWIG_AsInt(obj2
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8016 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8022 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8026 arg6
= (long) SWIG_AsLong(obj5
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8031 arg7
= wxString_in_helper(obj6
);
8032 if (arg7
== NULL
) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8060 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (int)(arg1
)->GetAlignment();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= SWIG_FromInt((int)result
);
8086 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8090 PyObject
* obj0
= 0 ;
8092 (char *) "self", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 result
= (int)(arg1
)->GetOrientation();
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 resultobj
= SWIG_FromInt((int)result
);
8112 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8119 (char *) "self",(char *) "alignment", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8125 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 Py_INCREF(Py_None
); resultobj
= Py_None
;
8141 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8149 (char *) "self",(char *) "size", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8157 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8166 Py_INCREF(Py_None
); resultobj
= Py_None
;
8173 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
;
8175 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8177 PyObject
* obj0
= 0 ;
8178 PyObject
* obj1
= 0 ;
8180 (char *) "self",(char *) "orientation", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8186 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 Py_INCREF(Py_None
); resultobj
= Py_None
;
8202 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8205 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8207 return Py_BuildValue((char *)"");
8209 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxLayoutAlgorithm
*result
;
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8231 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8234 PyObject
* obj0
= 0 ;
8236 (char *) "self", NULL
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 Py_INCREF(Py_None
); resultobj
= Py_None
;
8256 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
;
8258 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8259 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8260 wxRect
*arg3
= (wxRect
*) NULL
;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8264 PyObject
* obj2
= 0 ;
8266 (char *) "self",(char *) "frame",(char *) "rect", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8275 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8294 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8297 wxFrame
*arg2
= (wxFrame
*) 0 ;
8298 wxWindow
*arg3
= (wxWindow
*) NULL
;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8302 PyObject
* obj2
= 0 ;
8304 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8313 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8332 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8335 wxWindow
*arg2
= (wxWindow
*) 0 ;
8336 wxWindow
*arg3
= (wxWindow
*) NULL
;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8340 PyObject
* obj2
= 0 ;
8342 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8351 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8370 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8373 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8375 return Py_BuildValue((char *)"");
8377 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxWindow
*arg1
= (wxWindow
*) 0 ;
8380 int arg2
= (int) wxBORDER_NONE
;
8381 wxPopupWindow
*result
;
8382 PyObject
* obj0
= 0 ;
8383 PyObject
* obj1
= 0 ;
8385 (char *) "parent",(char *) "flags", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8392 arg2
= (int) SWIG_AsInt(obj1
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8409 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxPopupWindow
*result
;
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (wxPopupWindow
*)new wxPopupWindow();
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8431 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8434 wxWindow
*arg2
= (wxWindow
*) 0 ;
8435 int arg3
= (int) wxBORDER_NONE
;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj1
= 0 ;
8439 PyObject
* obj2
= 0 ;
8441 (char *) "self",(char *) "parent",(char *) "flags", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8450 arg3
= (int) SWIG_AsInt(obj2
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8455 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8469 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8471 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8478 PyObject
* obj2
= 0 ;
8480 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8492 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 Py_INCREF(Py_None
); resultobj
= Py_None
;
8508 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8511 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8513 return Py_BuildValue((char *)"");
8515 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxWindow
*arg1
= (wxWindow
*) 0 ;
8518 int arg2
= (int) wxBORDER_NONE
;
8519 wxPyPopupTransientWindow
*result
;
8520 PyObject
* obj0
= 0 ;
8521 PyObject
* obj1
= 0 ;
8523 (char *) "parent",(char *) "style", NULL
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8530 arg2
= (int) SWIG_AsInt(obj1
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8547 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxPyPopupTransientWindow
*result
;
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8569 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8572 PyObject
*arg2
= (PyObject
*) 0 ;
8573 PyObject
*arg3
= (PyObject
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8576 PyObject
* obj2
= 0 ;
8578 (char *) "self",(char *) "self",(char *) "_class", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 Py_INCREF(Py_None
); resultobj
= Py_None
;
8600 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8603 wxWindow
*arg2
= (wxWindow
*) NULL
;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8607 (char *) "self",(char *) "focus", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 (arg1
)->Popup(arg2
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8624 Py_INCREF(Py_None
); resultobj
= Py_None
;
8631 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8636 (char *) "self", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 Py_INCREF(Py_None
); resultobj
= Py_None
;
8656 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8659 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8661 return Py_BuildValue((char *)"");
8663 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxWindow
*arg1
= (wxWindow
*) 0 ;
8666 wxString
*arg2
= 0 ;
8667 int arg3
= (int) 100 ;
8668 wxRect
*arg4
= (wxRect
*) NULL
;
8669 wxTipWindow
*result
;
8670 bool temp2
= False
;
8671 PyObject
* obj0
= 0 ;
8672 PyObject
* obj1
= 0 ;
8673 PyObject
* obj2
= 0 ;
8674 PyObject
* obj3
= 0 ;
8676 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8683 arg2
= wxString_in_helper(obj1
);
8684 if (arg2
== NULL
) SWIG_fail
;
8688 arg3
= (int) SWIG_AsInt(obj2
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8692 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8717 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8725 (char *) "self",(char *) "rectBound", NULL
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8733 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8752 PyObject
* obj0
= 0 ;
8754 (char *) "self", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 Py_INCREF(Py_None
); resultobj
= Py_None
;
8774 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8777 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8779 return Py_BuildValue((char *)"");
8781 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
;
8783 wxWindow
*arg1
= (wxWindow
*) 0 ;
8784 int arg2
= (int) wxID_ANY
;
8785 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8786 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8787 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8788 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8789 long arg5
= (long) 0 ;
8790 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8791 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8792 wxPyVScrolledWindow
*result
;
8795 bool temp6
= False
;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8798 PyObject
* obj2
= 0 ;
8799 PyObject
* obj3
= 0 ;
8800 PyObject
* obj4
= 0 ;
8801 PyObject
* obj5
= 0 ;
8803 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8810 arg2
= (int) SWIG_AsInt(obj1
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8822 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8826 arg5
= (long) SWIG_AsLong(obj4
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8831 arg6
= wxString_in_helper(obj5
);
8832 if (arg6
== NULL
) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8858 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxPyVScrolledWindow
*result
;
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8880 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8883 PyObject
*arg2
= (PyObject
*) 0 ;
8884 PyObject
*arg3
= (PyObject
*) 0 ;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8887 PyObject
* obj2
= 0 ;
8889 (char *) "self",(char *) "self",(char *) "_class", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 Py_INCREF(Py_None
); resultobj
= Py_None
;
8911 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
;
8913 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8914 wxWindow
*arg2
= (wxWindow
*) 0 ;
8915 int arg3
= (int) wxID_ANY
;
8916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8920 long arg6
= (long) 0 ;
8921 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8922 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8926 bool temp7
= False
;
8927 PyObject
* obj0
= 0 ;
8928 PyObject
* obj1
= 0 ;
8929 PyObject
* obj2
= 0 ;
8930 PyObject
* obj3
= 0 ;
8931 PyObject
* obj4
= 0 ;
8932 PyObject
* obj5
= 0 ;
8933 PyObject
* obj6
= 0 ;
8935 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8944 arg3
= (int) SWIG_AsInt(obj2
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8950 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8956 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8960 arg6
= (long) SWIG_AsLong(obj5
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8965 arg7
= wxString_in_helper(obj6
);
8966 if (arg7
== NULL
) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8994 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8998 PyObject
* obj0
= 0 ;
8999 PyObject
* obj1
= 0 ;
9001 (char *) "self",(char *) "count", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9007 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 (arg1
)->SetLineCount(arg2
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 Py_INCREF(Py_None
); resultobj
= Py_None
;
9023 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9028 PyObject
* obj0
= 0 ;
9029 PyObject
* obj1
= 0 ;
9031 (char *) "self",(char *) "line", NULL
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9037 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9055 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9060 PyObject
* obj0
= 0 ;
9061 PyObject
* obj1
= 0 ;
9063 (char *) "self",(char *) "lines", NULL
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9069 arg2
= (int) SWIG_AsInt(obj1
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 result
= (bool)(arg1
)->ScrollLines(arg2
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9087 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9093 PyObject
* obj1
= 0 ;
9095 (char *) "self",(char *) "pages", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9101 arg2
= (int) SWIG_AsInt(obj1
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 result
= (bool)(arg1
)->ScrollPages(arg2
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9119 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9126 (char *) "self",(char *) "line", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9132 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 (arg1
)->RefreshLine(arg2
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 Py_INCREF(Py_None
); resultobj
= Py_None
;
9148 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9153 PyObject
* obj0
= 0 ;
9154 PyObject
* obj1
= 0 ;
9155 PyObject
* obj2
= 0 ;
9157 (char *) "self",(char *) "from",(char *) "to", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9165 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 (arg1
)->RefreshLines(arg2
,arg3
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 Py_INCREF(Py_None
); resultobj
= Py_None
;
9181 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9189 PyObject
* obj2
= 0 ;
9191 (char *) "self",(char *) "x",(char *) "y", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 arg2
= (int) SWIG_AsInt(obj1
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9199 arg3
= (int) SWIG_AsInt(obj2
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_FromInt((int)result
);
9215 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9224 (char *) "self",(char *) "pt", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= SWIG_FromInt((int)result
);
9248 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9250 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9251 PyObject
* obj0
= 0 ;
9253 (char *) "self", NULL
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 (arg1
)->RefreshAll();
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 Py_INCREF(Py_None
); resultobj
= Py_None
;
9273 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
;
9275 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9279 (char *) "self", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9299 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9303 PyObject
* obj0
= 0 ;
9305 (char *) "self", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9325 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9331 (char *) "self", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9351 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
*resultobj
;
9353 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9356 PyObject
* obj0
= 0 ;
9357 PyObject
* obj1
= 0 ;
9359 (char *) "self",(char *) "line", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9383 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9386 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9388 return Py_BuildValue((char *)"");
9390 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9391 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9396 static PyObject
*_wrap_VListBoxNameStr_get() {
9401 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9403 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9410 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxWindow
*arg1
= (wxWindow
*) 0 ;
9413 int arg2
= (int) wxID_ANY
;
9414 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9415 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9416 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9417 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9418 long arg5
= (long) 0 ;
9419 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9420 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9421 wxPyVListBox
*result
;
9424 bool temp6
= False
;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9427 PyObject
* obj2
= 0 ;
9428 PyObject
* obj3
= 0 ;
9429 PyObject
* obj4
= 0 ;
9430 PyObject
* obj5
= 0 ;
9432 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 arg2
= (int) SWIG_AsInt(obj1
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9445 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9451 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9455 arg5
= (long) SWIG_AsLong(obj4
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9460 arg6
= wxString_in_helper(obj5
);
9461 if (arg6
== NULL
) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9487 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxPyVListBox
*result
;
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (wxPyVListBox
*)new wxPyVListBox();
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9509 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9512 PyObject
*arg2
= (PyObject
*) 0 ;
9513 PyObject
*arg3
= (PyObject
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9515 PyObject
* obj1
= 0 ;
9516 PyObject
* obj2
= 0 ;
9518 (char *) "self",(char *) "self",(char *) "_class", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 Py_INCREF(Py_None
); resultobj
= Py_None
;
9540 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9543 wxWindow
*arg2
= (wxWindow
*) 0 ;
9544 int arg3
= (int) wxID_ANY
;
9545 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9546 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9547 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9548 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9549 long arg6
= (long) 0 ;
9550 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9551 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9555 bool temp7
= False
;
9556 PyObject
* obj0
= 0 ;
9557 PyObject
* obj1
= 0 ;
9558 PyObject
* obj2
= 0 ;
9559 PyObject
* obj3
= 0 ;
9560 PyObject
* obj4
= 0 ;
9561 PyObject
* obj5
= 0 ;
9562 PyObject
* obj6
= 0 ;
9564 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9573 arg3
= (int) SWIG_AsInt(obj2
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9589 arg6
= (long) SWIG_AsLong(obj5
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9594 arg7
= wxString_in_helper(obj6
);
9595 if (arg7
== NULL
) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9623 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9627 PyObject
* obj0
= 0 ;
9629 (char *) "self", NULL
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9649 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9653 PyObject
* obj0
= 0 ;
9655 (char *) "self", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9677 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
;
9679 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9683 (char *) "self", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_FromInt((int)result
);
9703 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9711 (char *) "self",(char *) "item", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9717 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9735 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9743 (char *) "self",(char *) "item", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9749 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9767 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "self", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9793 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
;
9795 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9796 unsigned long *arg2
= 0 ;
9798 PyObject
* obj0
= 0 ;
9799 PyObject
* obj1
= 0 ;
9801 (char *) "self",(char *) "cookie", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9811 PyErr_SetString(PyExc_TypeError
,"null reference");
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_FromInt((int)result
);
9828 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9831 unsigned long *arg2
= 0 ;
9833 PyObject
* obj0
= 0 ;
9834 PyObject
* obj1
= 0 ;
9836 (char *) "self",(char *) "cookie", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9846 PyErr_SetString(PyExc_TypeError
,"null reference");
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_FromInt((int)result
);
9863 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 wxPoint
* resultptr
;
9884 resultptr
= new wxPoint((wxPoint
&) result
);
9885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9893 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9897 PyObject
* obj0
= 0 ;
9899 (char *) "self", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9909 result
= (wxColour
*) &_result_ref
;
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9922 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9929 (char *) "self",(char *) "count", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9935 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 (arg1
)->SetItemCount(arg2
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 Py_INCREF(Py_None
); resultobj
= Py_None
;
9951 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9954 PyObject
* obj0
= 0 ;
9956 (char *) "self", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 Py_INCREF(Py_None
); resultobj
= Py_None
;
9976 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9980 PyObject
* obj0
= 0 ;
9981 PyObject
* obj1
= 0 ;
9983 (char *) "self",(char *) "selection", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9989 arg2
= (int) SWIG_AsInt(obj1
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 (arg1
)->SetSelection(arg2
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 Py_INCREF(Py_None
); resultobj
= Py_None
;
10005 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10009 bool arg3
= (bool) True
;
10011 PyObject
* obj0
= 0 ;
10012 PyObject
* obj1
= 0 ;
10013 PyObject
* obj2
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self",(char *) "item",(char *) "select", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10021 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 arg3
= (bool) SWIG_AsBool(obj2
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10043 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
;
10045 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10049 PyObject
* obj0
= 0 ;
10050 PyObject
* obj1
= 0 ;
10051 PyObject
* obj2
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self",(char *) "from",(char *) "to", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10059 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10061 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10079 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "self",(char *) "item", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10092 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 (arg1
)->Toggle(arg2
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 Py_INCREF(Py_None
); resultobj
= Py_None
;
10108 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (bool)(arg1
)->SelectAll();
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10136 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10140 PyObject
* obj0
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 result
= (bool)(arg1
)->DeselectAll();
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10164 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
;
10166 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10167 wxPoint
*arg2
= 0 ;
10169 PyObject
* obj0
= 0 ;
10170 PyObject
* obj1
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self",(char *) "pt", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 Py_INCREF(Py_None
); resultobj
= Py_None
;
10196 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10201 PyObject
* obj0
= 0 ;
10202 PyObject
* obj1
= 0 ;
10203 PyObject
* obj2
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self",(char *) "x",(char *) "y", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 arg2
= (int) SWIG_AsInt(obj1
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10213 arg3
= (int) SWIG_AsInt(obj2
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 (arg1
)->SetMargins(arg2
,arg3
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 Py_INCREF(Py_None
); resultobj
= Py_None
;
10229 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10232 wxColour
*arg2
= 0 ;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self",(char *) "col", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10245 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 Py_INCREF(Py_None
); resultobj
= Py_None
;
10261 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10264 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10266 return Py_BuildValue((char *)"");
10268 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
;
10270 wxWindow
*arg1
= (wxWindow
*) 0 ;
10271 int arg2
= (int) wxID_ANY
;
10272 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10273 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10274 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10275 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10276 long arg5
= (long) 0 ;
10277 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10278 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10279 wxPyHtmlListBox
*result
;
10282 bool temp6
= False
;
10283 PyObject
* obj0
= 0 ;
10284 PyObject
* obj1
= 0 ;
10285 PyObject
* obj2
= 0 ;
10286 PyObject
* obj3
= 0 ;
10287 PyObject
* obj4
= 0 ;
10288 PyObject
* obj5
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10297 arg2
= (int) SWIG_AsInt(obj1
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10303 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10309 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10313 arg5
= (long) SWIG_AsLong(obj4
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10318 arg6
= wxString_in_helper(obj5
);
10319 if (arg6
== NULL
) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10345 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxPyHtmlListBox
*result
;
10348 char *kwnames
[] = {
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10367 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10370 PyObject
*arg2
= (PyObject
*) 0 ;
10371 PyObject
*arg3
= (PyObject
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 PyObject
* obj2
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self",(char *) "self",(char *) "_class", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 Py_INCREF(Py_None
); resultobj
= Py_None
;
10398 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10400 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10401 wxWindow
*arg2
= (wxWindow
*) 0 ;
10402 int arg3
= (int) wxID_ANY
;
10403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10407 long arg6
= (long) 0 ;
10408 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10409 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10413 bool temp7
= False
;
10414 PyObject
* obj0
= 0 ;
10415 PyObject
* obj1
= 0 ;
10416 PyObject
* obj2
= 0 ;
10417 PyObject
* obj3
= 0 ;
10418 PyObject
* obj4
= 0 ;
10419 PyObject
* obj5
= 0 ;
10420 PyObject
* obj6
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10431 arg3
= (int) SWIG_AsInt(obj2
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10447 arg6
= (long) SWIG_AsLong(obj5
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10452 arg7
= wxString_in_helper(obj6
);
10453 if (arg7
== NULL
) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10481 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10483 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10484 PyObject
* obj0
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 (arg1
)->RefreshAll();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 Py_INCREF(Py_None
); resultobj
= Py_None
;
10506 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10510 PyObject
* obj0
= 0 ;
10511 PyObject
* obj1
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "self",(char *) "count", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10519 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 (arg1
)->SetItemCount(arg2
);
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 Py_INCREF(Py_None
); resultobj
= Py_None
;
10535 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10538 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10540 return Py_BuildValue((char *)"");
10542 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
;
10544 wxTaskBarIcon
*result
;
10545 char *kwnames
[] = {
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10564 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10567 PyObject
* obj0
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 Py_INCREF(Py_None
); resultobj
= Py_None
;
10589 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
;
10591 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10617 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10621 PyObject
* obj0
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10645 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10649 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10650 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10652 bool temp3
= False
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 PyObject
* obj2
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10666 if (arg2
== NULL
) {
10667 PyErr_SetString(PyExc_TypeError
,"null reference");
10672 arg3
= wxString_in_helper(obj2
);
10673 if (arg3
== NULL
) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10701 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10703 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10705 PyObject
* obj0
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (bool)(arg1
)->RemoveIcon();
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10729 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10732 wxMenu
*arg2
= (wxMenu
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self",(char *) "menu", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (bool)(arg1
)->PopupMenu(arg2
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10761 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10764 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10766 return Py_BuildValue((char *)"");
10768 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
;
10771 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10772 wxTaskBarIconEvent
*result
;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "evtType",(char *) "tbIcon", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10780 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10798 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10801 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10803 return Py_BuildValue((char *)"");
10805 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10806 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10811 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10816 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10818 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10825 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10826 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10831 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10836 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10838 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10845 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10846 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10851 static PyObject
*_wrap_DirDialogNameStr_get() {
10856 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10858 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10865 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10866 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10871 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10876 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10878 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10885 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10886 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10891 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10896 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10898 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10905 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10906 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10911 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10916 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10918 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10925 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxColourData
*result
;
10928 char *kwnames
[] = {
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (wxColourData
*)new wxColourData();
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10947 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxColourData
*arg1
= (wxColourData
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 Py_INCREF(Py_None
); resultobj
= Py_None
;
10972 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxColourData
*arg1
= (wxColourData
*) 0 ;
10976 PyObject
* obj0
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (bool)(arg1
)->GetChooseFull();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11000 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11002 wxColourData
*arg1
= (wxColourData
*) 0 ;
11004 PyObject
* obj0
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 result
= (arg1
)->GetColour();
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11020 wxColour
* resultptr
;
11021 resultptr
= new wxColour((wxColour
&) result
);
11022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11030 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxColourData
*arg1
= (wxColourData
*) 0 ;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "i", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11044 arg2
= (int) SWIG_AsInt(obj1
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (arg1
)->GetCustomColour(arg2
);
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_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxColourData
*arg1
= (wxColourData
*) 0 ;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self",(char *) "flag", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11077 arg2
= (int) SWIG_AsInt(obj1
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 (arg1
)->SetChooseFull(arg2
);
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 Py_INCREF(Py_None
); resultobj
= Py_None
;
11093 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxColourData
*arg1
= (wxColourData
*) 0 ;
11096 wxColour
*arg2
= 0 ;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 char *kwnames
[] = {
11101 (char *) "self",(char *) "colour", NULL
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11109 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 (arg1
)->SetColour((wxColour
const &)*arg2
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 Py_INCREF(Py_None
); resultobj
= Py_None
;
11125 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxColourData
*arg1
= (wxColourData
*) 0 ;
11129 wxColour
*arg3
= 0 ;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 PyObject
* obj2
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self",(char *) "i",(char *) "colour", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11141 arg2
= (int) SWIG_AsInt(obj1
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11145 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 Py_INCREF(Py_None
); resultobj
= Py_None
;
11161 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11164 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11166 return Py_BuildValue((char *)"");
11168 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxWindow
*arg1
= (wxWindow
*) 0 ;
11171 wxColourData
*arg2
= (wxColourData
*) NULL
;
11172 wxColourDialog
*result
;
11173 PyObject
* obj0
= 0 ;
11174 PyObject
* obj1
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "parent",(char *) "data", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11200 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11203 wxColourData
*result
;
11204 PyObject
* obj0
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11216 result
= (wxColourData
*) &_result_ref
;
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11229 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11232 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11234 return Py_BuildValue((char *)"");
11236 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
;
11238 wxWindow
*arg1
= (wxWindow
*) 0 ;
11239 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11240 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11241 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11242 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11243 long arg4
= (long) 0 ;
11244 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11245 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11246 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11247 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11248 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11249 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11250 wxDirDialog
*result
;
11251 bool temp2
= False
;
11252 bool temp3
= False
;
11255 bool temp7
= False
;
11256 PyObject
* obj0
= 0 ;
11257 PyObject
* obj1
= 0 ;
11258 PyObject
* obj2
= 0 ;
11259 PyObject
* obj3
= 0 ;
11260 PyObject
* obj4
= 0 ;
11261 PyObject
* obj5
= 0 ;
11262 PyObject
* obj6
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11272 arg2
= wxString_in_helper(obj1
);
11273 if (arg2
== NULL
) SWIG_fail
;
11279 arg3
= wxString_in_helper(obj2
);
11280 if (arg3
== NULL
) SWIG_fail
;
11285 arg4
= (long) SWIG_AsLong(obj3
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11291 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11297 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11302 arg7
= wxString_in_helper(obj6
);
11303 if (arg7
== NULL
) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11345 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
;
11347 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11349 PyObject
* obj0
= 0 ;
11350 char *kwnames
[] = {
11351 (char *) "self", NULL
11354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (arg1
)->GetPath();
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11377 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11381 PyObject
* obj0
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 result
= (arg1
)->GetMessage();
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11409 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11413 PyObject
* obj0
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (long)(arg1
)->GetStyle();
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= SWIG_FromLong((long)result
);
11435 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11438 wxString
*arg2
= 0 ;
11439 bool temp2
= False
;
11440 PyObject
* obj0
= 0 ;
11441 PyObject
* obj1
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self",(char *) "message", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11450 arg2
= wxString_in_helper(obj1
);
11451 if (arg2
== NULL
) SWIG_fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 (arg1
)->SetMessage((wxString
const &)*arg2
);
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11461 Py_INCREF(Py_None
); resultobj
= Py_None
;
11476 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11477 PyObject
*resultobj
;
11478 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11479 wxString
*arg2
= 0 ;
11480 bool temp2
= False
;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self",(char *) "path", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11491 arg2
= wxString_in_helper(obj1
);
11492 if (arg2
== NULL
) SWIG_fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 (arg1
)->SetPath((wxString
const &)*arg2
);
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 Py_INCREF(Py_None
); resultobj
= Py_None
;
11517 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11520 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11522 return Py_BuildValue((char *)"");
11524 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxWindow
*arg1
= (wxWindow
*) 0 ;
11527 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11528 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11529 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11530 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11531 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11532 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11533 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11534 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11535 long arg6
= (long) 0 ;
11536 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11537 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11538 wxFileDialog
*result
;
11539 bool temp2
= False
;
11540 bool temp3
= False
;
11541 bool temp4
= False
;
11542 bool temp5
= False
;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 PyObject
* obj2
= 0 ;
11547 PyObject
* obj3
= 0 ;
11548 PyObject
* obj4
= 0 ;
11549 PyObject
* obj5
= 0 ;
11550 PyObject
* obj6
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11560 arg2
= wxString_in_helper(obj1
);
11561 if (arg2
== NULL
) SWIG_fail
;
11567 arg3
= wxString_in_helper(obj2
);
11568 if (arg3
== NULL
) SWIG_fail
;
11574 arg4
= wxString_in_helper(obj3
);
11575 if (arg4
== NULL
) SWIG_fail
;
11581 arg5
= wxString_in_helper(obj4
);
11582 if (arg5
== NULL
) SWIG_fail
;
11587 arg6
= (long) SWIG_AsLong(obj5
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11593 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11642 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11643 PyObject
*resultobj
;
11644 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11645 wxString
*arg2
= 0 ;
11646 bool temp2
= False
;
11647 PyObject
* obj0
= 0 ;
11648 PyObject
* obj1
= 0 ;
11649 char *kwnames
[] = {
11650 (char *) "self",(char *) "message", NULL
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11657 arg2
= wxString_in_helper(obj1
);
11658 if (arg2
== NULL
) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 (arg1
)->SetMessage((wxString
const &)*arg2
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 Py_INCREF(Py_None
); resultobj
= Py_None
;
11683 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11686 wxString
*arg2
= 0 ;
11687 bool temp2
= False
;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self",(char *) "path", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11698 arg2
= wxString_in_helper(obj1
);
11699 if (arg2
== NULL
) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 (arg1
)->SetPath((wxString
const &)*arg2
);
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 Py_INCREF(Py_None
); resultobj
= Py_None
;
11724 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
;
11726 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11727 wxString
*arg2
= 0 ;
11728 bool temp2
= False
;
11729 PyObject
* obj0
= 0 ;
11730 PyObject
* obj1
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self",(char *) "dir", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11739 arg2
= wxString_in_helper(obj1
);
11740 if (arg2
== NULL
) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 Py_INCREF(Py_None
); resultobj
= Py_None
;
11765 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
;
11767 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11768 wxString
*arg2
= 0 ;
11769 bool temp2
= False
;
11770 PyObject
* obj0
= 0 ;
11771 PyObject
* obj1
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "self",(char *) "name", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11780 arg2
= wxString_in_helper(obj1
);
11781 if (arg2
== NULL
) SWIG_fail
;
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 (arg1
)->SetFilename((wxString
const &)*arg2
);
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 Py_INCREF(Py_None
); resultobj
= Py_None
;
11806 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
;
11808 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11809 wxString
*arg2
= 0 ;
11810 bool temp2
= False
;
11811 PyObject
* obj0
= 0 ;
11812 PyObject
* obj1
= 0 ;
11813 char *kwnames
[] = {
11814 (char *) "self",(char *) "wildCard", NULL
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11821 arg2
= wxString_in_helper(obj1
);
11822 if (arg2
== NULL
) SWIG_fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11832 Py_INCREF(Py_None
); resultobj
= Py_None
;
11847 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11851 PyObject
* obj0
= 0 ;
11852 PyObject
* obj1
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self",(char *) "style", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11860 arg2
= (long) SWIG_AsLong(obj1
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 (arg1
)->SetStyle(arg2
);
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 Py_INCREF(Py_None
); resultobj
= Py_None
;
11876 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "filterIndex", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 arg2
= (int) SWIG_AsInt(obj1
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 (arg1
)->SetFilterIndex(arg2
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 Py_INCREF(Py_None
); resultobj
= Py_None
;
11905 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
;
11907 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11937 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11969 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11973 PyObject
* obj0
= 0 ;
11974 char *kwnames
[] = {
11975 (char *) "self", NULL
11978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12001 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12005 PyObject
* obj0
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12033 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
;
12035 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12037 PyObject
* obj0
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12065 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12069 PyObject
* obj0
= 0 ;
12070 char *kwnames
[] = {
12071 (char *) "self", NULL
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_FromLong((long)result
);
12091 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_FromInt((int)result
);
12117 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12121 PyObject
* obj0
= 0 ;
12122 char *kwnames
[] = {
12123 (char *) "self", NULL
12126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= result
;
12143 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= result
;
12169 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12172 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12174 return Py_BuildValue((char *)"");
12176 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
;
12178 wxWindow
*arg1
= (wxWindow
*) 0 ;
12179 wxString
*arg2
= 0 ;
12180 wxString
*arg3
= 0 ;
12181 int arg4
= (int) 0 ;
12182 wxString
*arg5
= (wxString
*) 0 ;
12183 long arg6
= (long) wxCHOICEDLG_STYLE
;
12184 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12185 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12186 wxMultiChoiceDialog
*result
;
12187 bool temp2
= False
;
12188 bool temp3
= False
;
12190 PyObject
* obj0
= 0 ;
12191 PyObject
* obj1
= 0 ;
12192 PyObject
* obj2
= 0 ;
12193 PyObject
* obj3
= 0 ;
12194 PyObject
* obj4
= 0 ;
12195 PyObject
* obj5
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12204 arg2
= wxString_in_helper(obj1
);
12205 if (arg2
== NULL
) SWIG_fail
;
12209 arg3
= wxString_in_helper(obj2
);
12210 if (arg3
== NULL
) SWIG_fail
;
12215 arg4
= PyList_Size(obj3
);
12216 arg5
= wxString_LIST_helper(obj3
);
12217 if (arg5
== NULL
) SWIG_fail
;
12221 arg6
= (long) SWIG_AsLong(obj4
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12227 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12247 if (arg5
) delete [] arg5
;
12260 if (arg5
) delete [] arg5
;
12266 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12269 wxArrayInt
*arg2
= 0 ;
12270 bool temp2
= False
;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self",(char *) "selections", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 if (! PySequence_Check(obj1
)) {
12282 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12285 arg2
= new wxArrayInt
;
12287 int i
, len
=PySequence_Length(obj1
);
12288 for (i
=0; i
<len
; i
++) {
12289 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12290 PyObject
* number
= PyNumber_Int(item
);
12291 arg2
->Add(PyInt_AS_LONG(number
));
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 Py_INCREF(Py_None
); resultobj
= Py_None
;
12305 if (temp2
) delete arg2
;
12310 if (temp2
) delete arg2
;
12316 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12320 PyObject
* obj0
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= result
;
12342 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12345 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12347 return Py_BuildValue((char *)"");
12349 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxWindow
*arg1
= (wxWindow
*) 0 ;
12352 wxString
*arg2
= 0 ;
12353 wxString
*arg3
= 0 ;
12355 wxString
*arg5
= (wxString
*) 0 ;
12356 long arg6
= (long) wxCHOICEDLG_STYLE
;
12357 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12358 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12359 wxSingleChoiceDialog
*result
;
12360 bool temp2
= False
;
12361 bool temp3
= False
;
12363 PyObject
* obj0
= 0 ;
12364 PyObject
* obj1
= 0 ;
12365 PyObject
* obj2
= 0 ;
12366 PyObject
* obj3
= 0 ;
12367 PyObject
* obj4
= 0 ;
12368 PyObject
* obj5
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12377 arg2
= wxString_in_helper(obj1
);
12378 if (arg2
== NULL
) SWIG_fail
;
12382 arg3
= wxString_in_helper(obj2
);
12383 if (arg3
== NULL
) SWIG_fail
;
12387 arg4
= PyList_Size(obj3
);
12388 arg5
= wxString_LIST_helper(obj3
);
12389 if (arg5
== NULL
) SWIG_fail
;
12392 arg6
= (long) SWIG_AsLong(obj4
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12398 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12418 if (arg5
) delete [] arg5
;
12431 if (arg5
) delete [] arg5
;
12437 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (int)(arg1
)->GetSelection();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= SWIG_FromInt((int)result
);
12463 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12467 PyObject
* obj0
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 result
= (arg1
)->GetStringSelection();
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12495 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "self",(char *) "sel", NULL
12505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12508 arg2
= (int) SWIG_AsInt(obj1
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 (arg1
)->SetSelection(arg2
);
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 Py_INCREF(Py_None
); resultobj
= Py_None
;
12524 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12527 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12529 return Py_BuildValue((char *)"");
12531 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxWindow
*arg1
= (wxWindow
*) 0 ;
12534 wxString
*arg2
= 0 ;
12535 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12537 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12538 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12539 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12540 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12541 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12542 wxTextEntryDialog
*result
;
12543 bool temp2
= False
;
12544 bool temp3
= False
;
12545 bool temp4
= False
;
12547 PyObject
* obj0
= 0 ;
12548 PyObject
* obj1
= 0 ;
12549 PyObject
* obj2
= 0 ;
12550 PyObject
* obj3
= 0 ;
12551 PyObject
* obj4
= 0 ;
12552 PyObject
* obj5
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12561 arg2
= wxString_in_helper(obj1
);
12562 if (arg2
== NULL
) SWIG_fail
;
12567 arg3
= wxString_in_helper(obj2
);
12568 if (arg3
== NULL
) SWIG_fail
;
12574 arg4
= wxString_in_helper(obj3
);
12575 if (arg4
== NULL
) SWIG_fail
;
12580 arg5
= (long) SWIG_AsLong(obj4
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12586 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12627 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= (arg1
)->GetValue();
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12659 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12662 wxString
*arg2
= 0 ;
12663 bool temp2
= False
;
12664 PyObject
* obj0
= 0 ;
12665 PyObject
* obj1
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self",(char *) "value", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12674 arg2
= wxString_in_helper(obj1
);
12675 if (arg2
== NULL
) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 (arg1
)->SetValue((wxString
const &)*arg2
);
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 Py_INCREF(Py_None
); resultobj
= Py_None
;
12700 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12703 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12705 return Py_BuildValue((char *)"");
12707 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxFontData
*result
;
12710 char *kwnames
[] = {
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 result
= (wxFontData
*)new wxFontData();
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12729 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxFontData
*arg1
= (wxFontData
*) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 Py_INCREF(Py_None
); resultobj
= Py_None
;
12754 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxFontData
*arg1
= (wxFontData
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self",(char *) "enable", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 arg2
= (bool) SWIG_AsBool(obj1
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 (arg1
)->EnableEffects(arg2
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 Py_INCREF(Py_None
); resultobj
= Py_None
;
12783 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxFontData
*arg1
= (wxFontData
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 result
= (bool)(arg1
)->GetAllowSymbols();
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12811 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxFontData
*arg1
= (wxFontData
*) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (arg1
)->GetColour();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12831 wxColour
* resultptr
;
12832 resultptr
= new wxColour((wxColour
&) result
);
12833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12841 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxFontData
*arg1
= (wxFontData
*) 0 ;
12845 PyObject
* obj0
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self", NULL
12850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= (arg1
)->GetChosenFont();
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12861 wxFont
* resultptr
;
12862 resultptr
= new wxFont((wxFont
&) result
);
12863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12871 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxFontData
*arg1
= (wxFontData
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= (bool)(arg1
)->GetEnableEffects();
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12899 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxFontData
*arg1
= (wxFontData
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (arg1
)->GetInitialFont();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12919 wxFont
* resultptr
;
12920 resultptr
= new wxFont((wxFont
&) result
);
12921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12929 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxFontData
*arg1
= (wxFontData
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (bool)(arg1
)->GetShowHelp();
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12957 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxFontData
*arg1
= (wxFontData
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 PyObject
* obj1
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self",(char *) "allowSymbols", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12970 arg2
= (bool) SWIG_AsBool(obj1
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 (arg1
)->SetAllowSymbols(arg2
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 Py_INCREF(Py_None
); resultobj
= Py_None
;
12986 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxFontData
*arg1
= (wxFontData
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self",(char *) "font", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13002 if (arg2
== NULL
) {
13003 PyErr_SetString(PyExc_TypeError
,"null reference");
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 Py_INCREF(Py_None
); resultobj
= Py_None
;
13020 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxFontData
*arg1
= (wxFontData
*) 0 ;
13023 wxColour
*arg2
= 0 ;
13025 PyObject
* obj0
= 0 ;
13026 PyObject
* obj1
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self",(char *) "colour", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13036 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->SetColour((wxColour
const &)*arg2
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxFontData
*arg1
= (wxFontData
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "font", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13068 if (arg2
== NULL
) {
13069 PyErr_SetString(PyExc_TypeError
,"null reference");
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxFontData
*arg1
= (wxFontData
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 PyObject
* obj2
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self",(char *) "min",(char *) "max", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13101 arg2
= (int) SWIG_AsInt(obj1
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13103 arg3
= (int) SWIG_AsInt(obj2
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 (arg1
)->SetRange(arg2
,arg3
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13112 Py_INCREF(Py_None
); resultobj
= Py_None
;
13119 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxFontData
*arg1
= (wxFontData
*) 0 ;
13123 PyObject
* obj0
= 0 ;
13124 PyObject
* obj1
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "self",(char *) "showHelp", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13132 arg2
= (bool) SWIG_AsBool(obj1
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 (arg1
)->SetShowHelp(arg2
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 Py_INCREF(Py_None
); resultobj
= Py_None
;
13148 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13151 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13153 return Py_BuildValue((char *)"");
13155 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxWindow
*arg1
= (wxWindow
*) 0 ;
13158 wxFontData
*arg2
= 0 ;
13159 wxFontDialog
*result
;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "parent",(char *) "data", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13172 if (arg2
== NULL
) {
13173 PyErr_SetString(PyExc_TypeError
,"null reference");
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13190 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
;
13192 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13193 wxFontData
*result
;
13194 PyObject
* obj0
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13206 result
= (wxFontData
*) &_result_ref
;
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13219 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13222 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13224 return Py_BuildValue((char *)"");
13226 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxWindow
*arg1
= (wxWindow
*) 0 ;
13229 wxString
*arg2
= 0 ;
13230 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13231 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13232 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13233 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13234 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13235 wxMessageDialog
*result
;
13236 bool temp2
= False
;
13237 bool temp3
= False
;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 PyObject
* obj2
= 0 ;
13242 PyObject
* obj3
= 0 ;
13243 PyObject
* obj4
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 arg2
= wxString_in_helper(obj1
);
13253 if (arg2
== NULL
) SWIG_fail
;
13258 arg3
= wxString_in_helper(obj2
);
13259 if (arg3
== NULL
) SWIG_fail
;
13264 arg4
= (long) SWIG_AsLong(obj3
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13270 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13303 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13306 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13308 return Py_BuildValue((char *)"");
13310 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxString
*arg1
= 0 ;
13313 wxString
*arg2
= 0 ;
13314 int arg3
= (int) 100 ;
13315 wxWindow
*arg4
= (wxWindow
*) NULL
;
13316 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13317 wxProgressDialog
*result
;
13318 bool temp1
= False
;
13319 bool temp2
= False
;
13320 PyObject
* obj0
= 0 ;
13321 PyObject
* obj1
= 0 ;
13322 PyObject
* obj2
= 0 ;
13323 PyObject
* obj3
= 0 ;
13324 PyObject
* obj4
= 0 ;
13325 char *kwnames
[] = {
13326 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13331 arg1
= wxString_in_helper(obj0
);
13332 if (arg1
== NULL
) SWIG_fail
;
13336 arg2
= wxString_in_helper(obj1
);
13337 if (arg2
== NULL
) SWIG_fail
;
13341 arg3
= (int) SWIG_AsInt(obj2
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13345 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13349 arg5
= (int) SWIG_AsInt(obj4
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13382 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13386 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13387 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13389 bool temp3
= False
;
13390 PyObject
* obj0
= 0 ;
13391 PyObject
* obj1
= 0 ;
13392 PyObject
* obj2
= 0 ;
13393 char *kwnames
[] = {
13394 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13400 arg2
= (int) SWIG_AsInt(obj1
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13404 arg3
= wxString_in_helper(obj2
);
13405 if (arg3
== NULL
) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13433 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13436 PyObject
* obj0
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 Py_INCREF(Py_None
); resultobj
= Py_None
;
13458 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13461 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13463 return Py_BuildValue((char *)"");
13465 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
;
13467 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13468 int arg2
= (int) 0 ;
13469 wxFindDialogEvent
*result
;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "commandType",(char *) "id", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13478 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13482 arg2
= (int) SWIG_AsInt(obj1
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13499 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
;
13501 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13503 PyObject
* obj0
= 0 ;
13504 char *kwnames
[] = {
13505 (char *) "self", NULL
13508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (int)(arg1
)->GetFlags();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= SWIG_FromInt((int)result
);
13525 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 wxString
const &_result_ref
= (arg1
)->GetFindString();
13541 result
= (wxString
*) &_result_ref
;
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13551 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13560 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13564 PyObject
* obj0
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13576 result
= (wxString
*) &_result_ref
;
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13586 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13595 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
;
13597 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13598 wxFindReplaceDialog
*result
;
13599 PyObject
* obj0
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13621 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self",(char *) "flags", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13634 arg2
= (int) SWIG_AsInt(obj1
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 (arg1
)->SetFlags(arg2
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 Py_INCREF(Py_None
); resultobj
= Py_None
;
13650 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13653 wxString
*arg2
= 0 ;
13654 bool temp2
= False
;
13655 PyObject
* obj0
= 0 ;
13656 PyObject
* obj1
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self",(char *) "str", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 arg2
= wxString_in_helper(obj1
);
13666 if (arg2
== NULL
) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 (arg1
)->SetFindString((wxString
const &)*arg2
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 Py_INCREF(Py_None
); resultobj
= Py_None
;
13691 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13694 wxString
*arg2
= 0 ;
13695 bool temp2
= False
;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self",(char *) "str", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13706 arg2
= wxString_in_helper(obj1
);
13707 if (arg2
== NULL
) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 Py_INCREF(Py_None
); resultobj
= Py_None
;
13732 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13735 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13737 return Py_BuildValue((char *)"");
13739 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 int arg1
= (int) 0 ;
13742 wxFindReplaceData
*result
;
13743 PyObject
* obj0
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "flags", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13750 arg1
= (int) SWIG_AsInt(obj0
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13767 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13770 PyObject
* obj0
= 0 ;
13771 char *kwnames
[] = {
13772 (char *) "self", NULL
13775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 Py_INCREF(Py_None
); resultobj
= Py_None
;
13792 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
;
13794 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13796 PyObject
* obj0
= 0 ;
13797 char *kwnames
[] = {
13798 (char *) "self", NULL
13801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 wxString
const &_result_ref
= (arg1
)->GetFindString();
13808 result
= (wxString
*) &_result_ref
;
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13818 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13827 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13828 PyObject
*resultobj
;
13829 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13831 PyObject
* obj0
= 0 ;
13832 char *kwnames
[] = {
13833 (char *) "self", NULL
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13843 result
= (wxString
*) &_result_ref
;
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13853 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13862 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
;
13864 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13866 PyObject
* obj0
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "self", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 result
= (int)(arg1
)->GetFlags();
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_FromInt((int)result
);
13888 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13892 PyObject
* obj0
= 0 ;
13893 PyObject
* obj1
= 0 ;
13894 char *kwnames
[] = {
13895 (char *) "self",(char *) "flags", NULL
13898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13901 arg2
= (int) SWIG_AsInt(obj1
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 (arg1
)->SetFlags(arg2
);
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 Py_INCREF(Py_None
); resultobj
= Py_None
;
13917 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
;
13919 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13920 wxString
*arg2
= 0 ;
13921 bool temp2
= False
;
13922 PyObject
* obj0
= 0 ;
13923 PyObject
* obj1
= 0 ;
13924 char *kwnames
[] = {
13925 (char *) "self",(char *) "str", NULL
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13932 arg2
= wxString_in_helper(obj1
);
13933 if (arg2
== NULL
) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 (arg1
)->SetFindString((wxString
const &)*arg2
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 Py_INCREF(Py_None
); resultobj
= Py_None
;
13958 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13961 wxString
*arg2
= 0 ;
13962 bool temp2
= False
;
13963 PyObject
* obj0
= 0 ;
13964 PyObject
* obj1
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self",(char *) "str", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13973 arg2
= wxString_in_helper(obj1
);
13974 if (arg2
== NULL
) SWIG_fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13984 Py_INCREF(Py_None
); resultobj
= Py_None
;
13999 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14002 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14004 return Py_BuildValue((char *)"");
14006 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxWindow
*arg1
= (wxWindow
*) 0 ;
14009 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14010 wxString
*arg3
= 0 ;
14011 int arg4
= (int) 0 ;
14012 wxFindReplaceDialog
*result
;
14013 bool temp3
= False
;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 PyObject
* obj2
= 0 ;
14017 PyObject
* obj3
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14028 arg3
= wxString_in_helper(obj2
);
14029 if (arg3
== NULL
) SWIG_fail
;
14033 arg4
= (int) SWIG_AsInt(obj3
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14058 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
;
14060 wxFindReplaceDialog
*result
;
14061 char *kwnames
[] = {
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14080 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14083 wxWindow
*arg2
= (wxWindow
*) 0 ;
14084 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14085 wxString
*arg4
= 0 ;
14086 int arg5
= (int) 0 ;
14088 bool temp4
= False
;
14089 PyObject
* obj0
= 0 ;
14090 PyObject
* obj1
= 0 ;
14091 PyObject
* obj2
= 0 ;
14092 PyObject
* obj3
= 0 ;
14093 PyObject
* obj4
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14103 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14106 arg4
= wxString_in_helper(obj3
);
14107 if (arg4
== NULL
) SWIG_fail
;
14111 arg5
= (int) SWIG_AsInt(obj4
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14138 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14141 wxFindReplaceData
*result
;
14142 PyObject
* obj0
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14164 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14165 PyObject
*resultobj
;
14166 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14167 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14168 PyObject
* obj0
= 0 ;
14169 PyObject
* obj1
= 0 ;
14170 char *kwnames
[] = {
14171 (char *) "self",(char *) "data", NULL
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 (arg1
)->SetData(arg2
);
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 Py_INCREF(Py_None
); resultobj
= Py_None
;
14193 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14196 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14198 return Py_BuildValue((char *)"");
14200 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxWindow
*arg1
= (wxWindow
*) 0 ;
14204 wxString
*arg3
= 0 ;
14205 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14206 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14207 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14208 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14209 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14210 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14211 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14212 wxMDIParentFrame
*result
;
14213 bool temp3
= False
;
14216 bool temp7
= False
;
14217 PyObject
* obj0
= 0 ;
14218 PyObject
* obj1
= 0 ;
14219 PyObject
* obj2
= 0 ;
14220 PyObject
* obj3
= 0 ;
14221 PyObject
* obj4
= 0 ;
14222 PyObject
* obj5
= 0 ;
14223 PyObject
* obj6
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 arg2
= (int const) SWIG_AsInt(obj1
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 arg3
= wxString_in_helper(obj2
);
14235 if (arg3
== NULL
) SWIG_fail
;
14241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14251 arg6
= (long) SWIG_AsLong(obj5
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14256 arg7
= wxString_in_helper(obj6
);
14257 if (arg7
== NULL
) SWIG_fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14291 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxMDIParentFrame
*result
;
14294 char *kwnames
[] = {
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14313 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
;
14315 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14316 wxWindow
*arg2
= (wxWindow
*) 0 ;
14318 wxString
*arg4
= 0 ;
14319 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14320 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14321 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14322 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14323 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14324 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14325 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14327 bool temp4
= False
;
14330 bool temp8
= False
;
14331 PyObject
* obj0
= 0 ;
14332 PyObject
* obj1
= 0 ;
14333 PyObject
* obj2
= 0 ;
14334 PyObject
* obj3
= 0 ;
14335 PyObject
* obj4
= 0 ;
14336 PyObject
* obj5
= 0 ;
14337 PyObject
* obj6
= 0 ;
14338 PyObject
* obj7
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14348 arg3
= (int const) SWIG_AsInt(obj2
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 arg4
= wxString_in_helper(obj3
);
14352 if (arg4
== NULL
) SWIG_fail
;
14358 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14364 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14368 arg7
= (long) SWIG_AsLong(obj6
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14373 arg8
= wxString_in_helper(obj7
);
14374 if (arg8
== NULL
) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14410 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14411 PyObject
*resultobj
;
14412 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14413 PyObject
* obj0
= 0 ;
14414 char *kwnames
[] = {
14415 (char *) "self", NULL
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14423 (arg1
)->ActivateNext();
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 Py_INCREF(Py_None
); resultobj
= Py_None
;
14435 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 char *kwnames
[] = {
14440 (char *) "self", NULL
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 (arg1
)->ActivatePrevious();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 Py_INCREF(Py_None
); resultobj
= Py_None
;
14460 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
;
14462 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 (arg1
)->ArrangeIcons();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 Py_INCREF(Py_None
); resultobj
= Py_None
;
14485 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
;
14487 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14488 PyObject
* obj0
= 0 ;
14489 char *kwnames
[] = {
14490 (char *) "self", NULL
14493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 Py_INCREF(Py_None
); resultobj
= Py_None
;
14510 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14513 wxMDIChildFrame
*result
;
14514 PyObject
* obj0
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= wxPyMake_wxObject(result
);
14538 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
;
14540 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14541 wxMDIClientWindow
*result
;
14542 PyObject
* obj0
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= wxPyMake_wxObject(result
);
14566 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14570 PyObject
* obj0
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (wxWindow
*)(arg1
)->GetToolBar();
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= wxPyMake_wxObject(result
);
14594 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14597 PyObject
* obj0
= 0 ;
14598 char *kwnames
[] = {
14599 (char *) "self", NULL
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 Py_INCREF(Py_None
); resultobj
= Py_None
;
14619 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14622 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14624 return Py_BuildValue((char *)"");
14626 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14630 wxString
*arg3
= 0 ;
14631 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14632 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14633 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14634 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14635 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14636 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14637 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14638 wxMDIChildFrame
*result
;
14639 bool temp3
= False
;
14642 bool temp7
= False
;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 PyObject
* obj2
= 0 ;
14646 PyObject
* obj3
= 0 ;
14647 PyObject
* obj4
= 0 ;
14648 PyObject
* obj5
= 0 ;
14649 PyObject
* obj6
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14657 arg2
= (int const) SWIG_AsInt(obj1
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14660 arg3
= wxString_in_helper(obj2
);
14661 if (arg3
== NULL
) SWIG_fail
;
14667 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14673 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14677 arg6
= (long) SWIG_AsLong(obj5
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14682 arg7
= wxString_in_helper(obj6
);
14683 if (arg7
== NULL
) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= wxPyMake_wxObject(result
);
14719 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxMDIChildFrame
*result
;
14722 char *kwnames
[] = {
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= wxPyMake_wxObject(result
);
14743 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14746 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14748 wxString
*arg4
= 0 ;
14749 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14750 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14751 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14752 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14753 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14754 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14755 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14757 bool temp4
= False
;
14760 bool temp8
= False
;
14761 PyObject
* obj0
= 0 ;
14762 PyObject
* obj1
= 0 ;
14763 PyObject
* obj2
= 0 ;
14764 PyObject
* obj3
= 0 ;
14765 PyObject
* obj4
= 0 ;
14766 PyObject
* obj5
= 0 ;
14767 PyObject
* obj6
= 0 ;
14768 PyObject
* obj7
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14778 arg3
= (int const) SWIG_AsInt(obj2
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 arg4
= wxString_in_helper(obj3
);
14782 if (arg4
== NULL
) SWIG_fail
;
14788 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14794 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14798 arg7
= (long) SWIG_AsLong(obj6
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14803 arg8
= wxString_in_helper(obj7
);
14804 if (arg8
== NULL
) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14840 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 (arg1
)->Activate();
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 Py_INCREF(Py_None
); resultobj
= Py_None
;
14865 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "self",(char *) "maximize", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14878 arg2
= (bool) SWIG_AsBool(obj1
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 (arg1
)->Maximize(arg2
);
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14887 Py_INCREF(Py_None
); resultobj
= Py_None
;
14894 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 char *kwnames
[] = {
14899 (char *) "self", NULL
14902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 Py_INCREF(Py_None
); resultobj
= Py_None
;
14919 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14922 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14924 return Py_BuildValue((char *)"");
14926 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14929 long arg2
= (long) 0 ;
14930 wxMDIClientWindow
*result
;
14931 PyObject
* obj0
= 0 ;
14932 PyObject
* obj1
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "parent",(char *) "style", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14941 arg2
= (long) SWIG_AsLong(obj1
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= wxPyMake_wxObject(result
);
14960 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxMDIClientWindow
*result
;
14963 char *kwnames
[] = {
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= wxPyMake_wxObject(result
);
14984 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14987 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14988 long arg3
= (long) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 PyObject
* obj1
= 0 ;
14992 PyObject
* obj2
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self",(char *) "parent",(char *) "style", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15003 arg3
= (long) SWIG_AsLong(obj2
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15022 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15025 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15027 return Py_BuildValue((char *)"");
15029 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxWindow
*arg1
= (wxWindow
*) 0 ;
15033 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15034 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15035 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15036 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15037 long arg5
= (long) 0 ;
15038 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15039 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15040 wxPyWindow
*result
;
15043 bool temp6
= False
;
15044 PyObject
* obj0
= 0 ;
15045 PyObject
* obj1
= 0 ;
15046 PyObject
* obj2
= 0 ;
15047 PyObject
* obj3
= 0 ;
15048 PyObject
* obj4
= 0 ;
15049 PyObject
* obj5
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15057 arg2
= (int const) SWIG_AsInt(obj1
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15062 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15068 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15072 arg5
= (long) SWIG_AsLong(obj4
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15077 arg6
= wxString_in_helper(obj5
);
15078 if (arg6
== NULL
) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15104 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxPyWindow
*result
;
15107 char *kwnames
[] = {
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (wxPyWindow
*)new wxPyWindow();
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15126 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
;
15128 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15129 PyObject
*arg2
= (PyObject
*) 0 ;
15130 PyObject
*arg3
= (PyObject
*) 0 ;
15131 PyObject
* obj0
= 0 ;
15132 PyObject
* obj1
= 0 ;
15133 PyObject
* obj2
= 0 ;
15134 char *kwnames
[] = {
15135 (char *) "self",(char *) "self",(char *) "_class", NULL
15138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 Py_INCREF(Py_None
); resultobj
= Py_None
;
15157 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
;
15159 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15164 PyObject
* obj0
= 0 ;
15165 PyObject
* obj1
= 0 ;
15166 PyObject
* obj2
= 0 ;
15167 PyObject
* obj3
= 0 ;
15168 PyObject
* obj4
= 0 ;
15169 char *kwnames
[] = {
15170 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15176 arg2
= (int) SWIG_AsInt(obj1
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15178 arg3
= (int) SWIG_AsInt(obj2
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15180 arg4
= (int) SWIG_AsInt(obj3
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15182 arg5
= (int) SWIG_AsInt(obj4
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 Py_INCREF(Py_None
); resultobj
= Py_None
;
15198 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15205 int arg6
= (int) wxSIZE_AUTO
;
15206 PyObject
* obj0
= 0 ;
15207 PyObject
* obj1
= 0 ;
15208 PyObject
* obj2
= 0 ;
15209 PyObject
* obj3
= 0 ;
15210 PyObject
* obj4
= 0 ;
15211 PyObject
* obj5
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15219 arg2
= (int) SWIG_AsInt(obj1
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15221 arg3
= (int) SWIG_AsInt(obj2
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15223 arg4
= (int) SWIG_AsInt(obj3
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15225 arg5
= (int) SWIG_AsInt(obj4
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 arg6
= (int) SWIG_AsInt(obj5
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 Py_INCREF(Py_None
); resultobj
= Py_None
;
15245 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15250 PyObject
* obj0
= 0 ;
15251 PyObject
* obj1
= 0 ;
15252 PyObject
* obj2
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self",(char *) "width",(char *) "height", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15260 arg2
= (int) SWIG_AsInt(obj1
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15262 arg3
= (int) SWIG_AsInt(obj2
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 Py_INCREF(Py_None
); resultobj
= Py_None
;
15278 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 PyObject
* obj1
= 0 ;
15285 PyObject
* obj2
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self",(char *) "x",(char *) "y", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15293 arg2
= (int) SWIG_AsInt(obj1
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15295 arg3
= (int) SWIG_AsInt(obj2
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 Py_INCREF(Py_None
); resultobj
= Py_None
;
15311 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
;
15313 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15314 int *arg2
= (int *) 0 ;
15315 int *arg3
= (int *) 0 ;
15318 PyObject
* obj0
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 Py_INCREF(Py_None
); resultobj
= Py_None
;
15337 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15338 resultobj
= t_output_helper(resultobj
,o
);
15341 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15342 resultobj
= t_output_helper(resultobj
,o
);
15350 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15353 int *arg2
= (int *) 0 ;
15354 int *arg3
= (int *) 0 ;
15357 PyObject
* obj0
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 Py_INCREF(Py_None
); resultobj
= Py_None
;
15376 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15377 resultobj
= t_output_helper(resultobj
,o
);
15380 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15381 resultobj
= t_output_helper(resultobj
,o
);
15389 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
;
15391 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15392 int *arg2
= (int *) 0 ;
15393 int *arg3
= (int *) 0 ;
15396 PyObject
* obj0
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self", NULL
15403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 Py_INCREF(Py_None
); resultobj
= Py_None
;
15415 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15416 resultobj
= t_output_helper(resultobj
,o
);
15419 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15420 resultobj
= t_output_helper(resultobj
,o
);
15428 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",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 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15448 wxSize
* resultptr
;
15449 resultptr
= new wxSize((wxSize
&) result
);
15450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15458 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15462 PyObject
* obj0
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15478 wxSize
* resultptr
;
15479 resultptr
= new wxSize((wxSize
&) result
);
15480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15488 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 (arg1
)->base_InitDialog();
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15506 Py_INCREF(Py_None
); resultobj
= Py_None
;
15513 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
;
15515 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (bool)(arg1
)->base_TransferDataToWindow();
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15541 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15569 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
;
15571 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15573 PyObject
* obj0
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (bool)(arg1
)->base_Validate();
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15597 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15625 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self", NULL
15634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15653 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15657 PyObject
* obj0
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "self", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15673 wxSize
* resultptr
;
15674 resultptr
= new wxSize((wxSize
&) result
);
15675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15683 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15685 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15686 wxWindow
*arg2
= (wxWindow
*) 0 ;
15687 PyObject
* obj0
= 0 ;
15688 PyObject
* obj1
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self",(char *) "child", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 (arg1
)->base_AddChild(arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 Py_INCREF(Py_None
); resultobj
= Py_None
;
15712 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15715 wxWindow
*arg2
= (wxWindow
*) 0 ;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 char *kwnames
[] = {
15719 (char *) "self",(char *) "child", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 (arg1
)->base_RemoveChild(arg2
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 Py_INCREF(Py_None
); resultobj
= Py_None
;
15741 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
;
15743 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15745 PyObject
* obj0
= 0 ;
15746 char *kwnames
[] = {
15747 (char *) "self", NULL
15750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 result
= (bool)(arg1
)->base_ShouldInheritColours();
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15769 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15772 wxColour
*arg2
= 0 ;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "self",(char *) "c", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15785 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 Py_INCREF(Py_None
); resultobj
= Py_None
;
15801 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15804 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15806 return Py_BuildValue((char *)"");
15808 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxWindow
*arg1
= (wxWindow
*) 0 ;
15812 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15813 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15814 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15815 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15816 long arg5
= (long) 0 ;
15817 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15818 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15822 bool temp6
= False
;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 PyObject
* obj2
= 0 ;
15826 PyObject
* obj3
= 0 ;
15827 PyObject
* obj4
= 0 ;
15828 PyObject
* obj5
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15836 arg2
= (int const) SWIG_AsInt(obj1
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15841 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15847 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15851 arg5
= (long) SWIG_AsLong(obj4
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15856 arg6
= wxString_in_helper(obj5
);
15857 if (arg6
== NULL
) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15883 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15886 char *kwnames
[] = {
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= (wxPyPanel
*)new wxPyPanel();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15905 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15908 PyObject
*arg2
= (PyObject
*) 0 ;
15909 PyObject
*arg3
= (PyObject
*) 0 ;
15910 PyObject
* obj0
= 0 ;
15911 PyObject
* obj1
= 0 ;
15912 PyObject
* obj2
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self",(char *) "self",(char *) "_class", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 PyObject
* obj1
= 0 ;
15945 PyObject
* obj2
= 0 ;
15946 PyObject
* obj3
= 0 ;
15947 PyObject
* obj4
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15955 arg2
= (int) SWIG_AsInt(obj1
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15957 arg3
= (int) SWIG_AsInt(obj2
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15959 arg4
= (int) SWIG_AsInt(obj3
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15961 arg5
= (int) SWIG_AsInt(obj4
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 Py_INCREF(Py_None
); resultobj
= Py_None
;
15977 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15984 int arg6
= (int) wxSIZE_AUTO
;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 PyObject
* obj2
= 0 ;
15988 PyObject
* obj3
= 0 ;
15989 PyObject
* obj4
= 0 ;
15990 PyObject
* obj5
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15998 arg2
= (int) SWIG_AsInt(obj1
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16000 arg3
= (int) SWIG_AsInt(obj2
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16002 arg4
= (int) SWIG_AsInt(obj3
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16004 arg5
= (int) SWIG_AsInt(obj4
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 arg6
= (int) SWIG_AsInt(obj5
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16017 Py_INCREF(Py_None
); resultobj
= Py_None
;
16024 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
;
16026 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16029 PyObject
* obj0
= 0 ;
16030 PyObject
* obj1
= 0 ;
16031 PyObject
* obj2
= 0 ;
16032 char *kwnames
[] = {
16033 (char *) "self",(char *) "width",(char *) "height", NULL
16036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16039 arg2
= (int) SWIG_AsInt(obj1
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16041 arg3
= (int) SWIG_AsInt(obj2
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16050 Py_INCREF(Py_None
); resultobj
= Py_None
;
16057 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16058 PyObject
*resultobj
;
16059 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16062 PyObject
* obj0
= 0 ;
16063 PyObject
* obj1
= 0 ;
16064 PyObject
* obj2
= 0 ;
16065 char *kwnames
[] = {
16066 (char *) "self",(char *) "x",(char *) "y", NULL
16069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16072 arg2
= (int) SWIG_AsInt(obj1
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16074 arg3
= (int) SWIG_AsInt(obj2
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 Py_INCREF(Py_None
); resultobj
= Py_None
;
16090 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16093 int *arg2
= (int *) 0 ;
16094 int *arg3
= (int *) 0 ;
16097 PyObject
* obj0
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 Py_INCREF(Py_None
); resultobj
= Py_None
;
16116 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16117 resultobj
= t_output_helper(resultobj
,o
);
16120 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16121 resultobj
= t_output_helper(resultobj
,o
);
16129 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16132 int *arg2
= (int *) 0 ;
16133 int *arg3
= (int *) 0 ;
16136 PyObject
* obj0
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "self", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 Py_INCREF(Py_None
); resultobj
= Py_None
;
16155 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16156 resultobj
= t_output_helper(resultobj
,o
);
16159 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16160 resultobj
= t_output_helper(resultobj
,o
);
16168 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16171 int *arg2
= (int *) 0 ;
16172 int *arg3
= (int *) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 Py_INCREF(Py_None
); resultobj
= Py_None
;
16194 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16195 resultobj
= t_output_helper(resultobj
,o
);
16198 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16199 resultobj
= t_output_helper(resultobj
,o
);
16207 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",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 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16227 wxSize
* resultptr
;
16228 resultptr
= new wxSize((wxSize
&) result
);
16229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16237 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16241 PyObject
* obj0
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16257 wxSize
* resultptr
;
16258 resultptr
= new wxSize((wxSize
&) result
);
16259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16267 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16270 PyObject
* obj0
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "self", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 (arg1
)->base_InitDialog();
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 Py_INCREF(Py_None
); resultobj
= Py_None
;
16292 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
;
16294 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16296 PyObject
* obj0
= 0 ;
16297 char *kwnames
[] = {
16298 (char *) "self", NULL
16301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16306 result
= (bool)(arg1
)->base_TransferDataToWindow();
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16320 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16324 PyObject
* obj0
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16348 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16352 PyObject
* obj0
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "self", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 result
= (bool)(arg1
)->base_Validate();
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16376 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16380 PyObject
* obj0
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "self", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16404 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16432 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16436 PyObject
* obj0
= 0 ;
16437 char *kwnames
[] = {
16438 (char *) "self", NULL
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16452 wxSize
* resultptr
;
16453 resultptr
= new wxSize((wxSize
&) result
);
16454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16462 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16465 wxWindow
*arg2
= (wxWindow
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "child", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 (arg1
)->base_AddChild(arg2
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16484 Py_INCREF(Py_None
); resultobj
= Py_None
;
16491 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16494 wxWindow
*arg2
= (wxWindow
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self",(char *) "child", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 (arg1
)->base_RemoveChild(arg2
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 Py_INCREF(Py_None
); resultobj
= Py_None
;
16520 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (bool)(arg1
)->base_ShouldInheritColours();
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16551 wxColour
*arg2
= 0 ;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "self",(char *) "c", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16564 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 Py_INCREF(Py_None
); resultobj
= Py_None
;
16580 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16583 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16585 return Py_BuildValue((char *)"");
16587 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxWindow
*arg1
= (wxWindow
*) 0 ;
16591 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16592 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16595 long arg5
= (long) 0 ;
16596 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16597 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16598 wxPyScrolledWindow
*result
;
16601 bool temp6
= False
;
16602 PyObject
* obj0
= 0 ;
16603 PyObject
* obj1
= 0 ;
16604 PyObject
* obj2
= 0 ;
16605 PyObject
* obj3
= 0 ;
16606 PyObject
* obj4
= 0 ;
16607 PyObject
* obj5
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16615 arg2
= (int const) SWIG_AsInt(obj1
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16620 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16626 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16630 arg5
= (long) SWIG_AsLong(obj4
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16635 arg6
= wxString_in_helper(obj5
);
16636 if (arg6
== NULL
) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16662 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxPyScrolledWindow
*result
;
16665 char *kwnames
[] = {
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16684 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16686 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16687 PyObject
*arg2
= (PyObject
*) 0 ;
16688 PyObject
*arg3
= (PyObject
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 PyObject
* obj2
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "self",(char *) "self",(char *) "_class", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 Py_INCREF(Py_None
); resultobj
= Py_None
;
16715 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16722 PyObject
* obj0
= 0 ;
16723 PyObject
* obj1
= 0 ;
16724 PyObject
* obj2
= 0 ;
16725 PyObject
* obj3
= 0 ;
16726 PyObject
* obj4
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16734 arg2
= (int) SWIG_AsInt(obj1
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16736 arg3
= (int) SWIG_AsInt(obj2
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16738 arg4
= (int) SWIG_AsInt(obj3
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16740 arg5
= (int) SWIG_AsInt(obj4
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 Py_INCREF(Py_None
); resultobj
= Py_None
;
16756 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16763 int arg6
= (int) wxSIZE_AUTO
;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 PyObject
* obj2
= 0 ;
16767 PyObject
* obj3
= 0 ;
16768 PyObject
* obj4
= 0 ;
16769 PyObject
* obj5
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16777 arg2
= (int) SWIG_AsInt(obj1
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16779 arg3
= (int) SWIG_AsInt(obj2
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16781 arg4
= (int) SWIG_AsInt(obj3
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16783 arg5
= (int) SWIG_AsInt(obj4
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 arg6
= (int) SWIG_AsInt(obj5
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 Py_INCREF(Py_None
); resultobj
= Py_None
;
16803 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 PyObject
* obj2
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self",(char *) "width",(char *) "height", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16818 arg2
= (int) SWIG_AsInt(obj1
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16820 arg3
= (int) SWIG_AsInt(obj2
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 Py_INCREF(Py_None
); resultobj
= Py_None
;
16836 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 PyObject
* obj2
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self",(char *) "x",(char *) "y", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16851 arg2
= (int) SWIG_AsInt(obj1
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16853 arg3
= (int) SWIG_AsInt(obj2
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 Py_INCREF(Py_None
); resultobj
= Py_None
;
16869 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16872 int *arg2
= (int *) 0 ;
16873 int *arg3
= (int *) 0 ;
16876 PyObject
* obj0
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self", NULL
16883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 Py_INCREF(Py_None
); resultobj
= Py_None
;
16895 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16896 resultobj
= t_output_helper(resultobj
,o
);
16899 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16900 resultobj
= t_output_helper(resultobj
,o
);
16908 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16911 int *arg2
= (int *) 0 ;
16912 int *arg3
= (int *) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 Py_INCREF(Py_None
); resultobj
= Py_None
;
16934 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16935 resultobj
= t_output_helper(resultobj
,o
);
16938 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16939 resultobj
= t_output_helper(resultobj
,o
);
16947 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
;
16949 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16950 int *arg2
= (int *) 0 ;
16951 int *arg3
= (int *) 0 ;
16954 PyObject
* obj0
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 Py_INCREF(Py_None
); resultobj
= Py_None
;
16973 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16974 resultobj
= t_output_helper(resultobj
,o
);
16977 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16978 resultobj
= t_output_helper(resultobj
,o
);
16986 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",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 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 wxSize
* resultptr
;
17007 resultptr
= new wxSize((wxSize
&) result
);
17008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17016 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17017 PyObject
*resultobj
;
17018 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17020 PyObject
* obj0
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "self", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 wxSize
* resultptr
;
17037 resultptr
= new wxSize((wxSize
&) result
);
17038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17046 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17049 PyObject
* obj0
= 0 ;
17050 char *kwnames
[] = {
17051 (char *) "self", NULL
17054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 (arg1
)->base_InitDialog();
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 Py_INCREF(Py_None
); resultobj
= Py_None
;
17071 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17075 PyObject
* obj0
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (bool)(arg1
)->base_TransferDataToWindow();
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17099 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17103 PyObject
* obj0
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "self", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17113 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17115 wxPyEndAllowThreads(__tstate
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17127 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17131 PyObject
* obj0
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "self", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (bool)(arg1
)->base_Validate();
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17155 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17159 PyObject
* obj0
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17183 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17187 PyObject
* obj0
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17211 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17215 PyObject
* obj0
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17231 wxSize
* resultptr
;
17232 resultptr
= new wxSize((wxSize
&) result
);
17233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17241 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17243 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17244 wxWindow
*arg2
= (wxWindow
*) 0 ;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self",(char *) "child", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 (arg1
)->base_AddChild(arg2
);
17260 wxPyEndAllowThreads(__tstate
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17263 Py_INCREF(Py_None
); resultobj
= Py_None
;
17270 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17273 wxWindow
*arg2
= (wxWindow
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 PyObject
* obj1
= 0 ;
17276 char *kwnames
[] = {
17277 (char *) "self",(char *) "child", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 (arg1
)->base_RemoveChild(arg2
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17292 Py_INCREF(Py_None
); resultobj
= Py_None
;
17299 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
;
17301 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17303 PyObject
* obj0
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "self", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= (bool)(arg1
)->base_ShouldInheritColours();
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17327 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
;
17329 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17330 wxColour
*arg2
= 0 ;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "c", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 Py_INCREF(Py_None
); resultobj
= Py_None
;
17359 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17362 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17364 return Py_BuildValue((char *)"");
17366 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17367 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17372 static PyObject
*_wrap_PrintoutTitleStr_get() {
17377 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17379 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17386 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17387 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17392 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17397 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17399 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17406 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxPrintData
*result
;
17409 char *kwnames
[] = {
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 result
= (wxPrintData
*)new wxPrintData();
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17428 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17431 PyObject
* obj0
= 0 ;
17432 char *kwnames
[] = {
17433 (char *) "self", NULL
17436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17446 Py_INCREF(Py_None
); resultobj
= Py_None
;
17453 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17457 PyObject
* obj0
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (int)(arg1
)->GetNoCopies();
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= SWIG_FromInt((int)result
);
17479 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (bool)(arg1
)->GetCollate();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17507 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17511 PyObject
* obj0
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "self", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= (int)(arg1
)->GetOrientation();
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 resultobj
= SWIG_FromInt((int)result
);
17533 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 result
= (bool)(arg1
)->Ok();
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17561 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17565 PyObject
* obj0
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17577 result
= (wxString
*) &_result_ref
;
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17587 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17596 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (bool)(arg1
)->GetColour();
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17624 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17628 PyObject
* obj0
= 0 ;
17629 char *kwnames
[] = {
17630 (char *) "self", NULL
17633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 result
= (int)(arg1
)->GetDuplex();
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 resultobj
= SWIG_FromInt((int)result
);
17650 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17654 PyObject
* obj0
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 result
= (int)(arg1
)->GetPaperId();
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 resultobj
= SWIG_FromInt((int)result
);
17676 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17680 PyObject
* obj0
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17692 result
= (wxSize
*) &_result_ref
;
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17705 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (int)(arg1
)->GetQuality();
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= SWIG_FromInt((int)result
);
17731 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self",(char *) "v", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 arg2
= (int) SWIG_AsInt(obj1
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 (arg1
)->SetNoCopies(arg2
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 Py_INCREF(Py_None
); resultobj
= Py_None
;
17760 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 PyObject
* obj1
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self",(char *) "flag", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17773 arg2
= (bool) SWIG_AsBool(obj1
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 (arg1
)->SetCollate(arg2
);
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 Py_INCREF(Py_None
); resultobj
= Py_None
;
17789 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 PyObject
* obj1
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self",(char *) "orient", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17802 arg2
= (int) SWIG_AsInt(obj1
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 (arg1
)->SetOrientation(arg2
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 Py_INCREF(Py_None
); resultobj
= Py_None
;
17818 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17821 wxString
*arg2
= 0 ;
17822 bool temp2
= False
;
17823 PyObject
* obj0
= 0 ;
17824 PyObject
* obj1
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self",(char *) "name", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 arg2
= wxString_in_helper(obj1
);
17834 if (arg2
== NULL
) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17844 Py_INCREF(Py_None
); resultobj
= Py_None
;
17859 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17861 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17863 PyObject
* obj0
= 0 ;
17864 PyObject
* obj1
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self",(char *) "colour", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17872 arg2
= (bool) SWIG_AsBool(obj1
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 (arg1
)->SetColour(arg2
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 Py_INCREF(Py_None
); resultobj
= Py_None
;
17888 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self",(char *) "duplex", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 Py_INCREF(Py_None
); resultobj
= Py_None
;
17917 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
;
17919 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self",(char *) "sizeId", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17930 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 Py_INCREF(Py_None
); resultobj
= Py_None
;
17946 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self",(char *) "sz", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17962 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 Py_INCREF(Py_None
); resultobj
= Py_None
;
17978 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self",(char *) "quality", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
17989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17991 arg2
= (int) SWIG_AsInt(obj1
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 (arg1
)->SetQuality(arg2
);
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 Py_INCREF(Py_None
); resultobj
= Py_None
;
18007 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18023 result
= (wxString
*) &_result_ref
;
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18033 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18042 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18043 PyObject
*resultobj
;
18044 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18046 PyObject
* obj0
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18058 result
= (wxString
*) &_result_ref
;
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18077 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18081 PyObject
* obj0
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18092 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18093 result
= (wxString
*) &_result_ref
;
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18103 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18112 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18127 wxString
const &_result_ref
= (arg1
)->GetFilename();
18128 result
= (wxString
*) &_result_ref
;
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18138 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18147 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18163 result
= (wxString
*) &_result_ref
;
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18171 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18173 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18182 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (double)(arg1
)->GetPrinterScaleX();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= SWIG_FromDouble((double)result
);
18208 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18212 PyObject
* obj0
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "self", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 result
= (double)(arg1
)->GetPrinterScaleY();
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 resultobj
= SWIG_FromDouble((double)result
);
18234 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
;
18236 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18238 PyObject
* obj0
= 0 ;
18239 char *kwnames
[] = {
18240 (char *) "self", NULL
18243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (long)(arg1
)->GetPrinterTranslateX();
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 resultobj
= SWIG_FromLong((long)result
);
18260 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= (long)(arg1
)->GetPrinterTranslateY();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= SWIG_FromLong((long)result
);
18286 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 result
= (int)(arg1
)->GetPrintMode();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_FromInt((int)result
);
18312 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18315 wxString
*arg2
= 0 ;
18316 bool temp2
= False
;
18317 PyObject
* obj0
= 0 ;
18318 PyObject
* obj1
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self",(char *) "command", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18327 arg2
= wxString_in_helper(obj1
);
18328 if (arg2
== NULL
) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 Py_INCREF(Py_None
); resultobj
= Py_None
;
18353 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18356 wxString
*arg2
= 0 ;
18357 bool temp2
= False
;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "options", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18368 arg2
= wxString_in_helper(obj1
);
18369 if (arg2
== NULL
) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 Py_INCREF(Py_None
); resultobj
= Py_None
;
18394 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18397 wxString
*arg2
= 0 ;
18398 bool temp2
= False
;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 char *kwnames
[] = {
18402 (char *) "self",(char *) "command", NULL
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18409 arg2
= wxString_in_helper(obj1
);
18410 if (arg2
== NULL
) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 Py_INCREF(Py_None
); resultobj
= Py_None
;
18435 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18437 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18438 wxString
*arg2
= 0 ;
18439 bool temp2
= False
;
18440 PyObject
* obj0
= 0 ;
18441 PyObject
* obj1
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self",(char *) "filename", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18450 arg2
= wxString_in_helper(obj1
);
18451 if (arg2
== NULL
) SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 (arg1
)->SetFilename((wxString
const &)*arg2
);
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 Py_INCREF(Py_None
); resultobj
= Py_None
;
18476 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18479 wxString
*arg2
= 0 ;
18480 bool temp2
= False
;
18481 PyObject
* obj0
= 0 ;
18482 PyObject
* obj1
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self",(char *) "path", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18491 arg2
= wxString_in_helper(obj1
);
18492 if (arg2
== NULL
) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18502 Py_INCREF(Py_None
); resultobj
= Py_None
;
18517 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self",(char *) "x", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18530 arg2
= (double) SWIG_AsDouble(obj1
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 (arg1
)->SetPrinterScaleX(arg2
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 Py_INCREF(Py_None
); resultobj
= Py_None
;
18546 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self",(char *) "y", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18559 arg2
= (double) SWIG_AsDouble(obj1
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 (arg1
)->SetPrinterScaleY(arg2
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 Py_INCREF(Py_None
); resultobj
= Py_None
;
18575 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 PyObject
* obj1
= 0 ;
18582 PyObject
* obj2
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self",(char *) "x",(char *) "y", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18590 arg2
= (double) SWIG_AsDouble(obj1
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18592 arg3
= (double) SWIG_AsDouble(obj2
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 Py_INCREF(Py_None
); resultobj
= Py_None
;
18608 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self",(char *) "x", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18621 arg2
= (long) SWIG_AsLong(obj1
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 (arg1
)->SetPrinterTranslateX(arg2
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 Py_INCREF(Py_None
); resultobj
= Py_None
;
18637 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self",(char *) "y", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18650 arg2
= (long) SWIG_AsLong(obj1
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 (arg1
)->SetPrinterTranslateY(arg2
);
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 Py_INCREF(Py_None
); resultobj
= Py_None
;
18666 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 PyObject
* obj1
= 0 ;
18673 PyObject
* obj2
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self",(char *) "x",(char *) "y", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 arg2
= (long) SWIG_AsLong(obj1
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18683 arg3
= (long) SWIG_AsLong(obj2
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 Py_INCREF(Py_None
); resultobj
= Py_None
;
18699 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self",(char *) "printMode", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 Py_INCREF(Py_None
); resultobj
= Py_None
;
18728 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18731 wxOutputStream
*result
;
18732 PyObject
* obj0
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "self", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18754 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18757 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18758 PyObject
* obj0
= 0 ;
18759 PyObject
* obj1
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self",(char *) "outputstream", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 (arg1
)->SetOutputStream(arg2
);
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18776 Py_INCREF(Py_None
); resultobj
= Py_None
;
18783 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
18785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18786 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18788 return Py_BuildValue((char *)"");
18790 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxPageSetupDialogData
*result
;
18793 char *kwnames
[] = {
18797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18812 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 Py_INCREF(Py_None
); resultobj
= Py_None
;
18837 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
;
18839 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18841 PyObject
* obj0
= 0 ;
18842 PyObject
* obj1
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "self",(char *) "flag", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18850 arg2
= (bool) SWIG_AsBool(obj1
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 (arg1
)->EnableHelp(arg2
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 Py_INCREF(Py_None
); resultobj
= Py_None
;
18866 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18870 PyObject
* obj0
= 0 ;
18871 PyObject
* obj1
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self",(char *) "flag", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18879 arg2
= (bool) SWIG_AsBool(obj1
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 (arg1
)->EnableMargins(arg2
);
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 Py_INCREF(Py_None
); resultobj
= Py_None
;
18895 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self",(char *) "flag", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18908 arg2
= (bool) SWIG_AsBool(obj1
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 (arg1
)->EnableOrientation(arg2
);
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 Py_INCREF(Py_None
); resultobj
= Py_None
;
18924 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18928 PyObject
* obj0
= 0 ;
18929 PyObject
* obj1
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self",(char *) "flag", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18937 arg2
= (bool) SWIG_AsBool(obj1
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 (arg1
)->EnablePaper(arg2
);
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 Py_INCREF(Py_None
); resultobj
= Py_None
;
18953 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18957 PyObject
* obj0
= 0 ;
18958 PyObject
* obj1
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self",(char *) "flag", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18966 arg2
= (bool) SWIG_AsBool(obj1
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 (arg1
)->EnablePrinter(arg2
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 Py_INCREF(Py_None
); resultobj
= Py_None
;
18982 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18986 PyObject
* obj0
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
18992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (bool)(arg1
)->GetDefaultMinMargins();
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19010 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= (bool)(arg1
)->GetEnableMargins();
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19038 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= (bool)(arg1
)->GetEnableOrientation();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19066 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "self", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= (bool)(arg1
)->GetEnablePaper();
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19094 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
;
19096 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19098 PyObject
* obj0
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= (bool)(arg1
)->GetEnablePrinter();
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19122 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (bool)(arg1
)->GetEnableHelp();
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19150 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19154 PyObject
* obj0
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "self", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (bool)(arg1
)->GetDefaultInfo();
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19178 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (arg1
)->GetMarginTopLeft();
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19198 wxPoint
* resultptr
;
19199 resultptr
= new wxPoint((wxPoint
&) result
);
19200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19208 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (arg1
)->GetMarginBottomRight();
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19228 wxPoint
* resultptr
;
19229 resultptr
= new wxPoint((wxPoint
&) result
);
19230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19238 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19242 PyObject
* obj0
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "self", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= (arg1
)->GetMinMarginTopLeft();
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19258 wxPoint
* resultptr
;
19259 resultptr
= new wxPoint((wxPoint
&) result
);
19260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19268 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (arg1
)->GetMinMarginBottomRight();
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19288 wxPoint
* resultptr
;
19289 resultptr
= new wxPoint((wxPoint
&) result
);
19290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19298 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 result
= (int)(arg1
)->GetPaperId();
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 resultobj
= SWIG_FromInt((int)result
);
19324 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19328 PyObject
* obj0
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= (arg1
)->GetPaperSize();
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19344 wxSize
* resultptr
;
19345 resultptr
= new wxSize((wxSize
&) result
);
19346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19354 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19357 wxPrintData
*result
;
19358 PyObject
* obj0
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19370 result
= (wxPrintData
*) &_result_ref
;
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19383 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= (bool)(arg1
)->Ok();
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19411 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19415 PyObject
* obj0
= 0 ;
19416 PyObject
* obj1
= 0 ;
19417 char *kwnames
[] = {
19418 (char *) "self",(char *) "flag", NULL
19421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19424 arg2
= (bool) SWIG_AsBool(obj1
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 (arg1
)->SetDefaultInfo(arg2
);
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19433 Py_INCREF(Py_None
); resultobj
= Py_None
;
19440 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 char *kwnames
[] = {
19447 (char *) "self",(char *) "flag", NULL
19450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19453 arg2
= (bool) SWIG_AsBool(obj1
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 (arg1
)->SetDefaultMinMargins(arg2
);
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 Py_INCREF(Py_None
); resultobj
= Py_None
;
19469 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
;
19471 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19472 wxPoint
*arg2
= 0 ;
19474 PyObject
* obj0
= 0 ;
19475 PyObject
* obj1
= 0 ;
19476 char *kwnames
[] = {
19477 (char *) "self",(char *) "pt", NULL
19480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19504 wxPoint
*arg2
= 0 ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self",(char *) "pt", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 Py_INCREF(Py_None
); resultobj
= Py_None
;
19533 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19536 wxPoint
*arg2
= 0 ;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self",(char *) "pt", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 Py_INCREF(Py_None
); resultobj
= Py_None
;
19565 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19568 wxPoint
*arg2
= 0 ;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "self",(char *) "pt", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 Py_INCREF(Py_None
); resultobj
= Py_None
;
19597 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19599 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self",(char *) "id", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19610 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 Py_INCREF(Py_None
); resultobj
= Py_None
;
19626 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self",(char *) "size", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19642 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 Py_INCREF(Py_None
); resultobj
= Py_None
;
19658 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19661 wxPrintData
*arg2
= 0 ;
19662 PyObject
* obj0
= 0 ;
19663 PyObject
* obj1
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self",(char *) "printData", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19674 if (arg2
== NULL
) {
19675 PyErr_SetString(PyExc_TypeError
,"null reference");
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 Py_INCREF(Py_None
); resultobj
= Py_None
;
19692 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19695 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19697 return Py_BuildValue((char *)"");
19699 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19701 wxWindow
*arg1
= (wxWindow
*) 0 ;
19702 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19703 wxPageSetupDialog
*result
;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "parent",(char *) "data", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19731 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
;
19733 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19734 wxPageSetupDialogData
*result
;
19735 PyObject
* obj0
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19747 result
= (wxPageSetupDialogData
*) &_result_ref
;
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19760 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
;
19762 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19764 PyObject
* obj0
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (int)(arg1
)->ShowModal();
19776 wxPyEndAllowThreads(__tstate
);
19777 if (PyErr_Occurred()) SWIG_fail
;
19779 resultobj
= SWIG_FromInt((int)result
);
19786 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19789 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19791 return Py_BuildValue((char *)"");
19793 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19794 PyObject
*resultobj
;
19795 wxPrintDialogData
*result
;
19797 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19812 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19813 PyObject
*resultobj
;
19814 wxPrintData
*arg1
= 0 ;
19815 wxPrintDialogData
*result
;
19816 PyObject
* obj0
= 0 ;
19818 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19822 if (arg1
== NULL
) {
19823 PyErr_SetString(PyExc_TypeError
,"null reference");
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19830 wxPyEndAllowThreads(__tstate
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19840 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19845 argc
= PyObject_Length(args
);
19846 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19847 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19850 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19856 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
19864 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
19868 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
19873 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19876 PyObject
* obj0
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
19882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 Py_INCREF(Py_None
); resultobj
= Py_None
;
19898 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19902 PyObject
* obj0
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= SWIG_FromInt((int)result
);
19924 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19926 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19928 PyObject
* obj0
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19943 resultobj
= SWIG_FromInt((int)result
);
19950 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
;
19952 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19954 PyObject
* obj0
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= SWIG_FromInt((int)result
);
19976 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 char *kwnames
[] = {
19982 (char *) "self", NULL
19985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19995 resultobj
= SWIG_FromInt((int)result
);
20002 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
;
20004 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_FromInt((int)result
);
20028 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20032 PyObject
* obj0
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "self", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20056 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20060 PyObject
* obj0
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20084 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20085 PyObject
*resultobj
;
20086 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20088 PyObject
* obj0
= 0 ;
20089 char *kwnames
[] = {
20090 (char *) "self", NULL
20093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20112 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20116 PyObject
* obj0
= 0 ;
20117 char *kwnames
[] = {
20118 (char *) "self", NULL
20121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20140 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20168 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
;
20170 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20172 PyObject
* obj0
= 0 ;
20173 PyObject
* obj1
= 0 ;
20174 char *kwnames
[] = {
20175 (char *) "self",(char *) "v", NULL
20178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20181 arg2
= (int) SWIG_AsInt(obj1
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 (arg1
)->SetFromPage(arg2
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 Py_INCREF(Py_None
); resultobj
= Py_None
;
20197 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self",(char *) "v", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 arg2
= (int) SWIG_AsInt(obj1
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 (arg1
)->SetToPage(arg2
);
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 Py_INCREF(Py_None
); resultobj
= Py_None
;
20226 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20228 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20230 PyObject
* obj0
= 0 ;
20231 PyObject
* obj1
= 0 ;
20232 char *kwnames
[] = {
20233 (char *) "self",(char *) "v", NULL
20236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20239 arg2
= (int) SWIG_AsInt(obj1
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 (arg1
)->SetMinPage(arg2
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 Py_INCREF(Py_None
); resultobj
= Py_None
;
20255 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
;
20257 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20259 PyObject
* obj0
= 0 ;
20260 PyObject
* obj1
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "self",(char *) "v", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20268 arg2
= (int) SWIG_AsInt(obj1
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 (arg1
)->SetMaxPage(arg2
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 Py_INCREF(Py_None
); resultobj
= Py_None
;
20284 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 PyObject
* obj1
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self",(char *) "v", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20297 arg2
= (int) SWIG_AsInt(obj1
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 (arg1
)->SetNoCopies(arg2
);
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 Py_INCREF(Py_None
); resultobj
= Py_None
;
20313 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
;
20315 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20317 PyObject
* obj0
= 0 ;
20318 PyObject
* obj1
= 0 ;
20319 char *kwnames
[] = {
20320 (char *) "self",(char *) "flag", NULL
20323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20326 arg2
= (bool) SWIG_AsBool(obj1
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 (arg1
)->SetAllPages(arg2
);
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 Py_INCREF(Py_None
); resultobj
= Py_None
;
20342 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self",(char *) "flag", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20355 arg2
= (bool) SWIG_AsBool(obj1
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 (arg1
)->SetSelection(arg2
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 Py_INCREF(Py_None
); resultobj
= Py_None
;
20371 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
;
20373 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20375 PyObject
* obj0
= 0 ;
20376 PyObject
* obj1
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "self",(char *) "flag", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20384 arg2
= (bool) SWIG_AsBool(obj1
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 (arg1
)->SetCollate(arg2
);
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 Py_INCREF(Py_None
); resultobj
= Py_None
;
20400 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20404 PyObject
* obj0
= 0 ;
20405 PyObject
* obj1
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self",(char *) "flag", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20413 arg2
= (bool) SWIG_AsBool(obj1
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 (arg1
)->SetPrintToFile(arg2
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 Py_INCREF(Py_None
); resultobj
= Py_None
;
20429 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20431 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self",(char *) "flag", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20442 arg2
= (bool) SWIG_AsBool(obj1
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 (arg1
)->SetSetupDialog(arg2
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 Py_INCREF(Py_None
); resultobj
= Py_None
;
20458 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "flag", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 arg2
= (bool) SWIG_AsBool(obj1
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 (arg1
)->EnablePrintToFile(arg2
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 Py_INCREF(Py_None
); resultobj
= Py_None
;
20487 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20491 PyObject
* obj0
= 0 ;
20492 PyObject
* obj1
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self",(char *) "flag", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20500 arg2
= (bool) SWIG_AsBool(obj1
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 (arg1
)->EnableSelection(arg2
);
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 Py_INCREF(Py_None
); resultobj
= Py_None
;
20516 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20520 PyObject
* obj0
= 0 ;
20521 PyObject
* obj1
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self",(char *) "flag", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20529 arg2
= (bool) SWIG_AsBool(obj1
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 (arg1
)->EnablePageNumbers(arg2
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 Py_INCREF(Py_None
); resultobj
= Py_None
;
20545 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20549 PyObject
* obj0
= 0 ;
20550 PyObject
* obj1
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self",(char *) "flag", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20558 arg2
= (bool) SWIG_AsBool(obj1
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 (arg1
)->EnableHelp(arg2
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 Py_INCREF(Py_None
); resultobj
= Py_None
;
20574 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20602 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20606 PyObject
* obj0
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20630 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20634 PyObject
* obj0
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20646 wxPyEndAllowThreads(__tstate
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20658 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
;
20660 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20662 PyObject
* obj0
= 0 ;
20663 char *kwnames
[] = {
20664 (char *) "self", NULL
20667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20686 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
;
20688 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20690 PyObject
* obj0
= 0 ;
20691 char *kwnames
[] = {
20692 (char *) "self", NULL
20695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20700 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20714 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
;
20716 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20717 wxPrintData
*result
;
20718 PyObject
* obj0
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20730 result
= (wxPrintData
*) &_result_ref
;
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20743 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20746 wxPrintData
*arg2
= 0 ;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self",(char *) "printData", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20759 if (arg2
== NULL
) {
20760 PyErr_SetString(PyExc_TypeError
,"null reference");
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 Py_INCREF(Py_None
); resultobj
= Py_None
;
20777 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20780 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20782 return Py_BuildValue((char *)"");
20784 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxWindow
*arg1
= (wxWindow
*) 0 ;
20787 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20788 wxPrintDialog
*result
;
20789 PyObject
* obj0
= 0 ;
20790 PyObject
* obj1
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "parent",(char *) "data", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20816 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20819 wxPrintDialogData
*result
;
20820 PyObject
* obj0
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20831 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20832 result
= (wxPrintDialogData
*) &_result_ref
;
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20845 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
;
20847 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20849 PyObject
* obj0
= 0 ;
20850 char *kwnames
[] = {
20851 (char *) "self", NULL
20854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= (wxDC
*)(arg1
)->GetPrintDC();
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= wxPyMake_wxObject(result
);
20873 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
;
20875 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20877 PyObject
* obj0
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (int)(arg1
)->ShowModal();
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_FromInt((int)result
);
20899 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20902 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
20904 return Py_BuildValue((char *)"");
20906 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
;
20908 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20910 PyObject
* obj0
= 0 ;
20911 char *kwnames
[] = {
20912 (char *) "data", NULL
20915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= (wxPrinter
*)new wxPrinter(arg1
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20934 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
;
20936 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20937 PyObject
* obj0
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 Py_INCREF(Py_None
); resultobj
= Py_None
;
20959 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
;
20961 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20962 wxWindow
*arg2
= (wxWindow
*) 0 ;
20963 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 PyObject
* obj2
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self",(char *) "parent",(char *) "printout", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20976 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 (arg1
)->CreateAbortWindow(arg2
,arg3
);
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 Py_INCREF(Py_None
); resultobj
= Py_None
;
20992 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20994 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20995 wxPrintDialogData
*result
;
20996 PyObject
* obj0
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "self", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21007 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21008 result
= (wxPrintDialogData
*) &_result_ref
;
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21021 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
;
21023 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21024 wxWindow
*arg2
= (wxWindow
*) 0 ;
21025 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21026 int arg4
= (int) True
;
21028 PyObject
* obj0
= 0 ;
21029 PyObject
* obj1
= 0 ;
21030 PyObject
* obj2
= 0 ;
21031 PyObject
* obj3
= 0 ;
21032 char *kwnames
[] = {
21033 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21041 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21044 arg4
= (int) SWIG_AsInt(obj3
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21063 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21066 wxWindow
*arg2
= (wxWindow
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 PyObject
* obj1
= 0 ;
21070 char *kwnames
[] = {
21071 (char *) "self",(char *) "parent", NULL
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= wxPyMake_wxObject(result
);
21095 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21096 PyObject
*resultobj
;
21097 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21098 wxWindow
*arg2
= (wxWindow
*) 0 ;
21099 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21100 wxString
*arg4
= 0 ;
21101 bool temp4
= False
;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 PyObject
* obj2
= 0 ;
21105 PyObject
* obj3
= 0 ;
21106 char *kwnames
[] = {
21107 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21115 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21118 arg4
= wxString_in_helper(obj3
);
21119 if (arg4
== NULL
) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 Py_INCREF(Py_None
); resultobj
= Py_None
;
21144 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
;
21146 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21147 wxWindow
*arg2
= (wxWindow
*) 0 ;
21149 PyObject
* obj0
= 0 ;
21150 PyObject
* obj1
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "parent", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (bool)(arg1
)->Setup(arg2
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21176 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21180 PyObject
* obj0
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= (bool)(arg1
)->GetAbort();
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21204 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21207 char *kwnames
[] = {
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (int)wxPrinter::GetLastError();
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= SWIG_FromInt((int)result
);
21226 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21229 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21231 return Py_BuildValue((char *)"");
21233 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
;
21235 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21236 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21237 wxPyPrintout
*result
;
21238 bool temp1
= False
;
21239 PyObject
* obj0
= 0 ;
21240 char *kwnames
[] = {
21241 (char *) "title", NULL
21244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21247 arg1
= wxString_in_helper(obj0
);
21248 if (arg1
== NULL
) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21260 resultobj
= wxPyMake_wxObject(result
);
21276 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
;
21278 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21279 PyObject
*arg2
= (PyObject
*) 0 ;
21280 PyObject
*arg3
= (PyObject
*) 0 ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 PyObject
* obj2
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self",(char *) "self",(char *) "_class", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 Py_INCREF(Py_None
); resultobj
= Py_None
;
21307 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21311 PyObject
* obj0
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21339 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (wxDC
*)(arg1
)->GetDC();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= wxPyMake_wxObject(result
);
21367 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21370 wxDC
*arg2
= (wxDC
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 PyObject
* obj1
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self",(char *) "dc", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 (arg1
)->SetDC(arg2
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 Py_INCREF(Py_None
); resultobj
= Py_None
;
21396 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
;
21398 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21403 PyObject
* obj2
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "w",(char *) "h", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21411 arg2
= (int) SWIG_AsInt(obj1
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21413 arg3
= (int) SWIG_AsInt(obj2
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 Py_INCREF(Py_None
); resultobj
= Py_None
;
21429 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21432 int *arg2
= (int *) 0 ;
21433 int *arg3
= (int *) 0 ;
21436 PyObject
* obj0
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "self", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 Py_INCREF(Py_None
); resultobj
= Py_None
;
21455 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21456 resultobj
= t_output_helper(resultobj
,o
);
21459 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21460 resultobj
= t_output_helper(resultobj
,o
);
21468 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 PyObject
* obj2
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "self",(char *) "w",(char *) "h", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21483 arg2
= (int) SWIG_AsInt(obj1
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21485 arg3
= (int) SWIG_AsInt(obj2
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 Py_INCREF(Py_None
); resultobj
= Py_None
;
21501 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21504 int *arg2
= (int *) 0 ;
21505 int *arg3
= (int *) 0 ;
21508 PyObject
* obj0
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self", NULL
21515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 Py_INCREF(Py_None
); resultobj
= Py_None
;
21527 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21528 resultobj
= t_output_helper(resultobj
,o
);
21531 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21532 resultobj
= t_output_helper(resultobj
,o
);
21540 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21545 PyObject
* obj0
= 0 ;
21546 PyObject
* obj1
= 0 ;
21547 PyObject
* obj2
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self",(char *) "x",(char *) "y", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21555 arg2
= (int) SWIG_AsInt(obj1
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21557 arg3
= (int) SWIG_AsInt(obj2
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 (arg1
)->SetPPIScreen(arg2
,arg3
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 Py_INCREF(Py_None
); resultobj
= Py_None
;
21573 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21576 int *arg2
= (int *) 0 ;
21577 int *arg3
= (int *) 0 ;
21580 PyObject
* obj0
= 0 ;
21581 char *kwnames
[] = {
21582 (char *) "self", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 (arg1
)->GetPPIScreen(arg2
,arg3
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 Py_INCREF(Py_None
); resultobj
= Py_None
;
21599 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21600 resultobj
= t_output_helper(resultobj
,o
);
21603 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21604 resultobj
= t_output_helper(resultobj
,o
);
21612 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 PyObject
* obj2
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "self",(char *) "x",(char *) "y", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21627 arg2
= (int) SWIG_AsInt(obj1
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21629 arg3
= (int) SWIG_AsInt(obj2
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 Py_INCREF(Py_None
); resultobj
= Py_None
;
21645 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21648 int *arg2
= (int *) 0 ;
21649 int *arg3
= (int *) 0 ;
21652 PyObject
* obj0
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 Py_INCREF(Py_None
); resultobj
= Py_None
;
21671 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21672 resultobj
= t_output_helper(resultobj
,o
);
21675 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21676 resultobj
= t_output_helper(resultobj
,o
);
21684 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21686 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 char *kwnames
[] = {
21690 (char *) "self", NULL
21693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",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 result
= (bool)(arg1
)->IsPreview();
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21712 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21716 PyObject
* obj0
= 0 ;
21717 PyObject
* obj1
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self",(char *) "p", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21725 arg2
= (bool) SWIG_AsBool(obj1
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 (arg1
)->SetIsPreview(arg2
);
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 Py_INCREF(Py_None
); resultobj
= Py_None
;
21741 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 PyObject
* obj2
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21757 arg2
= (int) SWIG_AsInt(obj1
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21759 arg3
= (int) SWIG_AsInt(obj2
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21777 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21780 PyObject
* obj0
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 (arg1
)->base_OnEndDocument();
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 Py_INCREF(Py_None
); resultobj
= Py_None
;
21802 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21805 PyObject
* obj0
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 (arg1
)->base_OnBeginPrinting();
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 Py_INCREF(Py_None
); resultobj
= Py_None
;
21827 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
;
21829 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21830 PyObject
* obj0
= 0 ;
21831 char *kwnames
[] = {
21832 (char *) "self", NULL
21835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 (arg1
)->base_OnEndPrinting();
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 Py_INCREF(Py_None
); resultobj
= Py_None
;
21852 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
;
21854 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
21861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 (arg1
)->base_OnPreparePrinting();
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 Py_INCREF(Py_None
); resultobj
= Py_None
;
21877 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "self",(char *) "page", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21891 arg2
= (int) SWIG_AsInt(obj1
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 result
= (bool)(arg1
)->base_HasPage(arg2
);
21897 wxPyEndAllowThreads(__tstate
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21909 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21912 int *arg2
= (int *) 0 ;
21913 int *arg3
= (int *) 0 ;
21914 int *arg4
= (int *) 0 ;
21915 int *arg5
= (int *) 0 ;
21920 PyObject
* obj0
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 Py_INCREF(Py_None
); resultobj
= Py_None
;
21941 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21942 resultobj
= t_output_helper(resultobj
,o
);
21945 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21946 resultobj
= t_output_helper(resultobj
,o
);
21949 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21950 resultobj
= t_output_helper(resultobj
,o
);
21953 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21954 resultobj
= t_output_helper(resultobj
,o
);
21962 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
21964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21965 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
21967 return Py_BuildValue((char *)"");
21969 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21971 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21972 wxWindow
*arg2
= (wxWindow
*) 0 ;
21973 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21974 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21975 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21976 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21977 long arg5
= (long) 0 ;
21978 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
21979 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21980 wxPreviewCanvas
*result
;
21983 bool temp6
= False
;
21984 PyObject
* obj0
= 0 ;
21985 PyObject
* obj1
= 0 ;
21986 PyObject
* obj2
= 0 ;
21987 PyObject
* obj3
= 0 ;
21988 PyObject
* obj4
= 0 ;
21989 PyObject
* obj5
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22002 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22008 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22012 arg5
= (long) SWIG_AsLong(obj4
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22017 arg6
= wxString_in_helper(obj5
);
22018 if (arg6
== NULL
) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22044 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22047 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22049 return Py_BuildValue((char *)"");
22051 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22054 wxFrame
*arg2
= (wxFrame
*) 0 ;
22055 wxString
*arg3
= 0 ;
22056 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22057 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22058 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22059 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22060 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22061 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22062 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22063 wxPreviewFrame
*result
;
22064 bool temp3
= False
;
22067 bool temp7
= False
;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 PyObject
* obj2
= 0 ;
22071 PyObject
* obj3
= 0 ;
22072 PyObject
* obj4
= 0 ;
22073 PyObject
* obj5
= 0 ;
22074 PyObject
* obj6
= 0 ;
22075 char *kwnames
[] = {
22076 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22085 arg3
= wxString_in_helper(obj2
);
22086 if (arg3
== NULL
) SWIG_fail
;
22092 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22098 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22102 arg6
= (long) SWIG_AsLong(obj5
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22107 arg7
= wxString_in_helper(obj6
);
22108 if (arg7
== NULL
) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22142 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
;
22144 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 (arg1
)->Initialize();
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 Py_INCREF(Py_None
); resultobj
= Py_None
;
22167 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22170 PyObject
* obj0
= 0 ;
22171 char *kwnames
[] = {
22172 (char *) "self", NULL
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 (arg1
)->CreateControlBar();
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 Py_INCREF(Py_None
); resultobj
= Py_None
;
22192 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
;
22194 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22195 PyObject
* obj0
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 (arg1
)->CreateCanvas();
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22210 Py_INCREF(Py_None
); resultobj
= Py_None
;
22217 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22218 PyObject
*resultobj
;
22219 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22220 wxPreviewControlBar
*result
;
22221 PyObject
* obj0
= 0 ;
22222 char *kwnames
[] = {
22223 (char *) "self", NULL
22226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22233 wxPyEndAllowThreads(__tstate
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22243 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22246 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22248 return Py_BuildValue((char *)"");
22250 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22251 PyObject
*resultobj
;
22252 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22254 wxWindow
*arg3
= (wxWindow
*) 0 ;
22255 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22256 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22257 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22258 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22259 long arg6
= (long) wxTAB_TRAVERSAL
;
22260 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22261 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22262 wxPreviewControlBar
*result
;
22265 bool temp7
= False
;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 PyObject
* obj2
= 0 ;
22269 PyObject
* obj3
= 0 ;
22270 PyObject
* obj4
= 0 ;
22271 PyObject
* obj5
= 0 ;
22272 PyObject
* obj6
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22280 arg2
= (long) SWIG_AsLong(obj1
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22282 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22293 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22297 arg6
= (long) SWIG_AsLong(obj5
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22302 arg7
= wxString_in_helper(obj6
);
22303 if (arg7
== NULL
) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22329 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22333 PyObject
* obj0
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= (int)(arg1
)->GetZoomControl();
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 resultobj
= SWIG_FromInt((int)result
);
22355 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "self",(char *) "zoom", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22368 arg2
= (int) SWIG_AsInt(obj1
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 (arg1
)->SetZoomControl(arg2
);
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 Py_INCREF(Py_None
); resultobj
= Py_None
;
22384 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
;
22386 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22387 wxPrintPreview
*result
;
22388 PyObject
* obj0
= 0 ;
22389 char *kwnames
[] = {
22390 (char *) "self", NULL
22393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22410 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
;
22412 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22413 PyObject
* obj0
= 0 ;
22414 char *kwnames
[] = {
22415 (char *) "self", NULL
22418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 Py_INCREF(Py_None
); resultobj
= Py_None
;
22435 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22438 PyObject
* obj0
= 0 ;
22439 char *kwnames
[] = {
22440 (char *) "self", NULL
22443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 (arg1
)->OnPrevious();
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 Py_INCREF(Py_None
); resultobj
= Py_None
;
22460 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22463 PyObject
* obj0
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22478 Py_INCREF(Py_None
); resultobj
= Py_None
;
22485 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
;
22487 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 Py_INCREF(Py_None
); resultobj
= Py_None
;
22510 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22513 PyObject
* obj0
= 0 ;
22514 char *kwnames
[] = {
22515 (char *) "self", NULL
22518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 Py_INCREF(Py_None
); resultobj
= Py_None
;
22535 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22538 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22540 return Py_BuildValue((char *)"");
22542 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22543 PyObject
*resultobj
;
22544 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22545 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22546 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22547 wxPrintPreview
*result
;
22548 PyObject
* obj0
= 0 ;
22549 PyObject
* obj1
= 0 ;
22550 PyObject
* obj2
= 0 ;
22552 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22558 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22575 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22576 PyObject
*resultobj
;
22577 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22578 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22579 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22580 wxPrintPreview
*result
;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 PyObject
* obj2
= 0 ;
22585 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22590 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22606 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22611 argc
= PyObject_Length(args
);
22612 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22613 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22615 if ((argc
>= 2) && (argc
<= 3)) {
22619 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22629 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22638 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22642 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22650 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22659 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22669 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22679 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22687 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22693 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22698 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
;
22700 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22703 PyObject
* obj0
= 0 ;
22704 PyObject
* obj1
= 0 ;
22705 char *kwnames
[] = {
22706 (char *) "self",(char *) "pageNum", NULL
22709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22712 arg2
= (int) SWIG_AsInt(obj1
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22730 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22731 PyObject
*resultobj
;
22732 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22734 PyObject
* obj0
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self", NULL
22739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 result
= (int)(arg1
)->GetCurrentPage();
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 resultobj
= SWIG_FromInt((int)result
);
22756 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22759 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22760 PyObject
* obj0
= 0 ;
22761 PyObject
* obj1
= 0 ;
22762 char *kwnames
[] = {
22763 (char *) "self",(char *) "printout", NULL
22766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 (arg1
)->SetPrintout(arg2
);
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 Py_INCREF(Py_None
); resultobj
= Py_None
;
22785 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
;
22787 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22788 wxPyPrintout
*result
;
22789 PyObject
* obj0
= 0 ;
22790 char *kwnames
[] = {
22791 (char *) "self", NULL
22794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= wxPyMake_wxObject(result
);
22813 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22816 wxPyPrintout
*result
;
22817 PyObject
* obj0
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= wxPyMake_wxObject(result
);
22841 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22844 wxFrame
*arg2
= (wxFrame
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self",(char *) "frame", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 (arg1
)->SetFrame(arg2
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 Py_INCREF(Py_None
); resultobj
= Py_None
;
22870 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22873 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 PyObject
* obj1
= 0 ;
22876 char *kwnames
[] = {
22877 (char *) "self",(char *) "canvas", NULL
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 (arg1
)->SetCanvas(arg2
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 Py_INCREF(Py_None
); resultobj
= Py_None
;
22899 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
;
22901 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22903 PyObject
* obj0
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 result
= (wxFrame
*)(arg1
)->GetFrame();
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22919 resultobj
= wxPyMake_wxObject(result
);
22927 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
;
22929 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22930 wxPreviewCanvas
*result
;
22931 PyObject
* obj0
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22953 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22956 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22959 PyObject
* obj0
= 0 ;
22960 PyObject
* obj1
= 0 ;
22961 PyObject
* obj2
= 0 ;
22962 char *kwnames
[] = {
22963 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22971 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22974 if (arg3
== NULL
) {
22975 PyErr_SetString(PyExc_TypeError
,"null reference");
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22994 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
;
22996 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22997 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 PyObject
* obj2
= 0 ;
23003 char *kwnames
[] = {
23004 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23012 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23015 if (arg3
== NULL
) {
23016 PyErr_SetString(PyExc_TypeError
,"null reference");
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23035 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23040 PyObject
* obj0
= 0 ;
23041 PyObject
* obj1
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self",(char *) "pageNum", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23049 arg2
= (int) SWIG_AsInt(obj1
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= (bool)(arg1
)->RenderPage(arg2
);
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23067 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23070 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23071 PyObject
* obj0
= 0 ;
23072 PyObject
* obj1
= 0 ;
23073 char *kwnames
[] = {
23074 (char *) "self",(char *) "canvas", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 (arg1
)->AdjustScrollbars(arg2
);
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 Py_INCREF(Py_None
); resultobj
= Py_None
;
23096 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23099 wxPrintDialogData
*result
;
23100 PyObject
* obj0
= 0 ;
23101 char *kwnames
[] = {
23102 (char *) "self", NULL
23105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23112 result
= (wxPrintDialogData
*) &_result_ref
;
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23125 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23126 PyObject
*resultobj
;
23127 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23129 PyObject
* obj0
= 0 ;
23130 PyObject
* obj1
= 0 ;
23131 char *kwnames
[] = {
23132 (char *) "self",(char *) "percent", NULL
23135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23138 arg2
= (int) SWIG_AsInt(obj1
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 (arg1
)->SetZoom(arg2
);
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 Py_INCREF(Py_None
); resultobj
= Py_None
;
23154 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23158 PyObject
* obj0
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= (int)(arg1
)->GetZoom();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 resultobj
= SWIG_FromInt((int)result
);
23180 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
;
23182 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23184 PyObject
* obj0
= 0 ;
23185 char *kwnames
[] = {
23186 (char *) "self", NULL
23189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= (int)(arg1
)->GetMaxPage();
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= SWIG_FromInt((int)result
);
23206 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
;
23208 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23210 PyObject
* obj0
= 0 ;
23211 char *kwnames
[] = {
23212 (char *) "self", NULL
23215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (int)(arg1
)->GetMinPage();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= SWIG_FromInt((int)result
);
23232 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23236 PyObject
* obj0
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 result
= (bool)(arg1
)->Ok();
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23260 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
;
23262 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23264 PyObject
* obj0
= 0 ;
23265 PyObject
* obj1
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self",(char *) "ok", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23273 arg2
= (bool) SWIG_AsBool(obj1
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 (arg1
)->SetOk(arg2
);
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23282 Py_INCREF(Py_None
); resultobj
= Py_None
;
23289 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
;
23291 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "self",(char *) "interactive", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23303 arg2
= (bool) SWIG_AsBool(obj1
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 result
= (bool)(arg1
)->Print(arg2
);
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23321 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23324 PyObject
* obj0
= 0 ;
23325 char *kwnames
[] = {
23326 (char *) "self", NULL
23329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 (arg1
)->DetermineScaling();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 Py_INCREF(Py_None
); resultobj
= Py_None
;
23346 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23349 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23351 return Py_BuildValue((char *)"");
23353 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23354 PyObject
*resultobj
;
23355 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23356 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23357 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23358 wxPyPrintPreview
*result
;
23359 PyObject
* obj0
= 0 ;
23360 PyObject
* obj1
= 0 ;
23361 PyObject
* obj2
= 0 ;
23363 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23369 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23386 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23387 PyObject
*resultobj
;
23388 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23389 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23390 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23391 wxPyPrintPreview
*result
;
23392 PyObject
* obj0
= 0 ;
23393 PyObject
* obj1
= 0 ;
23394 PyObject
* obj2
= 0 ;
23396 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23401 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23417 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23422 argc
= PyObject_Length(args
);
23423 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23424 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23426 if ((argc
>= 2) && (argc
<= 3)) {
23430 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23440 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23449 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23453 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23461 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23470 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23480 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23490 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23498 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23504 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23509 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23512 PyObject
*arg2
= (PyObject
*) 0 ;
23513 PyObject
*arg3
= (PyObject
*) 0 ;
23514 PyObject
* obj0
= 0 ;
23515 PyObject
* obj1
= 0 ;
23516 PyObject
* obj2
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self",(char *) "self",(char *) "_class", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 Py_INCREF(Py_None
); resultobj
= Py_None
;
23540 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 PyObject
* obj1
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self",(char *) "pageNum", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23554 arg2
= (int) SWIG_AsInt(obj1
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23572 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
;
23574 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23575 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 PyObject
* obj2
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23590 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23593 if (arg3
== NULL
) {
23594 PyErr_SetString(PyExc_TypeError
,"null reference");
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23613 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
;
23615 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23616 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23619 PyObject
* obj0
= 0 ;
23620 PyObject
* obj1
= 0 ;
23621 PyObject
* obj2
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23631 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23634 if (arg3
== NULL
) {
23635 PyErr_SetString(PyExc_TypeError
,"null reference");
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23654 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 PyObject
* obj1
= 0 ;
23661 char *kwnames
[] = {
23662 (char *) "self",(char *) "pageNum", NULL
23665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23668 arg2
= (int) SWIG_AsInt(obj1
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23686 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23688 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23690 PyObject
* obj0
= 0 ;
23691 PyObject
* obj1
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self",(char *) "percent", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23699 arg2
= (int) SWIG_AsInt(obj1
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->base_SetZoom(arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23715 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "self",(char *) "interactive", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23729 arg2
= (bool) SWIG_AsBool(obj1
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 result
= (bool)(arg1
)->base_Print(arg2
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23747 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
;
23749 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23750 PyObject
* obj0
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 (arg1
)->base_DetermineScaling();
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 Py_INCREF(Py_None
); resultobj
= Py_None
;
23772 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23775 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23777 return Py_BuildValue((char *)"");
23779 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23782 wxFrame
*arg2
= (wxFrame
*) 0 ;
23783 wxString
*arg3
= 0 ;
23784 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23785 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23786 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23787 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23788 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23789 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23790 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23791 wxPyPreviewFrame
*result
;
23792 bool temp3
= False
;
23795 bool temp7
= False
;
23796 PyObject
* obj0
= 0 ;
23797 PyObject
* obj1
= 0 ;
23798 PyObject
* obj2
= 0 ;
23799 PyObject
* obj3
= 0 ;
23800 PyObject
* obj4
= 0 ;
23801 PyObject
* obj5
= 0 ;
23802 PyObject
* obj6
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23813 arg3
= wxString_in_helper(obj2
);
23814 if (arg3
== NULL
) SWIG_fail
;
23820 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23826 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23830 arg6
= (long) SWIG_AsLong(obj5
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23835 arg7
= wxString_in_helper(obj6
);
23836 if (arg7
== NULL
) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
23870 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
;
23872 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23873 PyObject
*arg2
= (PyObject
*) 0 ;
23874 PyObject
*arg3
= (PyObject
*) 0 ;
23875 PyObject
* obj0
= 0 ;
23876 PyObject
* obj1
= 0 ;
23877 PyObject
* obj2
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self",(char *) "self",(char *) "_class", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 Py_INCREF(Py_None
); resultobj
= Py_None
;
23901 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23903 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23904 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23905 PyObject
* obj0
= 0 ;
23906 PyObject
* obj1
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self",(char *) "canvas", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 (arg1
)->SetPreviewCanvas(arg2
);
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23923 Py_INCREF(Py_None
); resultobj
= Py_None
;
23930 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23931 PyObject
*resultobj
;
23932 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23933 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "self",(char *) "bar", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 (arg1
)->SetControlBar(arg2
);
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23952 Py_INCREF(Py_None
); resultobj
= Py_None
;
23959 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
;
23961 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23962 PyObject
* obj0
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
23968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 (arg1
)->base_Initialize();
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 Py_INCREF(Py_None
); resultobj
= Py_None
;
23984 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 char *kwnames
[] = {
23989 (char *) "self", NULL
23992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 (arg1
)->base_CreateCanvas();
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24002 Py_INCREF(Py_None
); resultobj
= Py_None
;
24009 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
;
24011 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24012 PyObject
* obj0
= 0 ;
24013 char *kwnames
[] = {
24014 (char *) "self", NULL
24017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 (arg1
)->base_CreateControlBar();
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24027 Py_INCREF(Py_None
); resultobj
= Py_None
;
24034 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24037 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24039 return Py_BuildValue((char *)"");
24041 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
;
24043 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24045 wxWindow
*arg3
= (wxWindow
*) 0 ;
24046 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24047 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24048 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24049 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24050 long arg6
= (long) 0 ;
24051 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24052 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24053 wxPyPreviewControlBar
*result
;
24056 bool temp7
= False
;
24057 PyObject
* obj0
= 0 ;
24058 PyObject
* obj1
= 0 ;
24059 PyObject
* obj2
= 0 ;
24060 PyObject
* obj3
= 0 ;
24061 PyObject
* obj4
= 0 ;
24062 PyObject
* obj5
= 0 ;
24063 PyObject
* obj6
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24071 arg2
= (long) SWIG_AsLong(obj1
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24073 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24088 arg6
= (long) SWIG_AsLong(obj5
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24093 arg7
= wxString_in_helper(obj6
);
24094 if (arg7
== NULL
) SWIG_fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24120 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24123 PyObject
*arg2
= (PyObject
*) 0 ;
24124 PyObject
*arg3
= (PyObject
*) 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24127 PyObject
* obj2
= 0 ;
24128 char *kwnames
[] = {
24129 (char *) "self",(char *) "self",(char *) "_class", NULL
24132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 Py_INCREF(Py_None
); resultobj
= Py_None
;
24151 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24154 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 PyObject
* obj1
= 0 ;
24157 char *kwnames
[] = {
24158 (char *) "self",(char *) "preview", NULL
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 (arg1
)->SetPrintPreview(arg2
);
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 Py_INCREF(Py_None
); resultobj
= Py_None
;
24180 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24182 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24183 PyObject
* obj0
= 0 ;
24184 char *kwnames
[] = {
24185 (char *) "self", NULL
24188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 (arg1
)->base_CreateButtons();
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 Py_INCREF(Py_None
); resultobj
= Py_None
;
24205 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
;
24207 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24209 PyObject
* obj0
= 0 ;
24210 PyObject
* obj1
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self",(char *) "zoom", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24218 arg2
= (int) SWIG_AsInt(obj1
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 (arg1
)->base_SetZoomControl(arg2
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 Py_INCREF(Py_None
); resultobj
= Py_None
;
24234 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24237 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24239 return Py_BuildValue((char *)"");
24241 static PyMethodDef SwigMethods
[] = {
24242 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24243 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24244 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24245 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24246 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24247 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24248 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24249 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24250 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24251 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24252 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24253 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24254 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24255 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24256 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24257 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24258 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24259 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24260 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24261 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24262 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24263 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24264 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24265 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24266 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24267 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24268 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24269 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24270 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24271 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24272 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24273 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24274 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24275 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24276 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24277 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24278 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24279 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24280 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24281 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24282 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24283 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24284 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24285 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24286 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24287 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24288 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24289 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24290 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24291 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24292 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24293 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24294 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24295 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24296 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24297 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24298 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24299 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24300 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24301 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24302 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24303 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24304 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24305 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24306 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24307 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24308 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24309 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24310 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24311 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24312 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24313 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24314 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24315 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
24316 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24317 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24318 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24319 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24320 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24321 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24322 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24323 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24324 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24325 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24326 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24327 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24328 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24329 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24330 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24331 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24332 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24333 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24334 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24335 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24336 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24337 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24338 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24339 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24340 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24341 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24342 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24343 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24344 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24345 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24346 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24347 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24348 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24349 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24350 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24351 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24352 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24353 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24354 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24355 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24356 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24357 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24358 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24359 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24360 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24361 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24362 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24363 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24364 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24365 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24366 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24367 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24368 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24369 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24370 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24371 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24372 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24373 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24374 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24375 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24376 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24377 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24378 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24379 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24380 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24381 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24382 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24383 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24384 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24389 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24391 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24392 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24394 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24396 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24398 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24402 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24404 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24405 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24406 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24407 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24408 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24409 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24410 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24412 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24413 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24415 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24416 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24418 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24419 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24421 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24422 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24424 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24425 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24426 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24428 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24431 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24436 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24437 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24443 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24445 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24448 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24454 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24458 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24465 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24468 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24469 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24473 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24476 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24502 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24509 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
24516 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24517 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24519 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24528 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24531 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24538 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24556 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24560 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24565 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24569 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24585 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24588 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24590 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24594 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24603 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24612 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24618 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24630 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24637 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24641 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24665 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24689 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24713 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
24759 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
24791 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
24795 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
24796 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
24829 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
24834 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
24845 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
24868 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
24870 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
24876 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
24886 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
24887 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
24910 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
24911 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
24920 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
24928 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
24938 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24940 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24941 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24943 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24944 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24946 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24947 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24949 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24950 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24952 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24953 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24955 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24956 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24958 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24959 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24961 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24962 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24964 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
24965 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
24967 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
24968 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
24970 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
24971 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24973 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
24974 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
24976 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
24977 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24979 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
24980 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24982 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
24983 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
24985 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
24986 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24988 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
24989 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24991 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
24992 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
24994 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
24995 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
24997 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
24998 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25000 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25001 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25003 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25004 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25006 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25007 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25009 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25010 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25012 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25013 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25015 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25016 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25018 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25019 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25021 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25022 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25024 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25025 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25027 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25028 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25030 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25031 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25033 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25034 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25036 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25037 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25039 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25040 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25042 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25043 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25045 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25046 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25048 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25049 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25051 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25052 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25054 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25055 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25057 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25058 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25060 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25061 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25063 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25064 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25066 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25067 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25069 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25072 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25075 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25078 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25079 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25081 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25082 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25084 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25085 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25087 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25088 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25090 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25093 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25096 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25099 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25102 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25105 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25108 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25111 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25112 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25114 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25115 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25117 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25120 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25123 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25126 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25127 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25129 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25132 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25133 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25135 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25136 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25138 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25139 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25141 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25142 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25144 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25147 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25148 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25150 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25151 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25153 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25156 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25157 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25159 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25162 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25165 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25168 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25169 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25171 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25174 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25175 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25177 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25180 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25183 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25186 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25189 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25192 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25193 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25195 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25198 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25201 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25204 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25207 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25210 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25213 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25216 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25219 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25220 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25222 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25223 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25225 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25226 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25228 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25229 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25231 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25232 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25234 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25235 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25237 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25238 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25240 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25241 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25243 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25244 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25246 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25247 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25249 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25252 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25255 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25256 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25258 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25259 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25261 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25264 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25265 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25267 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25268 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25270 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25271 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25273 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25274 return (void *)((wxObject
*) ((wxSizer
*) x
));
25276 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25277 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25279 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25282 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25285 static void *_p_wxEventTo_p_wxObject(void *x
) {
25286 return (void *)((wxObject
*) ((wxEvent
*) x
));
25288 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25289 return (void *)((wxObject
*) ((wxFontData
*) x
));
25291 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25292 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25294 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25295 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25297 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25298 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25300 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25301 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25303 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25304 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25306 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25307 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25309 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25310 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25312 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25313 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25315 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25316 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25318 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25319 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25321 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25322 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25324 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25325 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25327 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25328 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25330 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25333 static void *_p_wxControlTo_p_wxObject(void *x
) {
25334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25336 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25337 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25339 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25340 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25342 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25343 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25345 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25346 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25348 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25349 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25351 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25354 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25355 return (void *)((wxObject
*) ((wxColourData
*) x
));
25357 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25358 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25360 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25361 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25363 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25366 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25369 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25372 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25375 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25378 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25381 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25384 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25387 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25390 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25391 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25393 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25394 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25396 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25397 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25399 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25400 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25402 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25403 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25405 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25406 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25408 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25409 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25411 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25412 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25414 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25415 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25417 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25418 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25420 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25421 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25423 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25424 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25426 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25429 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25430 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25432 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25435 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25436 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25438 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25439 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25441 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25442 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25444 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25445 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25447 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25448 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25450 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25451 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25453 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25454 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25456 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25457 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25459 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25460 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25462 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25463 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25465 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25468 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25471 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25472 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25474 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25477 static void *_p_wxImageTo_p_wxObject(void *x
) {
25478 return (void *)((wxObject
*) ((wxImage
*) x
));
25480 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25483 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25484 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25486 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25487 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25489 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25490 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25492 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25495 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25498 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25501 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25502 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25504 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25505 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25507 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25508 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25510 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25511 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25513 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25516 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25519 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25522 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25525 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25528 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25531 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25534 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25537 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25540 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25543 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25546 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25549 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25552 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25553 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25555 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25556 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25558 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25559 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25561 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25564 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25567 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25570 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25573 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25576 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25579 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25582 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25583 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25585 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25588 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25589 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25591 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25592 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25594 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25595 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25597 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25598 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25600 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25601 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25603 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25606 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25607 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25609 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25612 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25615 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25616 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25618 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25619 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25621 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25624 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25627 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25628 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25630 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25631 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25633 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25636 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25637 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25639 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25640 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25642 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25643 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25645 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
25646 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25648 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25649 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25651 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
25652 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25654 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25655 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25657 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25658 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25660 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25661 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25663 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25664 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25666 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25667 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25669 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25670 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25672 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25673 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25675 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25676 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25678 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25679 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25681 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25682 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25684 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25685 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25687 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25688 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25690 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25691 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25693 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25694 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25696 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25697 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25699 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25700 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25702 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25703 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25705 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25706 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25708 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25709 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25711 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25712 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25714 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25715 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25717 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25718 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25720 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25721 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25723 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25724 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25726 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25727 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25729 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25730 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25732 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25733 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25735 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25736 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25738 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25739 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25741 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25742 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25744 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25745 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25747 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25748 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25750 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25751 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25753 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25754 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25756 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25757 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25759 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25760 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25762 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25763 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25765 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25766 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25768 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25769 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25771 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25772 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25774 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25775 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25777 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25778 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25780 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25781 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25783 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25784 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25786 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25787 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25789 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25790 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25792 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25793 return (void *)((wxWindow
*) ((wxControl
*) x
));
25795 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25796 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25798 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25799 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25801 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25802 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25804 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25805 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25807 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25808 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25810 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25811 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25813 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25814 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25816 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25817 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25819 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25820 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25822 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25823 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25825 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25826 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25828 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25829 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25831 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25832 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25834 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25835 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25837 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25838 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25840 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25841 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25843 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25844 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25846 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25847 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25849 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25850 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25852 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
25853 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25855 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
25856 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25858 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
25859 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
25861 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
25862 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
25864 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
25865 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
25867 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
25868 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
25870 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
25871 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
25873 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
25874 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
25876 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
25877 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25879 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
25880 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25882 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
25883 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
25885 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
25886 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
25888 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
25889 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
25891 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
25892 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
25894 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
25895 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25897 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
25898 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25900 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
25901 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25903 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
25904 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25906 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
25907 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
25909 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
25910 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25912 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
25913 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
25915 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
25916 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25918 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
25919 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25921 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
25922 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
25924 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
25925 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25927 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
25928 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25930 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
25931 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25933 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
25934 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25936 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
25937 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25939 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
25940 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25942 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
25943 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25945 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25946 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25948 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25949 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25951 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25952 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25954 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}};
25955 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}};
25956 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}};
25957 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}};
25958 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}};
25959 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}};
25960 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}};
25961 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}};
25962 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}};
25963 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}};
25964 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}};
25965 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}};
25966 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}};
25967 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}};
25968 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}};
25969 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}};
25970 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}};
25971 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}};
25972 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}};
25973 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}};
25974 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}};
25975 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}};
25976 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}};
25977 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}};
25978 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}};
25979 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}};
25980 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}};
25981 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}};
25982 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}};
25983 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}};
25984 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}};
25985 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}};
25986 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}};
25987 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}};
25988 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}};
25989 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}};
25990 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}};
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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}};
25998 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}};
25999 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}};
26000 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}};
26001 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}};
26002 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}};
26003 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}};
26004 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}};
26005 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}};
26006 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}};
26007 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}};
26008 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}};
26009 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}};
26010 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}};
26011 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}};
26012 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}};
26013 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}};
26014 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}};
26015 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}};
26016 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}};
26017 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}};
26018 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}};
26019 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}};
26020 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}};
26021 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}};
26022 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}};
26023 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}};
26024 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}};
26025 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}};
26026 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}};
26027 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}};
26028 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}};
26029 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}};
26030 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}};
26031 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}};
26032 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}};
26033 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}};
26034 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}};
26035 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}};
26036 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}};
26037 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}};
26038 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}};
26040 static swig_type_info
*swig_types_initial
[] = {
26041 _swigt__p_wxQueryLayoutInfoEvent
,
26042 _swigt__p_wxPreviewFrame
,
26043 _swigt__p_wxPyPreviewFrame
,
26044 _swigt__p_wxPyPanel
,
26046 _swigt__p_wxPrintData
,
26047 _swigt__p_wxFontData
,
26049 _swigt__p_wxTaskBarIcon
,
26050 _swigt__p_wxIconBundle
,
26051 _swigt__p_wxLayoutAlgorithm
,
26052 _swigt__p_wxFindDialogEvent
,
26053 _swigt__p_wxPreviewCanvas
,
26055 _swigt__p_wxSplitterEvent
,
26056 _swigt__p_wxRegion
,
26057 _swigt__p_wxFindReplaceData
,
26062 _swigt__p_wxMDIChildFrame
,
26063 _swigt__p_wxColourData
,
26064 _swigt__p_wxNotifyEvent
,
26065 _swigt__p_wxPyWindow
,
26066 _swigt__p_wxSplashScreen
,
26067 _swigt__p_wxFindReplaceDialog
,
26068 _swigt__p_wxProgressDialog
,
26069 _swigt__p_wxMessageDialog
,
26070 _swigt__p_wxTextEntryDialog
,
26071 _swigt__p_wxSingleChoiceDialog
,
26072 _swigt__p_wxMultiChoiceDialog
,
26073 _swigt__p_wxFileDialog
,
26074 _swigt__p_wxPrinter
,
26075 _swigt__p_wxArrayInt
,
26076 _swigt__p_wxEvtHandler
,
26077 _swigt__p_wxCalculateLayoutEvent
,
26078 _swigt__p_wxPyHtmlListBox
,
26079 _swigt__p_wxPyVListBox
,
26082 _swigt__p_wxMiniFrame
,
26084 _swigt__p_wxPyPrintout
,
26085 _swigt__p_wxTaskBarIconEvent
,
26086 _swigt__p_wxScrollWinEvent
,
26087 _swigt__p_wxStatusBar
,
26088 _swigt__p_wxMDIParentFrame
,
26090 _swigt__p_wxObject
,
26091 _swigt__p_wxOutputStream
,
26092 _swigt__p_unsigned_long
,
26093 _swigt__p_wxPyScrolledWindow
,
26094 _swigt__p_wxMDIClientWindow
,
26095 _swigt__p_wxTipWindow
,
26096 _swigt__p_wxSashLayoutWindow
,
26097 _swigt__p_wxSplitterWindow
,
26098 _swigt__p_wxPyVScrolledWindow
,
26099 _swigt__p_wxPyPopupTransientWindow
,
26100 _swigt__p_wxPopupWindow
,
26101 _swigt__p_wxSashWindow
,
26102 _swigt__p_wxTopLevelWindow
,
26103 _swigt__p_wxWindow
,
26104 _swigt__p_wxScrolledWindow
,
26105 _swigt__p_wxSplashScreenWindow
,
26106 _swigt__p_wxMenuBar
,
26107 _swigt__p_wxPrintPreview
,
26108 _swigt__p_wxSashEvent
,
26109 _swigt__p_wxString
,
26110 _swigt__p_wxPyPrintPreview
,
26111 _swigt__p_wxFontDialog
,
26112 _swigt__p_wxDirDialog
,
26113 _swigt__p_wxColourDialog
,
26114 _swigt__p_wxDialog
,
26116 _swigt__p_wxPageSetupDialog
,
26117 _swigt__p_wxPrintDialog
,
26118 _swigt__p_wxBitmap
,
26119 _swigt__p_wxCommandEvent
,
26120 _swigt__p_wxPreviewControlBar
,
26121 _swigt__p_wxPyPreviewControlBar
,
26122 _swigt__p_wxColour
,
26123 _swigt__p_wxToolBar
,
26124 _swigt__p_wxPageSetupDialogData
,
26125 _swigt__p_wxPrintDialogData
,
26130 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26132 static swig_const_info swig_const_table
[] = {
26142 SWIGEXPORT(void) SWIG_init(void) {
26143 static PyObject
*SWIG_globals
= 0;
26144 static int typeinit
= 0;
26147 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26148 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26149 d
= PyModule_GetDict(m
);
26152 for (i
= 0; swig_types_initial
[i
]; i
++) {
26153 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26157 SWIG_InstallConstants(d
,swig_const_table
);
26159 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26160 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26161 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26162 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26163 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26164 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26165 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26166 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26167 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26168 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26169 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26170 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26171 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26172 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26173 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26174 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26175 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26176 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26177 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26178 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26179 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26180 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26181 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26182 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26183 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26184 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26185 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26186 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26187 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26188 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26189 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26190 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26191 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26192 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26193 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26194 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26195 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26196 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26197 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26198 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26199 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26200 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26201 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26202 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26203 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26204 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26205 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26206 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26207 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26208 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26209 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26210 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26211 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26212 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26213 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26214 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26215 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26216 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26217 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26218 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26219 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26220 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26221 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26222 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26223 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26224 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26225 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26226 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26228 // Map renamed classes back to their common name for OOR
26229 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26230 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26231 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26233 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26234 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26235 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26236 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26237 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26238 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26239 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26240 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26241 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26242 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26243 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26244 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26245 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26246 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26247 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26248 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26249 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26250 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26251 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26252 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26253 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26254 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26255 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26256 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26257 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26258 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26259 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26260 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26261 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26262 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26263 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26264 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26265 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26266 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26267 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26268 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26269 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26270 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26271 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26272 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26273 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26274 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26275 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26276 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26277 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26278 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26279 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26280 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26281 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26282 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26283 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26284 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26285 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26286 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26287 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26288 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26289 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26290 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26291 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26292 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26294 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");